1992285_en-US

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

1992285_en-US

1992285_en-US

S32K1XX BOOTLODER

Hello, team.

    I'm currently developing the bootloader for S32K146, but I'm encountering some issues when writing data to the flash. I'd appreciate it if you could offer some advice. As shown in the image, this is an SREC file generated by S32DS IDE. However, I noticed a discontinuity in the addresses in this file: 0xA7260 ------- 0xA7270 ------- 0x7274. The remaining addresses are incremented by "0x10", but there is a gap between 0xA7270 and 0xA7274 where the increment is only 0x4. This issue prevents me from writing data to the flash because each flash write operation must occupy at least 8 bytes. However, there is only a 4-byte space provided here, making it impossible to write to the flash.

   This is the problem I'm facing, and I hope you can suggest some solutions. Thank you.

shiqi_seventeen_0-1731372648439.png


回复: S32K1XX BOOTLODER

Hi @shiqi_seventeen 

Yes, that's correct. The minimum amount you can program is one phrase - 8 bytes:

lukaszadrapa_0-1731490370442.png

The best solution for bootloaders is to align the s-record file. Take a look at this thread for details:

https://community.nxp.com/t5/S32-Design-Studio/Why-does-the-AN12218SW-bootloader-fails-to-parse-the-...

Regards,

Lukas

回复: S32K1XX BOOTLODERCould you please help me confirm whether the data written to the flash of S32K146 must be at least 8 bytes?
タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 03:10 PM
更新者: