How to Preserve Non-Volatile Memory with SPT

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to Preserve Non-Volatile Memory with SPT

1,400件の閲覧回数
Vagni
Contributor IV

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.

Flash_imxrt1064.PNG 

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 ?

 

0 件の賞賛
1 返信

1,389件の閲覧回数
marek-trmac
NXP Employee
NXP Employee

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.

Regards,
Marek
0 件の賞賛