QG8 vectors redirection

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

QG8 vectors redirection

1,812 Views
yb
Contributor IV
Hi,
 
I have a problem with the vectors redirection on a QG8.
 
I can view all the memory dump trough BDM and it seems ok (bootloader code, RESET vector, app code and others vectors redirected).
The load is ok, the jump to the start of the app too, but when an IT appears, the QG8 seems to go away and doesn't execute the ISR...
 
For my test, I' ve just added to my app an infinite loop with a pin toggle. Without EnableInterrupts, the bit toggle. The loop written after the EnableInterrupts is never executed :smileysad:
 
The NVPROT is 0xFD (block protected from 0xFE00) and the bit FNORED in the NVOPT register is 0x82 (vectors redirection enables, unsecured).
 
Thanks for your help.
 
Regards,
 
PS : this is not my first bootloader, I've already written several for AB, AP, KX and even GB32 (with vectors redirection, but with a different NVPROT format register...)

Message Edited by yb on 2006-07-07 10:36 AM

Labels (1)
0 Kudos
1 Reply

223 Views
yb
Contributor IV
Sorry, it was just the FPDIS bit in the FPROT register... It must be 0 and not 1.
Pffffff, each uC is different, not very useful...
 
 
0 Kudos