| |||||
Technical Support Support Resources
Product Information | MCBSTR9: RECOVER ACCESS TO FLASHInformation in this article applies to:
QUESTIONMy Keil MCBSTR9 Board used to work, but now I cannot the Flash ROM anymore. I can't communicate with the device or even read the JTAG ID from the device. How can I fix this? ANSWERThe JTAG on the STR9 device can be blocked by user code with invalid values for the register SCU_CLKCNTR (AHBDIV, RCLKDIV, MCLKSEL). When a program with invalid SCU_CLKCNTR values is in FLASH ROM, the JTAG is blocked and standard access via ULINK is not possible. To solve this problem, you must hold the device in RESET state (which prevents the incorrect code from being executed until the debugger gains control) and issue the command Flash — Erase from the µVision menu. This sequence is implemented in UL2ARM.DLL V1.20a or higher which is part of MDK-ARM Version 3.02. The unlock procedure in detail is:
MORE INFORMATION
FORUM THREADSThe following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Thursday, November 30, 2006 | ||||
| |||||