HCS12 bootloader擦写中断向量表的flash

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

HCS12 bootloader擦写中断向量表的flash

625 次查看
tao180539
Contributor I

写中断向量表.png

接收到中断向量后,为啥要从Data[24]开始写

0 项奖励
4 回复数

612 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @tao180539,

Please have a look at the srecords in AN2458SW.

The content of the reset vector to be programmed is in the last 8bytes of ProgSRec.Data.

For example, S12P:

danielmartynek_0-1670505475526.png

https://en.wikipedia.org/wiki/SREC_(file_format)

 

Regards,

Daniel

0 项奖励

602 次查看
tao180539
Contributor I

中断向量位置.png

my .S19  file is like this, so i dont write flash at data[24],   yes or not ?

0 项奖励

594 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @tao180539,

 You need to convert it using the SRecCvt tool that can be found in AN4258SW

danielmartynek_0-1670584202965.png

https://www.nxp.com/docs/en/application-note-software/AN4258SW.zip

 

Regards,

Daniel

0 项奖励

604 次查看
tao180539
Contributor I

thank you 

0 项奖励