|ARM Technical Support Knowledge Articles|
Applies to: MON51 Target Monitor
Information in this article applies to:
I'm using the monitor and uVision to download and test my program. The monitor is configured to load programs starting at address 0x4000. Is there anything special I must do to start running these programs in uVision?
Yes. First, you must create a debugger .INI file that sets the program starting address and runs to the beginning of the main C function. Then, you must change the debugger settings to use this new .INI file.
$ = 0x4000 g,main
These lines tell the debugger to set the program counter to 0x4000 (the starting address of your program) and to run until reaching the main C function.
When you start the debugger, it will load the application and then execute the initialization file (DEBUG.INI) which will set the program start address to 0x4000 and run to the main C function.
Article last edited on: 2005-07-09 09:55:23
Did you find this article helpful? Yes No
How can we improve this article?