Qestion about s12z bootloader

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

Qestion about s12z bootloader

521件の閲覧回数
Gildarai
Contributor II

I make bootloader with 128kbytes s12z.

I can see 'go to app(0xFE0200)' function is performed, but application does not worked.

It seems like software reset due to watchdog.

I attached my configuration of prm and map file.

Please give me your suggestion.

 

<<startup section at map file>>

Gildarai_0-1739520149616.png

<<prm file for Application>>

Gildarai_1-1739520220187.png

<<prm file for Bootloader>>

Gildarai_2-1739520532001.png

 

0 件の賞賛
返信
2 返答(返信)

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

Hi,

 

 

There is some info mentioned at community, however no guarantee  no support but I believe it could help you if you compare it with your SW.

Because, the issue can be anywhere I would like to suggest you, as I already mentioned, to compare solutions.

I believe it will help you.

 

https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Simple-Serial-Bootloader-for-S12Z-AN-draft/...

 

I found also this one but I found it just now.

https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099

 

 

Best regards,

Ladislav

0 件の賞賛
返信

515件の閲覧回数
kef2
Senior Contributor V

There could be various reasons. Just debug it. If you didn't know, you may temporarily/permanently add bootloader code to your app binary with this line in your app prm file:

HEXFILE bootloader.s19 

If your bootloader project doesn't produce s19, please look in, eh, IIRC, linker settings in your bootloader project. Sorry, don't have exact instructions, s12z got totally eliminated from our projects since lack of stock during pandemia...

With common app+boot project you could set BP at app entry and debug from start of app. 

0 件の賞賛
返信