I am using S32k142 Example code for UDS Bootloader so i am able to flash my application file through UDS Bootloader but before that I need to download Flash driver file in Ram Memory,
My Requirement is i need to download Application file without flash Driver file. So please guide me regarding this which steps i need to modify in S32k142 Example code.
Thank You
Hi@Prasad7
The flash driver makes some APIs related to operating flash into independent files(.bin or hex,s19 etc), and then writes them to the specified location in the MCU through CAN or LIN.
So you can directly attribute these APIs to the specified RAM address in the BOOT project.
But for the Unified Bootloader we provide, if you modify it, it will be a lot of work, which will also involve the
UDS protocol itself.
In the link document I provided you, there is a method for using the keyword "attribute".
This means that you need to include FLASH APIs in the BOOTLOADER code and use the keyword
"attribute" to assign these APIs to the SRAM address during the compilation process.
you can find the source code in the link below.
https://community.nxp.com/t5/S32K-Knowledge-Base/S32K-How-to-make-Flash-Driver-image/ta-p/1630873