µVISION DEBUGGER: SIMULATING RP0H ON THE C167
Information in this article applies to:
Is there a way to simulate the inputs to RP0H that occur during reset on the C167 devices?
RP0H is a read-only register that is initialized from P0H during reset. This is what the Infineon manual has to say...
The Keil µVision Debugger starts working after reset has occurred. Therefore, there is no way you can change or alter the contents of RP0H directly. By default, the debugger starts with RP0H set to a value of 0x007F.
You may use the EBC (external bus configuration) virtual target register to set the reset configuration for the external bus. The following values are valid:
You may use the CLKCFG virtual target register to set the reset configuration for the clock. The following values are valid:
Once you set the CLKCFG or EBC, you must reset the simulated CPU before the new values are used and placed into RP0H.
You could use the following debugger script to do that:
EBC = 2 CLKCFG = 3 RESET
Note that this is just the reset configuration. The startup code (in START167.A66) performs the REAL initialization of the microcontroller.
Last Reviewed: Monday, June 28, 2004
of your data.