HSM550 FAQ

How do I use RAD51 with HSM550 and/or the DS87C550?

Check the web site for the latest version of RAD51 and the HSM550 example projects. Start with one of the sample projects.

To create your own DS87C550 project, be sure the DS87C550 is the selected controller within RAD51. To do this, within RAD51, select the DS87C550 from the list of controllers in the Options->Project Settings->Assembler pull down menus. This selection activates a list of predefined DS87C550 SFRs and BITs. In your code, refer to the SFRs by their symbolic names such as "ADCON1", as we have done in the provided examples.

 

What's different about the DS87C550 compared to other 8051s?

Although the DS87C550 has an 8051-compatible instruction set, there are differences which prevent many generic 8051 programs from running on the C550 without changes. Interrupt vectors such as the serial I/O interrupt, are at a different location. Some SFRs have been relocated. Dallas Semiconductor has written an application note on this: App Note 02: Using the DS87C550 as an 8051 Upgrade. This app note describes the changes in detail.

 

Notes about the HSM550 examples ZIP and complete installation files

The HSM550 examples ZIP file is a small (200 KB) compressed archive of several PRJ and ASM files. You don't need this if you have the much larger HSM550 complete installation file. The ZIP file contains path information. The root directory is intended to be a shared folder with a name such as "CODE", with the project folders all subfolders, for example CODE\DAC for the HSM550 DAC project. This includes I/O drivers (as .INC include files) for the on-board HSM peripherals such as the DAC and clock and calendar.

The HSM550 complete installation file is a large (5 MB), self-installing exe file which contains everything related to HSM550: HSM550 datasheets, datasheets for the main components used (DS87C550, DAC, clock & calendar, etc) technical and quick reference, and example programs. It does not include RAD51. This is the latest version of the file we ship on CDROM with each HSM550 system. If you install over an older version, be sure to save any of the examples which you've modified.

 

DS1820 (iButton or MicroLan or Dallas One Wire) I/O Driver

The example programs include an executable version (.HEX file) of a program which accesses the DS1820 temperature sensor. The Dallas iButton device driver is relatively complex. Because of the cost of developing and supporting it, the complete driver is not included free with HSM550, but is available for purchase.