RS08 flash protect

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

RS08 flash protect

762 次查看
barbercolman
Contributor III

Hi

I have a working RS08 project that needs to be released to production. Looking at the data sheet I need to set FOPT. Because this is tied to flash should it be set in my code (c) or as part of the programming?

Thanks

标签 (1)
0 项奖励
回复
1 回复

601 次查看
bigmac
Specialist III

Hello,

 

You actually need to program the location NVOPT in flash memory.  Whenever a reset occurs, this value is automatically written to FOPT.  If your programming tool is capable of separately programming NVOPT, this method can be used.  However, this register can alternatively be cleared as part of the normal MCU flash programming procedure.

 

If the latter method is used, this is one less process that can potentially be forgotten during production.

 

If using the internal reference oscillator, calibration of the trim value is another process required during programming.  Your code might include a check that this has been done, and to provide some sort of external error indication during production testing, if forgotten.

 

Regards,

Mac

 

0 项奖励
回复