S32k344- ECUBUS Can Bootloader Demo-App

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

S32k344- ECUBUS Can Bootloader Demo-App

1,020件の閲覧回数
JosePineiro
Contributor II

Hello,

I'm working with S32k344 TBOX with the example S32K344_CAN_Bootloader_RTD2d0. I want to load S32K344_APP_Demo_RTD2d0 through ECUBUS. But I don't have clear what UDS must I send.

I tried with this schedule:

JosePineiro_0-1693293285413.png

JosePineiro_1-1693293315295.png

The result of the execution is successful but any app is loaded. I debugged and search in memory browser at flash init address defined in linker file and there are "???..."

JosePineiro_2-1693293420292.png

what may be my problem?

Thank you.

 

 

0 件の賞賛
返信
3 返答(返信)

611件の閲覧回数
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_inc", 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-1712229623375.png

 

JonAnder_Amante_1-1712229623606.png

 

JonAnder_Amante_2-1712229623614.png

 

JonAnder_Amante_3-1712229623617.png

 

JonAnder_Amante_4-1712229623604.png

 

 

Thank you for all, 

Jon Ander Amante Jorge

0 件の賞賛
返信

981件の閲覧回数
JosePineiro
Contributor II

The last comment was resolved. I loaded ECUBUS_344CAN_uds, S32K344_FlsDrvRTD100.bin which ones I found in the zip and S32K344_CAN_App_RTD200.bin generated with some changes due to I'm working with S32K344 TBOX.

So I sent the schedule and I think the app was loaded because the debugging enter into jumptoapp and then disassembly appears in a memory address in the range of flash memory for the app.

My problem is that I can't load more App since ECUBUS because when the program begin to execute, jump directly to App and show that:

JosePineiro_0-1693311009164.png

I tried to power reset but I don´t know what is the problem. Other UDS schedule are necessary for load a new application and regret from App to Boot?

0 件の賞賛
返信

745件の閲覧回数
JonAnder_Amante
Contributor I

Hi,

I have different questions about the project. I am using the project of unified_bootloader but I don´t achieve the jump to application.

I don´t know why I have to use the vinculate file (flash).

I don´t know why I run the command ResetHandle in the address 0x441421 and it doesn´t jump to application and the bootloader program restarts. 

In the interfaz Ecubus where I have to add another application and what is the memory address and memory size?

Thank you for all,

0 件の賞賛
返信