![Ronetix PEEDI Скачать руководство пользователя страница 66](http://html1.mh-extra.com/html/ronetix/peedi/peedi_user-manual_1485040066.webp)
Using PEEDI
[INIT_TMS470]
; dummy read the four keys
mem read 0x0000ffe0
mem read 0x0000ffe4
mem read 0x0000ffe8
mem read 0x0000ffec
; try to unlock the device using the correct MSM keys
mem write 0xFFFFF700 0xXXXXXXXX
mem write 0xFFFFF704 0xXXXXXXXX
mem write 0xFFFFF708 0xXXXXXXXX
mem write 0xFFFFF70C 0xXXXXXXXX
Where 0xXXXXXXXX’s are the right MSM keys. The four word passwords location in the internal
FLASH for the MSM1 is placed starting from the last eight words of the first flash sector. Please
see the datasheet of your TMS470 CPU to check the right addresses of the keys in FLASH memory
and the addresses of the registers where the keys have to be entered. These passwords are used to
insecure the device in case it has been partly secured.
The ALLOW_ZERO_KEYS FLASH section parameter is used to protect the device from unwanted
permanent locking of the device - this may happen if MSM keys all of 0x000000000 are
programmed in to the FLASH.
Some TMS470 devices have internal Analog Watch Dog timer (AWD). The AWD must be disabled
in order to use PEEDI for debugging or programming. The AWD can be disabled by grounding the
AWD pin. Alternatively WDKICK_TIME CFG parameter can be used and PEEDI will kick
periodically the AWD.
Example:
http://download.ronetix.at/peedi/cfg_examples/arm7/tms470.cfg
PIC32, SmartFusion A2F, ADuC, EFM32 programming
Examples:
http://download.ronetix.at/peedi/cfg_examples/cortex-m/a2f200.cfg
http://download.ronetix.at/peedi/cfg_examples/arm7/aduc7034.cfg
http://download.ronetix.at/peedi/cfg_examples/mips/pic32.cfg
http://download.ronetix.at/peedi/cfg_examples/cortex-m/efm32.cfg
PEEDI User’s Manual
66