Hello,
I am new with bootloader.
Need to implement CAN and LIN based bootloader for S32K116 and I have downloaded unified bootloader framework from https://www.nxp.com/downloads/en/snippets-boot-code-headers-monitors/unified_bootloader_framework.zi... this link.
We don't have Peak CAN and LIN but we have Vector VN1630 and supported PC application. Can I use Vector VN1630 and our PC application with this unified bootloader framework.
If any changes are required then what are that changes.
Thank you in advance.
Hello @chaitanya_kalyani ,
Have you got this resolved? I want to develop/verify LIN based bootloader using PCAN USB on board S32K142. Can you help me regarding this?
Thank you in advance.
Hello,
@Dennis_Gokani i have implemented and tested long back.
Currently not working on that platform but i can support you whatever queries you have.
Hello @chaitanya_kalyani,
I am new with bootloader.
I need to implement LIN based bootloader for S32K142 and I have downloaded unified bootloader Demo from https://community.nxp.com/t5/S32K-Knowledge-Base/Unified-bootloader-Demo/ta-p/1423099. this link.
I needed to know the hardware requirements for a LIN based bootloader and the PCAN which will be used for this setup and configuration.
Also, it would be really helpful if you can provide me some links or some understanding on how I can implement LIN based bootloader using Vector CANoe.
If any changes are required then what are that changes.
Thank you in advance.
Hello,
I have asked the owner of this tool, see the answer below:
Yes, you can. You need to develop your UI/GUI follow UDS and CAN/LIN TP.
I hope it helps.
Best regards,
Diana
Hello @dianabatrlova ,
I checked LIN based bootloader code for S32K116 but while dubbing code is getting stuck into DefaultISR not getting why this is happening.
Can you please tell why getting this issue.
Hello,
Can you please share the line of code after which the DefaultISR was triggered?
Thank you.
Best regards,
Diana
Hello @dianabatrlova ,
I am not sure from where it is entering into DefaultISR.
I am using below code you can find in the attachment.
Hello,
Unfortunately, currently, I have not this board in my home office.
However, I suggest debugging the code.
You can also, check if you have handlers for each interrupt which you have enabled. (It always goes to defaultISR if any interrupt handler is missing).
Add the hardfault handler into your project and place while(1){} loop there.
https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447
Check if you have enabled clock source for all your peripherals.
Best regards,
Diana
Hello @dianabatrlova ,
Thank you for response.
.
We have PC software that supports UDS but don't have idea about CAN/LIN tp because that is developed by another person. In this case only with UDS can I use or not ?
Hello,
I have received the information below:
It looks like the UDS and CAN/LIN TP can be used. Maybe you can try to send UDS messages to a unified bootloader over your GUI/UI. The commands can be found in the JSON file.
Best regards,
Diana
Hello @dianabatrlova ,
For our project we are using IAR compiler and it after compilation IAR generating .out file but I observed NxpOpenBus SW support .bin file format only. How to solve this issue. Is there any another solution for this.
For LIN in folder flash_driver.bin file is provided what is use of that file and from where I can get the source code of flash_driver.bin file.
Thank you in advance.
Did you update firmware successed with ECUBus?