
If you receive an "E: LOCKED" error message when entering a boot-loader command, the part has
its security lock set. To unlock the part, simply enter the unlock command (U) at the loader prompt,
>. This action will destroy the information stored in the processor's memory, but when the part is
unlocked, the register commands above can be entered. After issuing the Read Register command
(> R), the DS5002FP reports the status of registers MCON (0A) and RPCTL (81), as shown. The
DS5002FP also shows the status of the MSL bit (see
Secure Microcontroller User's Guide
details), which in this case is 01.
The DS8007 board is now ready to load the program file created with the Keil development tools.
1. Click "File" and then select "Load SRAM." Select the file DS8007-1.HEX and then click "OPEN."
The DS5002FP processor will respond with:
> Loading File ...\DS8007-1.hex
and will indicate load progress by displaying a series of dots.
2. When finished, the processor will report "Load complete." and the program can be executed by
clicking "Target" and then clicking "Disconnect from Loader."
Immediately after the bootstrap loader is disconnected, the processor begins running the program. The
MTK screen will show the program's output, "Hello DS8007 World!" Success!
Figure 5. MTK device selection.
Page 7 of 11