Angel Resources Requirements Introduce A Number Of Restrictions On Application Development Under Angel - ARM OKI ML671000 User Manual

Cpu board
Table of Contents

Advertisement

http://www.elecfans.com 电子发烧友 http://bbs.elecfans.com 电子技术论坛
Chapter 5 Notes on Debugging
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
0x400004
0x600014
0x600020
0x600400
0x600404
0x600408
0x60040c
0x600410
0x600414
0x600418
0x600638
0x60070c
For further details on these registers, refer to the ml671000 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
Abbreviation
CKCON
IRR0[3]
ILCON0[12], ILCON0[13], ILCON0[14]
SBUF
SCIST
STCON
SRCON
STMC
STMR
STMCON
PFS2[4], PFS2[5]
PWCON
Page 5-6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Oki arm7tdmi

Table of Contents