RS08 flash protect

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

RS08 flash protect

789件の閲覧回数
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 返信

628件の閲覧回数
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 件の賞賛
返信