Hi,
There is a requirement of OTA using UDS over the CAN Commination in my project.
If there is any possibility for this requirement please share the details and process also please provide the example code.
Device: S32K144EVB evaluation board.
S32DS: S32 Design Studio for ARM--Version: 2018.R1
Thanks in advance.
Hi, @Dileep1441
The S32K144 UDS bootloader based on RTM 2.0 and the S32DS version is 2018R1. If you have not install the correct version, then will meet some issues. Due to S32K144 have only one P-Flash partition, NXP have not provide the OTA demo for S32K144.
BR, Tomlin
Hi @nxf10035
I'm trying to flash UDS example code which is shared by @danielmartynek .
https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099
but unfortunately i'm getting error while importing the example project into S32 Design Studio for ARM--Version: 2018.R1, so danielmartynek suggested to install the SDK RTM 2.0.0 https://www.nxp.com/design/software/development-software/s32-sdk/s32-software-development-kit-for-s3...
but still facing the issue, PFA for the error screenshot.
Requirement::
Execute the UDS example code in S32K144EVB.
Please support me on this requirement. Thanks in Advance.
Hi, @Dileep1441
Have some questions as following:
1. Why do you need to import the SDK path?
2. Is the SDK version is RTM4.0.3 of your picture?
From my side, if installed the SDK v2.0 in S32DS 2018R1. Then import the unified bootloader project directly and compiler successful.
Hi @nxf10035
Thanks for your response.
1. Why do you need to import the SDK path?--after Importing the unified bootloader project into S32 Design Studio for ARM--Version: 2018.R1 getting the below attached error so tried to import the SDK path.
2. Is the SDK version is RTM4.0.3 of your picture? --Yes RTM 4.0.3
It seems the SDK Version mismatch, could you please share the required SDK version SDK v2.0 link to install.
Note:: using the below link which is shared by @danielmartynek,getting SDK 4.0.3 version(PFA for the attachment)-Unable to find the SDK v2.0,please share the link.
Thanks in Advance.
Hi @Dileep1441,
RTM 4.0.3 is not supported by the older S32DS IDE R1.
Only by S32DS 3.4 and 3.5.
You need RTM 2.0.0.
Open the link I sent you and go to the Previous tab
BR, Daniel
Hello both @nxf10035 @danielmartynek ,
This is the link shared by you to download RTM 2.0.0.
but only available versions in that link are RTM 4.0.0,RTM 4.0.2,RTM 4.0.3.
Please find the attachments for the Current and Previous version tabs in that shared link.
Please share the direct link of RTM 2.0.0, Thank you.
Hello both @nxf10035 @danielmartynek
just now found the below reference link to download and install the RTM 2.0.0
https://community.nxp.com/t5/S32-SDK/Problem-of-Kinetis-SDK/m-p/1282252#M2183
I'm using the below path UDS Example code in S32K144EVB.
D:\unified_bootloader_demo_V2.1\unified_bootloader_demo_v2.1\S32K1xx\S32K144_CAN\S32K144_CAN_bootloader
Is there any Document or information available to know the test steps or to understand the functionality of the above mentioned example code.
So that below points will cover for understanding::
So please share the code flow explaining info/doc to understand the functionality of UDS example code.
Also can you please specify the any other hardware or software tools are required to test this code.
Thanks in advance.
Hi, @Dileep1441
The answer as following:
Tomlin: The commands including by the JSON file. You can get the process file from unified_bootloader_demo_v2.1\S32K1xx\S32K144_CAN\S32K144_CAN_user_config-->ECUBUS_CANFD_uds.json
Tomlin: Please reference ISO14229(UDS) and ISO15765-2(CAN TP). You can also get the detail response from above process file
Please note: The GUI(ECU BUS) provide by NXP only support PCAN tool. If you want to use ECU BUS to test, the PCAN tool is needed.
BR
Tomlin
Hi @nxf10035 ,
Thanks for the response.
can you please share the CAN ID's for sending request and receiving request over the CAN in UDS example code.
also please share the GUI(ECU BUS) and PCAN tool links to install and purchase.
Please note if any required software's and hardware are there to test this UDS example, please share those details also.
Thank you.
Hi, @Dileep1441
The PC tool(ECU BUS) tool link, you can get it from bootloader demo link as above. https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099
The CAN ID you can reference UBL.pdf and you can also search "RX_FUN_ID", "RX_PHY_ID" and "TX_ID" in bootloader project.
PEAK tool: https://www.peak-system.com/PCAN-USB-Pro.200.0.html?&L=1
BR
Tomlin
Hi @nxf10035 ,
Thanks for the response.
Successfully flashed the UDS example code and done the basic testing with my CANALYZER.
like sent 10 01 command in CAN ID 0x784 and getting 50 01 as positive response
similarly 10 02/03 sent getting 50 02/03 responses
Now the question is how to flash the application code using this UDS bootloader example code,
please share the details or process info to flash or load the application code into the S32K144EVB using UDS bootloader example code.
Thanks in advance.
Hi, @Dileep1441
The UDS process as following:
unified_bootloader_demo_v2.1\S32K1xx\S32K144_CAN\S32K144_CAN_user_config-->ECUBUS_CANFD_uds.json
If you used CANAlyzer send the CAN message, should follow the process.
BR
Tomlin
Hi @nxf10035 ,
Thanks for the response.
1.Can you please share the process of flashing application code(example some LED blinking code) into S32K144EVB using UDS example code with GUI(ECU BUS) and PCAN tools.
2.my CAN Tool(Canalyzer) is not a standard tool, so there is a only option to sent the raw data frames with specified CAN ID(PFA for the tool view) and there were no more options available.
So, can you please share the step by step process to flash the application code using UDS
ex:
for flashing the application code need to enter into programming session and take the security access as followed::
a) 10 02-->50 02 is positive response
b) 27 01-->Some security code we'll get as response
c) need to send something-we'll get some response..........................
Likewise above can you please share the step by step process.
------------------------------------------------------------------------------------------------------------------------------------------
Thanks in advance.
Hi @nxf10035 ,
actually i don't have PCAN tool so unable to import the JSON file in ECU_BUS,
so could you please share the detailed process so that i'll follow the process in my CAN tool to flash the application code using UDS.
Thank you.
Hi @Dileep1441,
There is this UDS bootloader:
https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099
BR, Daniel
I downloaded the unified_bootloader_demo_V2.1.zip file from the link which you shared in last message.
In that folder, at the below path S32K144_CAN_bootloader example code i'm trying to import into my workspace D:\unified_bootloader_demo_V2.1\unified_bootloader_demo_v2.1\S32K1xx\S32K144_CAN\S32K144_CAN_bootloader
but i'm facing some error while importing, i.e., Kinetis SDK is not installed.
also there is one Readme file in that need to run the Import_stack.bat but after run the bat file it shows the below response
The system cannot find the file specified.
The system cannot find the file specified.
File not found - S32K144_CAN
0 File(s) copied
File not found - Source
0 File(s) copied
Below are the S32DS details which i'm using now in my pc:
Device: S32K144EVB evaluation board.
S32DS: S32 Design Studio for ARM--Version: 2018.R1
PFA for the Error Screenshots, Thanks in advance.
Hi @Dileep1441 :Could you please tell me how you resolved the below mentioned issue while running the Import_stack.bat file.
The system cannot find the file specified.
The system cannot find the file specified.
File not found - S32K144_CAN
0 File(s) copied
File not found - Source
0 File(s) copied
I am also getting the same issue.