Flash programming

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flash programming

4,458 Views
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...
 
 
Labels (1)
0 Kudos
3 Replies

463 Views
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 Kudos

463 Views
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 Kudos

463 Views
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 Kudos