Flash programming

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

Flash programming

4,692件の閲覧回数
marchè
Contributor I
Hi..
When the micro is in the secure state, Can I program the flash memory from within the bootloader?
Or the bootloader must leave the micro in unsecured state?
 
Thanks...
 
 
ラベル(1)
0 件の賞賛
返信
3 返答(返信)

697件の閲覧回数
Ilocano
Contributor I
With the 9S12C32 in secure mode it is possible to erase and program FLASH. I added things to the SErial mon for this purpose.
0 件の賞賛
返信

697件の閲覧回数
imajeff
Contributor III
AFAIK, If there are no errata stopping it, then the bootloader can have full rain on the Flash within secure mode. In fact, if it were not able to erase Flash, then the MCU could not be unsecured so it is in the design.
0 件の賞賛
返信

697件の閲覧回数
Lundin
Senior Contributor IV
There is an errata stopping it for the old "B" masks:

In normal single chip mode, when security is enabled, it is not possible to launch the Program ($20), Sector-Erase ($40) and Erase- Verify ($05) commands in the Flash. The Mass-Erase ($41) command can be launched.

Same goes for EEPROM.
0 件の賞賛
返信