|ARM Technical Support Knowledge Articles|
Applies to: ULINK USB-JTAG Debugger
Information in this article applies to:
I have problems debugging an application that is stored in off-chip FLASH ROM. What must I do to debug my program?
The ULINK USB-JTAG Adapter uses the BOOT0 (P2.26) and BOOT1 (P2.27) pins to determine the startup configuration. When these pins are both set to 1, the µVision Debugger starts the program in the off-chip Flash ROM.
You may manually override the settings of the BOOTx pins using the following Debugger initialization file (*.INI file) that you must specify under Project — Options — Debug — ULINK ARM Debugger — Initialization File:
_WDWORD(0xFFE00000, 0x20003CE3); // BCFG0: Flash Bus Configuration (32-bit) _WDWORD(0xE002C014, 0x0E6001E4); // PINSEL2: CS0, OE, WE, BLS0..3, D0..31, A2..23, JTAG _WDWORD(0xE01FC040, 0x00000003); // MEMMAP: Memory Mapping LOAD AppFile INCREMENTAL g, main
Note that you must disable the Load application at Startup option in the dialog Project — Options — Debug — ULINK ARM Debugger.
Article last edited on: 2007-01-28 19:15:58
Did you find this article helpful? Yes No
How can we improve this article?