芯片 MSP430FR4133 ,软件IAR FOR MSP430 V6.30.3 ,环境 WINDOWS XP
烧写器 FET430UIF。
希望 在FRAM 0xC400其始地址中保存一段数据,数据量比较大约2k,保存用户数据,information FRAM空间太小。
不希望在IAR烧写的时候擦除这段空间。参考IAR帮助文件,提到:
Example
--erase_exclude 0xC400-0xD400
To set this option, use Project>Options>Debugger>Extra Options.
使用时出错 :
Sat Nov 21, 2015 14:27:46: Could not erase device memory : (Erase) , type=0x0, address=0xd600, length=0x1ff
Sat Nov 21, 2015 14:27:51: Could not erase device memory : (Erase) , type=0x0, address=0xd600, length=0x1ff
Sat Nov 21, 2015 14:27:57: Could not erase device memory : (Erase) , type=0x0, address=0xd600, length=0x1ff
Sat Nov 21, 2015 14:28:02: Could not erase device memory : (Erase) , type=0x0, address=0xd600, length=0x1ff
Sat Nov 21, 2015 14:28:07: Could not erase device memory : (Erase) , type=0x0, address=0xd600, length=0x1ff
Sat Nov 21, 2015 14:28:13: Could not erase device memory : (Erase) , type=0x0, address=0xd600, length=0x1ff
Sat Nov 21, 2015 14:28:20: Could not erase device memory : (Erase) , type=0x0, address=0xd600, length=0x1ff
Sat Nov 21, 2015 14:28:20: Trying to initialize target failed
Sat Nov 21, 2015 14:28:22: Fatal error: Closing debug session Session aborted!
Sat Nov 21, 2015 14:28:22: Failed to load debugee: E:\IP Senser\Inductance\ldcl614code\Debug\Exe\ldc1614.d43
请问有什么方法可以确保更新程序时,这段不被擦除?谢谢、