最近调试F149,因为数据量大,用部分FLASH做存储区。程序修改重新下载后,数据就没了。FLASH下载时把MAIN MEMORY全部擦除吗?有没有办法可以使用?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
最近调试F149,因为数据量大,用部分FLASH做存储区。程序修改重新下载后,数据就没了。FLASH下载时把MAIN MEMORY全部擦除吗?有没有办法可以使用?
不知道你的下载方式,如果是在CCS里面的话在Debug那里选择Debug Configurations->选中你的工程->Target->MSP430 Flash Settings->Erase Options->选中·Erase and download necessary segments only (Differential Download)就好
用的Uniflash的话就在Settings&utilitiles->Download->Erase Options->选中·Erase and download necessary segments only (Differential Download)就好
非常感谢user4190700的详细回复,我用的是IAR5.1,没有擦除necessary segments的选项。不知除了换编译器还有没有其他办法,谢谢。
感谢您的回复,我刚用UNIFLASH,选择型号F149,擦除那里没有地址范围选择。我选了个FG系列的芯片,再次配置,就有擦除范围的选择,也许型号不支持吧。