Posted by GA on July 2, 2003, 11:02:02, in reply to "Re: how to run both the kernel and my appl in RAM for debugging?" As far as I am aware there is no need to use a shadow vector table when using HMON. The 'vectors.src' file included when creating an HMON project using the HEW project generator wizzard contains the vectors used by HMON. Put your vectors around them and it should be ok. GA. --Previous Message--
194.131.190.3
Hi,
: Thank you and I appreciate your help
: Dexter. However, I am not sure how
: to construct a shadow vector
: table. The HMON uses some of the
: vectors, and the rest is left to
: the users. So how would I set up
: the shadow vector table, in C
: language? what do I need to do?
: Could you give me some guidance,
: or some sample code here? I use
: the EDK2329 kit.
: Again, thank you for your help.
: Best regards,
: Vien Nguyen.
:
: Dexter wrote: : Shadow vectors. As
: you know when an
: interrupt occurs the CPU branches
: to an address stored in the vector
: table. For a monitor it is handy
: to keep the address of the vector
: the same, this way the vector
: table doesnt change. Instead each
: vector points to a shadow table in
: RAM. Then then shadow table can
: redirect the CPU to the correct
: address, it does this by adding a
: H'5A000000 to the address, this
: then makes a JMP instruction to
: the new location. Changing the
: address of the ISR only changes
: the RAM contents not flash.
: :
:
Message Thread:
![]()
« Back to thread
Evaluation Kit Support
Renesas Evaluation Boards are intended for evaluation of Renesas microprocessors only, not as development tools.