S12G64的bootloader设计 .... S12G64 bootloader design

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S12G64的bootloader设计 .... S12G64 bootloader design

886件の閲覧回数
tao180539
Contributor I

我正在做S12G64的bootloader功能,应用程序部分我做了中断向量表的偏移,但是编译出来的bin文件,复位中断仍然在系统默认的FFFE。这种情况下应该怎么修改一下,我的bootloader接收到这个bin文件后,我烧写到flash,接收到这个应用程序的复位中断向量我直接丢弃吗

I am working on the bootloader function of S12G64. In the application part, I offset the interrupt vector table, but in the compiled bin file, the reset interrupt is still at the default FFFE of the system. In this case, how should I modify it? After my bootloader receives this bin file, I burn it to flash, and receive the reset interrupt vector of this application, should I discard it directly?

 

复位位置.png默认中断位置.png

0 件の賞賛
返信
1 返信

860件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

Vectors or better said the reset and exception Vector Table is defined in the continuous memory space for:

1) Table 1-34. Reset Sources and Vector Locations .... not relocatable
2) Table 1-35. Interrupt Vector Locations .... relocatable by means of IVBR register

So, vectors placed at 0xFFFA_0xFFFB up to 0xFFFE_0xFFFF are always at the same place, they are the RESET vectors.

If you want to see a UART based bootloader example you can read:
https://www.nxp.com/docs/en/application-note/AN4258.pdf

together with SW files....
https://www.nxp.com/docs/en/application-note-software/AN4258SW.zip

Best regards,
Ladislav

0 件の賞賛
返信