S32K144 boot jump to app fail

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

S32K144 boot jump to app fail

390 次查看
547416104
Contributor III

Hello EveryOne,

I meet a issue about S32K144 boot jump to App fail, the fail rate is 2/1226 loops;

Boot configure as below:

step 1. Boot configure CAN module, support UDS PHY CAN ID and FUNC CAN ID.

step 2. If ECU receive UDS reset request(11 01). then continue launch step 3;

step 3. S32K144 launch CAN module Deinit API to reinit CAN module, does not set CAN transceiver as standby mode,then CAN tranceiver keeps normal mode.

step 4.S32k144 launch software reset API to reset, then ECU performance as below one;

    a. ECU has no function, then will not support response UDS request CAN message;

    b. ECU will TX cycle CAN message at first, but then it wll reset;

 

 

Question::

What configure should need to do before launch MCU  software reset?

 

thanks~~~

标记 (1)
0 项奖励
回复
3 回复数

365 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @547416104 

I always recommend software reset to everyone. After reset, you can jump to the application at the very beginning - before all the initialization. This is bulletproof way for this. If you just do all the deinitialization by software, you must be very careful to deinit everything. Or the application must be aware that something is not in default reset state. The most issues is usually caused by interrupts, so double check if all interrupts are disabled on all levels - in the core, by local enable bits in peripherals, by priorities...

Regards,

Lukas

 

0 项奖励
回复

353 次查看
547416104
Contributor III

Hello lukaszadrapa,

Follow your response, I think should to disable the global IRQ,disable CAN irq and set CAN transceiver as standby mode, whether ok?

0 项奖励
回复

343 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Yes, I would start with that.

0 项奖励
回复