My application saves some configuration data in the last sectors of the internal flash memory of i.MXRT1064 cpu.
With MCUXpresso PEmicro debugger 11.4.1 I preserve that memory range during flash programming.
In production I would like to use SPT to program my custom board.
How can I preserve memory ranges during writing bootable images with SPT ?
Hi Alessandro,
write script in SEC Tool erases only memory needed for the application.
See in the write script:
@echo ### Erase memory before writing image ###
call "%blhost%" %blhost_connect% -j -- flash-erase-region 0x60000000 23868 9
if errorlevel 2 exit 2
The rest of the FLASH should be kept untouched.