| |||||
Technical Support Support Resources
Product Information | MON166: STARTUP CODE CHANGES DO NOT WORK WITH MCB167-NETInformation in this article applies to:
QUESTIONI'm using the MCB167-NET evaluation board to debug my application. I am using external devices and have changed the configuration of the SYSCON, BUSCONx, and ADDRSELx registers. I have changed the RP0H value using the PORT0 configuration DIP switches that are provided on the MCB167-NET board. No matter what values I change in START167.A66, the values in SYSCON and RSTCON do not change. It appears to accept only the default values. ANSWERIt sounds like you are using Monitor-166 to download and test your program. For the C16x device, the startup code in Monitor-166 will also be used by your application. This is because once the startup code in the monitor executes the EINIT instruction, it is impossible to change the configuration of SYSCON and RSTCON. Since EINIT has already executed when the monitor runs your target program, your startup code changes are ignored. You must modify the startup code used by the monitor to configure the device. The project that configures the Monitor for the MCB167-NET board is stored in the \KEIL\C166\MONITOR\KEIL MCB167 NET folder. You must modify the CONFIG.INC file so that it contains the same settings as the START167.A66 file of your application. Then, generate the modified Monitor with µVision using Project — Rebuild all Target Files. MORE INFORMATION
SEE ALSOLast Reviewed: Friday, July 27, 2007 | ||||
| |||||