2002-10-15 05:48 AM
Flash controller instruction BTU (Block Temporary Unprotection)
2002-10-15 04:01 AM
Hi,
Do I need to execute the flash controller instruction BTU (Block Temporary Unprotection) of the ST10F269 out of internal flash (like the code protection) or can I execute it from RAM or external memory ? Regards,2002-10-15 05:48 AM
The Code Temporary Unprotect (CTU) command must be executed from Flash space. But the Block Temporary Unprotect (BTU) can be fed from any memory - external memory, RAM or Flash -.
In order to protect the device against code dumping, the customer need to use the Code Protection command. With this protection activated Flash memory cannot be accessed neither in read nor in write modes from any other memory than the internal Flash. - i.e. programming and erasure fetched from RAM or external memory will not work - Any illegal read access returns the ST10 op code 0x009B. Before any Flash modifications the CTU command must be executed to temporarily disable the code protection. the block protection is used to protect specific banks of flash from erasing 'by mistake' and is not done for piracy protection (because it can be easily deactivated). The boot code is usually the part of the code protected with this protection.