S32K311_UDS_Bootloader

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

S32K311_UDS_Bootloader

Jump to solution
649 Views
nirmal_masilamani
Contributor IV

Hello,

I am trying to implement UDS bootloader in S32K311, by refering S32K344 examples in below link .

Unified bootloader Demo - NXP Community

Everything working fine, after Transfer data complete, Boot trying write DOWNLOAD STATUS and CRC in gs_stBootInfo structure.

But when accessing this variable address, i am getting harfault error. In linker file also i create exchange_info block. 

But i am not sure, where this memory is initialized.

 

nirmal_masilamani_0-1753105829794.png

 

Tags (3)
0 Kudos
Reply
1 Solution
623 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport
0 Kudos
Reply
2 Replies
624 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @nirmal_masilamani 

Please take a look at this thread, I guess that this is the reason:

https://community.nxp.com/t5/S32K/S32K3-sharing-data-between-Bootloader-and-Application/m-p/1502773

Regards,

Lukas

0 Kudos
Reply
594 Views
nirmal_masilamani
Contributor IV

Hi @lukaszadrapa ,

Thank you for your support.

It worked after your suggested changes

Tags (3)
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2137498%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K311_UDS_Bootloader%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2137498%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20implement%20UDS%20bootloader%20in%20S32K311%2C%20by%20refering%20S32K344%20examples%20in%20below%20link%20.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K-Knowledge-Base%2FUnified-bootloader-Demo%2Fta-p%2F1423099%3Fprofile.language%3Den%22%20target%3D%22_blank%22%3EUnified%20bootloader%20Demo%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%3CP%3EEverything%20working%20fine%2C%20after%20Transfer%20data%20complete%2C%20Boot%20trying%20write%20DOWNLOAD%20STATUS%20and%20CRC%20in%26nbsp%3Bgs_stBootInfo%20structure.%3C%2FP%3E%3CP%3EBut%20when%20accessing%20this%20variable%20address%2C%20i%20am%20getting%20harfault%20error.%20In%20linker%20file%20also%20i%20create%20exchange_info%20block.%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20i%20am%20not%20sure%2C%20where%20this%20memory%20is%20initialized.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22nirmal_masilamani_0-1753105829794.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22nirmal_masilamani_0-1753105829794.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F348572iDF9866C082270DD9%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22nirmal_masilamani_0-1753105829794.png%22%20alt%3D%22nirmal_masilamani_0-1753105829794.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2140047%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K311_UDS_Bootloader%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2140047%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F37795%22%20target%3D%22_blank%22%3E%40lukaszadrapa%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20support.%3C%2FP%3E%3CP%3EIt%20worked%20after%20your%20suggested%20changes%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2138347%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K311_UDS_Bootloader%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2138347%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F233316%22%20target%3D%22_blank%22%3E%40nirmal_masilamani%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EPlease%20take%20a%20look%20at%20this%20thread%2C%20I%20guess%20that%20this%20is%20the%20reason%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K3-sharing-data-between-Bootloader-and-Application%2Fm-p%2F1502773%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K3-sharing-data-between-Bootloader-and-Application%2Fm-p%2F1502773%3C%2FA%3E%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3ELukas%3C%2FP%3E%3C%2FLINGO-BODY%3E