S32K116 bootloader on LIN

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K116 bootloader on LIN

1,345 Views
Sitaijun1107
Contributor I

the firmware is form unified_bootloader_demo_V2.1

Use ECUBus to update the APP firmware, but always failed. 

 

Tags (1)
0 Kudos
Reply
10 Replies

1,333 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

could you please describe more how the tool is used on your side? What is your connection, steps you done and error you got?

BR, Petr

0 Kudos
Reply

1,312 Views
Sitaijun1107
Contributor I

Hi,

I have download unified_bootloader_demo_V2.1 file and use the unified_bootloader_demo_v2.1\S32K1xx\S32K116_LIN demo. Also I download ECUBus_Master.

Hardware use PLIN and IC is S32K116.

1.Download bootloader file to S32K116,

2.Open ECUBus, and  Import ECUBUS_LIN_uds.json. 

Now I have an problem: How to set Send NAD and Receive NAD, ST Min, P2 .etc sttings?

I set the send NAD x55 and Receive NAD set 0X35 for testing.

 

3.Select the flash_driver.bin and S32K116_LIN_APP_Demo.bin Then Press start

But not sucessed, sometime show wrong {"msg":"No response","index":5}

I don't know the opertation whether correct or not?

 

 

 

 

 

 

 

 

 

 

 

0 Kudos
Reply

1,284 Views
nxf10035
NXP Employee
NXP Employee

Hi, @Sitaijun1107 

       Have some information to you:

1. The ECU BUS only support PCAN tool. NXP only test on PCAN-USB Pro.

2. The configuration of ECU BUS, you can reference the ECU-BUS _User  guide  link: https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099

 

BR 

Tomlin

0 Kudos
Reply

1,267 Views
Sitaijun1107
Contributor I

If want to use lin bootloader (S32K116)? How can do it?  

0 Kudos
Reply

1,259 Views
nxf10035
NXP Employee
NXP Employee

Hi, @Sitaijun1107 

      If you have not the PEAK tool and cannot used the ECU BUS for test. I think you can :

1. Develop a GUI/script via ISO17987-2 and reference the UDS process as NXP provided

2. Just for test, you can used your hardware send the LIN TP message. The message should be integrated LIN TP(ISO17987-2)

 

BR 

Tomlin

0 Kudos
Reply

1,238 Views
Sitaijun1107
Contributor I

that's mean I can not do bootloader use ECUBUS and PEAK LIN-USB or PEAK CAN-USB tools?

0 Kudos
Reply

1,240 Views
Sitaijun1107
Contributor I

I have PEAK LIN-USB and PEAK CAN-USB.

How can do lin bootloader with these tools?

0 Kudos
Reply

1,232 Views
nxf10035
NXP Employee
NXP Employee

Hi, @Sitaijun1107 

    We just test on PCAN-USB Pro. So, I'm not sure the DLL(provide by PEAK) is the same or not. Suggestion you:

1.Check ECU BUS can open the tool or not. You can use another LIN channel monitor the ECU-BUS LIN channel, then check the ECU-BUS can send UDS message or not

BR

Tomlin

0 Kudos
Reply

1,192 Views
Sitaijun1107
Contributor I

Thanks, ECU Bus can select LIN channel. When use ECU BUS send data, first must set the send NAD value and receive NAD value, so the value should be ? can you help test on S32K116? 

0 Kudos
Reply

1,154 Views
nxf10035
NXP Employee
NXP Employee

Hi, @Sitaijun1107 

  Yes, the NAD is needed. If you have any questions about NAD, you can reference ISO spec.

BR

Tomlin

0 Kudos
Reply