S32K312 boot with HSE enabled

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

S32K312 boot with HSE enabled

Jump to solution
2,798 Views
strofald
Contributor III

Hello,

I have flashed HSE FW on my S32K312 microcontroller, and I have enabled the HSE FW Feature flag in UTEST.
Anyway I experience the following: whenever I flash a new application FW, right after flashing if I step with the debugger (without executing any instruction, just the first one from the startup code), an Hard Fault is triggered. If instead, after flashing, I perform a reset with the debugger, the Hard Fault does not happen.
How is this possible?

May this be related with the IVT configuration?
I am using the standard linker and startup files that are provided with the Platform module in RTD v5.0.0, I attached them below (renamed in .s.c due to update policies)
I also uploaded the .map file of the application.

0 Kudos
Reply
1 Solution
2,695 Views
strofald
Contributor III

I solved the issue by updating my debugger client (PLS UDE) to version 2024.05

View solution in original post

0 Kudos
Reply
2 Replies
2,696 Views
strofald
Contributor III

I solved the issue by updating my debugger client (PLS UDE) to version 2024.05

0 Kudos
Reply
2,767 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @strofald 

I have never seen such behavior and I can't see a reason for that.

What kind of debugger do you use? It sound like problem of debugger...

Regards,

Lukas

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2085758%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K312%20boot%20with%20HSE%20enabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2085758%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20have%20flashed%20HSE%20FW%20on%20my%20S32K312%20microcontroller%2C%20and%20I%20have%20enabled%20the%20HSE%20FW%20Feature%20flag%20in%20UTEST.%3CBR%20%2F%3EAnyway%20I%20experience%20the%20following%3A%20whenever%20I%20flash%20a%20new%20application%20FW%2C%20right%20after%20flashing%20if%20I%20step%20with%20the%20debugger%20(without%20executing%20any%20instruction%2C%20just%20the%20first%20one%20from%20the%20startup%20code)%2C%20an%20Hard%20Fault%20is%20triggered.%20If%20instead%2C%20after%20flashing%2C%20I%20perform%20a%20reset%20with%20the%20debugger%2C%20the%20Hard%20Fault%20does%20not%20happen.%3CBR%20%2F%3EHow%20is%20this%20possible%3F%3C%2FP%3E%3CP%3EMay%20this%20be%20related%20with%20the%20IVT%20configuration%3F%3CBR%20%2F%3EI%20am%20using%20the%20standard%20linker%20and%20startup%20files%20that%20are%20provided%20with%20the%20Platform%20module%20in%20RTD%20v5.0.0%2C%20I%20attached%20them%20below%20(renamed%20in%20.s.c%20due%20to%20update%20policies)%3CBR%20%2F%3EI%20also%20uploaded%20the%20.map%20file%20of%20the%20application.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2089135%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K312%20boot%20with%20HSE%20enabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2089135%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20solved%20the%20issue%20by%20updating%20my%20debugger%20client%20(PLS%20UDE)%20to%20version%202024.05%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2086491%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20S32K312%20boot%20with%20HSE%20enabled%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2086491%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F229151%22%20target%3D%22_blank%22%3E%40strofald%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20never%20seen%20such%20behavior%20and%20I%20can't%20see%20a%20reason%20for%20that.%20%3C%2FP%3E%0A%3CP%3EWhat%20kind%20of%20debugger%20do%20you%20use%3F%20It%20sound%20like%20problem%20of%20debugger...%3C%2FP%3E%0A%3CP%3ERegards%2C%3C%2FP%3E%0A%3CP%3ELukas%3C%2FP%3E%3C%2FLINGO-BODY%3E