S32K344 TBOX- Can Bootloader Implementation

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

S32K344 TBOX- Can Bootloader Implementation

ソリューションへジャンプ
2,518件の閲覧回数
JosePineiro
Contributor II

Hello,

I am using S32K344 TBOX and I want to implement unified can bootloader sample "S32K344_CAN_Bootloader_RTD2d0". I have installed S32K3 RTD AUTOSAR 4.4 Version 2.0.0, the program compile with no errors and warnings:

JosePineiro_0-1692194256685.png

I have connected 3 Peak Can 2, 4 and 5 but in the sample the output is configured for output 0. I don´t have Tresos project to change it and generate the new configuration. How can I do it?

The link where I download the example is: 

Unified bootloader Demo - NXP Community

 

1 解決策
2,481件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

CAN0 of S32K3-T-BOX is connect to J33 pin 4(CAN0_H) and pin 14(CAN0_L).

CAN0 TJA1153 J33 S32K3-T-BOX.png

You don't need EB tresos Studio, you should be able to change the configuration of S32K344_CAN_Bootloader_RTD2d0 in S32CT Configuration Tool.

S32K344_CAN_bootlloader_RTD2d0 S32 Configuration Tool.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

元の投稿で解決策を見る

4 返答(返信)
1,814件の閲覧回数
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-1713768346504.png

 

 

 

 

 

JonAnder_Amante_1-1713768346508.png

 

 

 

 

 

JonAnder_Amante_2-1713768346509.png

 

 

 

 

 

JonAnder_Amante_3-1713768346512.png

 

 

 

 

 

JonAnder_Amante_4-1713768346511.png

 

 

Thank you for all,

0 件の賞賛
返信
2,464件の閲覧回数
JosePineiro
Contributor II

Thank you for your help @Robin_Shen, we did the changes necessaries.

Now I´m testing communication with Peak Can as you can see below:

JosePineiro_1-1692280763494.png

The messages is 0x748 (id) 02 10 03 but we don´t receive anything, the bus is heavy and the program is running a while true in the function "HardFault_Handler". Am I doing something wrong?

0 件の賞賛
返信
2,432件の閲覧回数
JosePineiro
Contributor II

I have debugged the program and the exceptions hard fault jump in this point:

JosePineiro_0-1692346758894.png

JosePineiro_1-1692346922644.png

 

Should I configure anything in the clock or something else?

0 件の賞賛
返信
2,482件の閲覧回数
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

CAN0 of S32K3-T-BOX is connect to J33 pin 4(CAN0_H) and pin 14(CAN0_L).

CAN0 TJA1153 J33 S32K3-T-BOX.png

You don't need EB tresos Studio, you should be able to change the configuration of S32K344_CAN_Bootloader_RTD2d0 in S32CT Configuration Tool.

S32K344_CAN_bootlloader_RTD2d0 S32 Configuration Tool.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------