 | C251 User's Guide |  |
|
|
| Tips for the Intel RISM MonitorSome users have reported problems with the tool setup on target boards which use the Intel RISM 251 Monitor program. To help you get started using the RISM monitor, we have provided a sample application written for the RISM monitor in the directory \C251\EXAMPLES\RISM. If you still have problems after trying this example, make sure to check the following: - Since RISM uses memory locations in the on chip RAM of the 251 chip, you need to change the START251.A51 code so that it does not initialize the internal memory of the chip. Specifically, the startup code may no longer clear the EDATA memory to 0 (since this causes RISM251 to stop working). Therefore, change the setting of EDATA_LEN to 0 in START251.A51 as shown below. START251.A51 must then be included in your application or project file.
EDATALEN EQU 0H ; the length of EDATA memory in bytes.
- You must instruct the L251 linker to avoid placing program data in the memory space used by RISM. You must specify the RESERVE directive as follows:
L251 ... RESERVE (29H – 3DH)
- RISM expects your target program to begin at address 0x004000. You must instruct the linker to locate the program code at this address. Additionally, there are a few other data ranges that must be specified. For example:
L251 ... CLASSES (EDATA (0-3FFFH),
CODE ($4000H, 4000H – 0FFFFH)
HCONST (4000H – 0FFFFH))
Note - If your code still does not run, you may have located a segment with the xCONST or ECODE memory classes to a non existing memory area. Check the memory map in the linker MAP file to make sure your segments are located in the proper physical address ranges.
|
|