QG8 vectors redirection

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

QG8 vectors redirection

2,557 次查看
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

标签 (1)
0 项奖励
回复
1 回复

968 次查看
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 项奖励
回复