© 2023 Torsten Manz mail_logo.gif 20x14

DM15

The credit card sized DM-15CC/DM-15 and the DM15L in original size are HP-15C clones offered by SwissMicros. They feature a miniUSB-RS232 command line interface for reading and writing data. Via this interface the HP-15C Simulator can 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 DM15.

Simulator Support

Menus

To enable the DM15 support on the Simulator, open the Preferences dialogue. On the "DM15" tab activate "DM15 Support". While the DM15 support is activated, the following additional menu entries 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 entries are hidden.

DM15 Firmwares

There are three versions of the DM15 firmware. Each of them provides a different number of registers:

Start the DM15 with EON. The firmware information is displayed as long as you hold the ON key. On the Simulator select the "Number of registers" that complies with the firmware of your DM15.

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

◀ Simulator Support ▲ Top

Serial Port

The complete description of the DM15 Serial Console and the driver installation can be found in SwissMicros' Voyager Series User Manual.

Important note: You must install firmware version 9 or higher on your DM15. Earlier versions had issues with the command line interface and will not work.

USB To Serial Driver Installation

To recognise 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 read "SERIAL CONSOLE". Connect the DM15 to your computer and determine the "Serial Interface Port" number the USB connection is mapped to: Open the Preferences dialogue on the Simulator. On the "DM15" tab select the corresponding port number from the "Serial Interface Port" pull-down menu. This is not required for the macOS Silicon Labs driver.

Verifying The Setup

To verify 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 titled "DM15 read" opens. Ensure that a least one of the options is checked and click "OK". You should get a message "Data read successfully.". If you get a different message, see the Messages section below.

System Information

The menu entry "System Info DM15" opens a new windows providing 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 option "Ask for each operation" should be switched off.

First load a program, e.g. one of the examples that comes with the Simulator, into the Simulator. Then start the DM15 into the serial interface and connect it to your computer. From the ON popup menu select "DM15 ▶ Write" or use the shortcut Ctrl. In the dialogue box titled "DM15 write" check "Program", uncheck the other options and click "OK". You should get the message "Data written successfully.".

Disconnect the DM15 from your computer and restart it or wait until the serial interfaces times out. Switch the DM15 to Program mode and press SST several times to verify 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 interface and connect it to your computer. From the ON popup menu select "DM15 ▶ Read". In the dialogue box titled "DM15 read" check "Program", uncheck the other options and click "OK". You should get the message "Data read successfully.".

Reading and Writing Other Data

In the dialogue box that opens when you select to read or write you can choose which data shall be exchanged between the DM15 and the Simulator. You can select any combination of program memory, data storage registers, matrices, stack or flags. An area not selected for exchange remains unchanged on the target device.

The settings are saved as default. If you do not want to be asked on every read or write operation, uncheck the option "Ask for each operation" under preferences.

Differing Configurations

The HP-15C Simulator and the DM15 can be configured independently. This applies to the number of available registers, the memory allocation and all states like 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 leads to the following behaviour:

◀ Usage ▲ Top

Messages

◀ Messages ▲ Top

Preferences ▶