S32K3xx DEMO bootloader CRC issue during flashing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K3xx DEMO bootloader CRC issue during flashing

1,420 Views
David_Zhou
Contributor I

Hello NXP,

 

I am facing a CRC check routine failure during the flashing when I am learning the DEMO bootloader, more detail are the following:

1. Hardware: S32K3X4EVB-T172

2. Software:

   a). Demo FBL: unified_bootloader_demo_v2.1 -> Download from NXP website.

   b). Demo App: S32K344_CAN_App_RTD200 -> Download from NXP website.

   c). My App -> Just a simple app with 1 CAN message periodic sending which works well without a FBL.

   d). Flashing tool: ECUBus -> Download from NXP website.

3. Issue description:

   a). When I was using the combination of DEMO FBL + DEMO app + ECUBus, everything is fine: flashing ok, demo app running fine, I can also flashing muti-times.

   b). But when I try to flash my app -> of course adaption was correctly done according the DEMO app: Link file changed. The app CRC check routine failed.

4. What I did

   a). I checked the FlashDriver CRC check which is successfully passed, try to find what is the difference. So the Start Address(0x440200) and Length(0x9074) my app for CRC calculation are fine as I expected, which means it match my app target files they have same mapping. check below screenshot.

   b). I also export the dump file of memory. They are also fully matched which means my app was successfully flashed.

   c). I saw the "MAX_ONCE_CHECKSUM_SIZE" is 100000, the Demo app is bigger than 100000 which means CRC will calculate twice,  my app is less than 100000 so I guess this is the only difference.

   d). ECUBus side, I didn't do any change, I guess it will automatically calculate CRC according to size of bin file.

David_Zhou_0-1730880946283.png

David_Zhou_1-1730882867315.png

 

 

 

Tags (1)
0 Kudos
Reply
2 Replies

1,374 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @David_Zhou 

I'm sorry but Unified bootloader is unofficial demo only shared by individual on the community. It's provided AS IS with no guarantees and no support (there's also a disclaimer). It's not production code. Currently we do not have resources to support this.

Regards,

Lukas

1,349 Views
David_Zhou
Contributor I

Understood, thanks!

0 Kudos
Reply