Sometimes you need an output file other than the standard ELF, like a FLASH image. This instruction shows how to setup the selected build type to generate an additional output from the supported file types.
Go to Project Properties
Right click on the Project name in Project Explorer -> Properties, OR
Select the Project name in Project Explorer, select from pulldown menu Project -> Properties
Navigate to C/C++ Build -> Settings -> Cross Settings, check the box for ‘Create flash image’. Be sure to take note that the build configuration set in the Configuration field is correct one. The change you make here will only apply to the selected configuration.
Scroll the window down until you can see the ‘Apply’ button, then click on it.
You can specify output in newly appeared option Standard S32DS Create flash image
Build the project. The new output file is generated.
I followed your steps. To create the binary file for the bootloader using position indepenedent code. But my application is generating .srec file. Which I believe will not work with bootloader. So I tried to create .bin file using the raw binary option. And I tried to flash this file using bootloader. But it is not able to boot the application code after flashing the bin file to the S32K144 evb. Please help
After generating the binary file, I noticed in the HEX editor within the S32DS ARM IDE that some blocks are filled with 00s. What do these represent? How can I determine if these values are actual 0s or null values? I understand that after erasing the flash memory, the MCU typically shows 0xFF values, but the binary is displaying 00