Chapter 5 Notes on Debugging
Page 5-8
5.3 Angel resources requirements introduce a number of
restrictions on application development under Angel.
Programmers developing application programs using the Angel debugging monitor should
keep the following in mind.
1. Specify the default (0x8000) as the loader address using the following linker syntax.
armlink -R0 0x8000
Do not specify the address 0x0 because the Angel debugging monitor requires addresses
0x0 to 0x3c to load the application program.
2. Do not modify the contents of the following registers with the Angel debugging monitor.
Address
Register Name
0x400004
CKCON
0x600008
IRR0[3],IRR0[4],IRR0[5]
0x600012
ILCON2
0x600300
ASBUF
0x600301
ASIST
0x600302
ASICON
0x600303
ASBCON
0x600304
ASBTMC
0x600305
ASBTMR
0x600306
ASTSCON
0x600635
PFS5[6],PFS5[7]
0x600703
PWCON
For further details on these registers, refer to the ML670100 User's Manual.
3. Chain IRQ handlers.
If the application program uses IRQ interrupts, modify it to chain its IRQ handler to the
Angel debugging monitor counterpart with a procedure similar to the following.
Define a function Install_Handler() with two arguments: location, an address for storing the
entry address for the Angel debugging monitor's handler, and address, the address for the
Содержание ML670100
Страница 16: ...Chapter 1 Read Me First Page 1 12...
Страница 79: ...Chapter 4 User Interface Page4 12...
Страница 91: ...Chapter 5 Notes on Debugging Page 5 12...
Страница 92: ...Chapter 6 Appendices...