2386164_en-US

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

2386164_en-US

2386164_en-US

S32K342, HSE , installation issues

S32K342 custom board + PEmicro. Ported S32K344_HSE_FW_INSTALL example to S32K342. Build OK, S32K342.mac reset completes, but code traps into Default_Handler (BusFault/HardFault) before reaching main — fails during startup. Pink is 0.13.0_2.40.0 FULL_MEM. What startup/linker changes are needed for S32K342?

Re: S32K342, HSE , installation issues

It could be possibly caused by used library (semihosting or so..) as I have recently faced similar issue. Choose newlib_nano no I/O

davidtosenovjan_0-1782385593580.png

Otherwise porting of S32K344_HSE_FW_INSTALL to different derivative is quite straightforward. You need to use startup code and register definitions fro S32K342.


Tags (1)
No ratings
Version history
Last update:
yesterday
Updated by: