S32K312 BootLoader UDSonCAN in RTD300 SDS3.5 Issue

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

S32K312 BootLoader UDSonCAN in RTD300 SDS3.5 Issue

跳至解决方案
209 次查看
kontroller
Contributor II

I used the NXP official Bootloader routine to develop the BootLoader_UDSonCAN of S32K312 in RTD3.0.0 environment, and encountered problems in the following steps when updating with ECU

1.png

 

According to the log, the program restarted when responding to 31 01 FF 00 (erase), and the restart reason is 18, corresponding to SWT0-RESET.

2.png

 

3.png

 

4.png

 

 

I want to know what the possible reason is, and debugging with SEGGER did not catch any problems.

Is it because FlsDrv.bin for RTD1.0.0 does not work directly with RTD3.0.0?

0 项奖励
1 解答
192 次查看
kontroller
Contributor II

Thank you for your reply. I finally found the reason. I did not synchronize the modification items of c40_ip.c under the environment of rtd300, so there may have been ecc errors when executing flash operations.

在原帖中查看解决方案

0 项奖励
4 回复数
194 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

looks like reset from watchdog timer (SWT), so be sure you have it either disabled or service it periodically.
Anyway; I’m sorry to say that Unified bootloader shared on the community is only unofficial demo provided AS IS with no guarantees and no support. Currently we do not have resources to support this demo. We apologize for any inconvenience.

BR, Petr

0 项奖励
34 次查看
JonAnder_Amante
Contributor I

Hi, 

I am using the project "S32K344_Can_bootloader_RTD200" in the microprocessor S32K344. I want to download an application with the program of bootloader. I have achieved the jump from program to application but I have different questions.

1. I want to use #define EN_DELAY_TIME but when I uncomment the command in the folder "public_in", the program has different errors. My target to use "Backdoor", that is to say, I want to check if the program has to enter to bootloader or not. I don´t know the process and the different functions that I have to use to achieve the target. I want to use the function "Boot_CheckReqBootloaderMode(void)" but when I debug the program, it never enters to the "if". Could you explain me the process and the steps to achieve the target. I add different functions that I think are important. 

2. I don´t know if I have to modificate the parameters of "static tJumpAppDelayTimeInfo gs_stJumpAPPDelayTimeInfo = {FALSE, 0u};". I have to change this structure ? You can see all structure in one of the next pictures. 

I need the reply as soon as possible since I have to send a project very soon. 

JonAnder_Amante_0-1714630598280.png

 

 

 

 

 

 

JonAnder_Amante_1-1714630598284.png

 

 

 

 

 

 

JonAnder_Amante_2-1714630598286.png

 

 

 

 

 

 

JonAnder_Amante_3-1714630598294.png

 

 

 

 

 

 

JonAnder_Amante_4-1714630598288.png

 

 

 

 

 

Thank you for all, 

Jon Ander Amante Jorge

0 项奖励
193 次查看
kontroller
Contributor II

Thank you for your reply. I finally found the reason. I did not synchronize the modification items of c40_ip.c under the environment of rtd300, so there may have been ecc errors when executing flash operations.

0 项奖励
208 次查看
kontroller
Contributor II
 
0 项奖励