ROM

Top  Previous  Next

Sundance TIMs have a Flash ROM into which you can place areas of data. The Flash appears as a read-only area of addressable memory; you can access it only in units of 32 bits (words). The most common use of these areas is to hold a program that is loaded and executed automatically whenever the TIM is reset. It is also possible to include blocks of data for use by any running applications. Sundance’s documentation for the SMT6001 gives details of the Flash ROMs, how they may be programmed, and the format of the data they can hold.

 

Dragons003No special action is needed to allow stand-alone Diamond applications to be programmed into the ROM. Previous versions of Diamond have required special options to be selected when configuring applications for ROM; this is now no longer necessary.

 

SMT_RomBase

// there is no header file

unsigned int *SMT_RomBase(void);

 stand-alone

This function returns the address of the start of the flash ROM. It is normally used only in conjunction with the Sundance Flash ROM library.