© 2024 Torsten Manz mail_logo.gif 20x14

DM15

The credit card sized DM-15CC/DM-15 and the originl size DM15L are HP-15C clones offered by SwissMicros. They have a miniUSB/RS232 or, on newer models, a USB-C/RS232 command line interface for reading and writing data. This interface allows the HP-15C Simulator to exchange data with these devices.

This documentation does not distinguish between the DM-15CC, the DM-15 and the DM15L. They are collectively referred to as the DM15.

Simulator Support

Menus

To enable the DM15 support in the Simulator, open the Preferences dialogue box. On the "DM15" tab enable "DM15 Support". When the DM15 support is enabled, the following additional menu items are available:
Menu item Shortcut Description
Read DM15 Ctrl Read data from the DM15 to the Simulator.
Write DM15 Ctrl Write data from the Simulator to the DM15.
System Info DM15 CtrlI Read the system information from the DM15.
When the DM15 support is disabled, the submenu and the menu items are hidden.

DM15 Firmwares

There are three types of the DM15 firmware available. Each provides a different number of registers:

Start the DM15 by holding down E and then pressing ON. The firmware information will be displayed as long as the ON key is held down. On the Simulator set the "Number of registers" to the number provided by the firmware of your DM15.

It is recommended that the HP-15C Simulator and the DM15 have the same number of registers. If the number of registers is different, it is likely that not all data can be exchanged between the two devices. Data transfer also depends on the memory allocation. For more details on memory allocation see "Appendix C Memory Allocation" in the HP-15C LE Owner's Handbook.

◀ Simulator Support ▲ Top

Serial Port

A full description of the DM15 Serial Console and the driver installation can be found in the SwissMicros Voyager Series User Manual.

Note: You must install firmware version 9 or higher on your DM15. Earlier versions have problems with the command line interface and will not work.

USB To Serial Driver Installation

To support the DM15 interface, a "CP2102 USB to UART bridge driver" must be available on your computer.

Serial Port Configuration

Start the DM15 with CON (press and hold C, then press and release ON). The display will show "SERIAL CONSOLE". Connect the DM15 to your computer and determine the number of the "Serial Interface Port" to which the USB connection is mapped: Open the Preferences dialogue box on the Simulator. On the "DM15" tab select the port number from the "Serial Interface Port" pull-down menu. This is not necessary for the macOS Silicon Labs driver.

Verifying The Setup

To check the connection start the DM15 into the serial console and connect it to your computer. On the Simulator open the ON popup menu and select "DM15 ▶ Read" or use the shortcut Ctrl. A dialogue box entitled "DM15 read" will open. Ensure that at least one of the options is ticked and click "OK". You should see the message "Data read successfully". If you see a different message, refer to the Messages section below.

System Information

The menu item "System Info DM15" opens a new window with the following information about the DM15:

◀ Serial Port ▲ Top

Usage

The following sections assume that you have successfully set up DM15 support in the HP-15C Simulator.
The "Ask for each operation" option should be enabled.

First load a program into the Simulator, e.g. one of the examples available for download from the Simulator homepage. Connect the DM15 to your computer and start the DM15 into the serial port console. Select "DM15 ▶ Write" from the ON popup menu or use the shortcut Ctrl. The "DM15 write" dialogue box appears. Check "Program", uncheck the other options and click "OK". You should see the message "Data successfully written.".

Disconnect the DM15 from the computer and restart it or wait until the serial port console times out. Switch the DM15 to PRGM mode and press SST several times to check that the program has been successfully transferred to the DM15.

To read a program from the DM15 into the HP-15C Simulator, start the DM15 into the serial port console and connect it to your computer. Select "DM15 ▶ Read" from the ON popup menu. In the "DM15 read" dialogue box check "Program", uncheck the other options and click "OK". You should see the message "Data read successfully.".

Reading and Writing Other Data

In the dialogue box that opens when you select Read or Write, you can select what data is to be exchanged between the DM15 and the Simulator. Any combination of program memory, data storage registers, matrices, stack or flags can be selected. An area not selected for exchange will remain unchanged on the target device.

The settings are saved as defaults. If you do not want to be prompted for each and every read or write operation, uncheck the "Ask for each operation" option in the preferences.

Differing Configurations

The HP-15C Simulator and the DM15 can be configured independently. This applies to the number of registers available, the memory allocation and all states such as Complex mode, trigonometric modes etc. The memory allocation on the target device is never changed automatically, even if not all data can be transferred. This results in the following behaviour:

◀ Usage ▲ Top

Messages

◀ Messages ▲ Top

Preferences ▶