In our project we are using s32k312 microcontroller, Currently I am facing some issues while flashing the code through s32 design studio using PE micro. In our project we have first bootloader(Fbl), second bootloader(sbl), and Application code
Currently as per linker files for FBL we are using from 0x400000 to 0x43ffff , SBL we are using 0x440000 to 0x47ffff and for App we are using from 0x480000 to end of the pflash section.
I am merging the srec files I got from fbl, sbl, app and flashing that merged srec file to have the complete app,fbl,sbl code in pflash section.
In the s32 design studio with the attached screenshots we are flashing the srec file as shown below. In the advanced options we are not preserve any range of memory while flashing the srec file.




But while flashing the srec files we are seeing the following errors while flashing the srec files . After tried to flash for few more times then sometimes it is flashing the srec file.

Once the srec file is flashed,we are flashing the elf file for debugging the code. But while flashing that app elf file using the following settings shown below



In the settings we added the preserve memory range from 0x400000 to 0x47ffff to not override the code of FBL and SBL code. When we tried to flash with these settings it is still erasing the whole section and overriding the FBL and SBL as shown below

So can you please help us to identify why we seeing these errors while flashing the srec files and elf files. Because of these issues currently we ae unable to go for the debugging mode using the elf file.