Hello NXP Community,
Need to implement 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.
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 use ECUBus?
Hello,
For NXPOpenBus support S19, Hex, Bin and not support .out or .elf. You should generate binary over IAR(Reference: Options->Output Converter->Output format).
Best Regards!
Hi,
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.
If I remove Flash_Driver.bin in Json input file what happened while downloading Application ?
Note:we are using NXp Bootloader Demo Project for Our Project ,Customer Requesting to Remove Flash_Drver.bin and he want only Appliaction.Bin
Please any one support me for this issue ,how can I remove flash_Drver.Bin with out failing Application ?
Thank you in advance.
Best Regards
Hello,
Actually, UDS bootloader have not capability for erase/program P-Flash/D-Flash. The flash_driver.bin provide the APIs of erase/program P-Flash. So, if GUI have not download flash driver, then UDS bootloader will report an error and download APP will failed. From my side, suggestion customer that if use the reference demo code should following the process. Due to download flash driver from GUI is based on HIS spec. If customer have not following the process, customer should integrate flash_driver.bin in UDS bootloader code and store in P-Flash. When need to download APP, copy the flash driver in RAM and set flash driver was download.
Best Regards!
Hi,
Thank you for your Response. we are taking your second options for " If customer have not following the process, customer should integrate flash_driver.bin in UDS bootloader code and store in P-Flash. When need to download APP, copy the flash driver in RAM and set flash driver was download.". we are tried multiple time to Integrate Flash Driver.bin but it's not done my end . Could you please Provide me Flash driver code or if you give with integrated flash driver code with bootloader, we are very appreciated with your work .
Best Regards!
Hello,
Actually, have 3 method:
1. Copy flash_driver.bin' content and store as a array in UDS bootloader. When needed, copy the array content to RAM.
2. Use flash driver code of SDK. In bootloader project, add flash component and integrated in the project.
3. Integrate flash_driver.bin source code in UDS project. But, the flash driver source code is a independent project, need to do some modify.