Vector address

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Vector address

1,407 Views
DavidoBG
Contributor II
My application contains a bootloader in 0xFA00 to FDFF zone protected. In 0xFE00 to 0xFFFF, i have just reset vector @ 0xFFFE:FFFF (zone protected too).
My application use an interrupt SCI rx. So i put VECTOR ADDRESS 0xF9E0  isr_rx in prm file. When i use True time Simulator and i put 0x10 for example in SCI In module, an interrupt is called but @ 0xFFE0 instead of 0xF9E0???!!!

Error: At location FFE0 -

Error: Attempt to use invalid or uninitialized memory

Error: Interrupt processing failed.

 

Do you have any idea about this issue
thanks
David
 
Labels (1)
0 Kudos
2 Replies

390 Views
DavidoBG
Contributor II
I used MC9S08QE8 (HCS08).
I try to use a vector redirection but without success.
But when i used vector redirection (0xF9C0-0xF9FD) instead of FFC0-FFFD in my C program, my SCI rx interrupt call $0xFFE0 instead of $0xF9E0.
0xFFE0:FFE1 = 0xFFFF 
0xF9E0:F9E1 = 0xE5A9 = isr_rx
 
When i debug my program with True Time Simulator, an error appears :

Error: At location FFE0 -

Error: Attempt to use invalid or uninitialized memory

Error: Interrupt processing failed.

I don't understand why?

David

 

0 Kudos

390 Views
Lundin
Senior Contributor IV
The answer entirely depends on which 8-bit micro are you using. HC08, HCS08, HC11, HC05...?


I assume HCS08. The vector table on the S08 is located from FFC0 to FFFF. There is no vector table at F9E0. FFE0 is the SPI interrupt.

Please post the .prm file and the vector table code.
0 Kudos