![Ronetix PEEDI User Manual Download Page 65](http://html1.mh-extra.com/html/ronetix/peedi/peedi_user-manual_1485040065.webp)
Using PEEDI
The device can be permanently secured-unsecured only sixteen times, because after that all
NVAPR1 bits are programmed.
Example:
http://download.ronetix.at/peedi/cfg_examples/arm7/str710.cfg
ST STR9 programming
PEEDI has built in commands for managing the STR9 In System Configuration (ISC):
flash this isc_erase - ISC full erase
flash this isc_erase 0x3 - ISC erase sector 0 and 1 of bank 0
flash this isc_conf_write 0x0001000000000000 - set bank 1 as boot
flash this isc_conf_read - print current configuration
flash this isc_boot_bank 0 - set booting from bank 0
flash this isc_boot_bank 1 - set booting from bank 1
flash this isc_lock - lock STR9 device
Example:
http://download.ronetix.at/peedi/cfg_examples/arm9/str9.cfg
TI TMS570 programming
Example:
http://download.ronetix.at/peedi/cfg_examples/cortex-a/tms570.cfg
TI TMS470 programming
TMS470 devices use four WORD long keys to protect FLASH from unwanted erase/write
operations, so be careful not to write them accidentally The keys are reported every time the
FLASH is programmed.
Every time PEEDI first tries to unlock FLASH using the default keys (0xFFFFFFFF), if fails it uses
the keys pointed out in the target configuration file. This way you can erase and program the
FLASH without the need of changing the keys for each operation, because during FLASH erase the
keys are automatically set to 0xFFFFFFFF.
In TMS470 devices that have Memory Security Module (MSM), if the currently programmed MSM
keys are different from 0xFFFFFFFF, you have to put this unlock sequence in the INIT section:
PEEDI User’s Manual
65