您好,我已经在应用程序注释中实现了一个dSPIC33 e引导加载程序。引导加载程序IVT是位于主应用程序中的跳转表的一系列跳转指令。主应用程序跳转表中填充有相关ISR的地址。这是预期的。Bootloader不使用中断,但是人们如何处理不可屏蔽的中断/异常。特别是当没有应用程序存在时?作为一种预防措施,在通过调试器加载Bootloader时,用零填充跳转表区域,但在部分重新编程的情况下,这无济于事。选项?在引导加载程序中实现非掩码?谢谢斯
以上来自于百度翻译
以下为原文
Hello,
I have implemented a dsPIC33E bootloader in-line with the applica
tion notes. The bootloader IVT is a series of jump instructions to a jump table located in the main application. The main application jump table is populated with the address of the relevant ISR. This all works as expected.
The bootloader does not use interrupts, but how do people handle non-maskable interrupts/exceptions. Particularly when there is no application present?
As a precaution, I filled the jump table area with zeros when loading just the bootloader via debugger, but this doesn't help in the event of partial reprogramming.
Options? Implement non-maskables in the bootloader?
Thanks
MS