S32K1 - Critical Error - MC33771C Init with bootloader linker script

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K1 - Critical Error - MC33771C Init with bootloader linker script

163件の閲覧回数
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 返答(返信)