S32K312 BootLoader UDSonCAN in RTD300 SDS3.5 Issue

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

S32K312 BootLoader UDSonCAN in RTD300 SDS3.5 Issue

ソリューションへジャンプ
211件の閲覧回数
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 解決策
194件の閲覧回数
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 返答(返信)
196件の閲覧回数
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 件の賞賛
36件の閲覧回数
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 件の賞賛
195件の閲覧回数
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 件の賞賛
210件の閲覧回数
kontroller
Contributor II
 
0 件の賞賛