S32K342, HSE , installation issues

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

S32K342, HSE , installation issues

104 Views
Jay9
Contributor I

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?

0 Kudos
Reply
1 Reply

61 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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.

 

0 Kudos
Reply