S32K1 - Critical Error - MC33771C Init with bootloader linker script

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K1 - Critical Error - MC33771C Init with bootloader linker script

452 次查看
Poley
Contributor V

Hello,

 

There is a critical error in the S32K1 MBDT. I am using a S32K148 and multiple CMU’s through a TPL interface.

When using the default linker script the TPL instance and s32k work fine. If I change to the 256_flash_bam linker script in the MCU config block to make the memory mapping start at 0x2000 instead of 0x0000. As soon as BCC_INIT is called the MCU locks up and completely freezes on the current time step until power cycled. 

I narrowed it down to the BCC_INIT by turning off the auto init on startup in the MC33771C config block, flashing an LED and at 10s sending the BCC_INIT with the instance init block in the library. The device works fine for 10s but as soon as the function is sent everything freezes which is shown by the LED now being permanently on and not flashing. All other functions like CAN and I2C stop as well.

 

does anyone have any idea on what I can look for on this? I am really struggling as I need a bootloader for this application.

 

Many thanks!

0 项奖励
回复
0 回复数