Maxim Integrated DS8007 Скачать руководство пользователя страница 7

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

 for

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

Содержание DS8007

Страница 1: ...executed by the on board DS5002FP microcontroller A simple Hello World example is provided as well as a number of functions in C source code that will demonstrate use of the on board LCD module Overv...

Страница 2: ...s not autoboot browse the CD root folder and double click on the index html file 2 Click the Install MTK button and click the Run button to begin installation 3 During the MTK installation select the...

Страница 3: ...ard s AVDD connected to smart card socket 1 pin S2 JU5 Installed Connect pins 2 and 3 Board s AVDD connected to smart card socket 1 pin S1 through 10K JU6 Not Installed JU7 Not Installed JU8 Installed...

Страница 4: ...New and typing the following information If you prefer downloading this file it is available for download ZIP 11kB File DS8007 1 C include REG5000 H special function register declarations for the DS50...

Страница 5: ...te Executable if it is not already and be sure that the Create HEX File box is checked Select the HEX Format of HEX 80 from the dropdown selector box as shown in Figure 4 All other selections in this...

Страница 6: ...lect Device window Figure 5 and click OK 3 Click Options and then click Configure Serial Port Select the Port e g COM1 of the PC to which the DS8007 board is connected Then select the Speed 38400 from...

Страница 7: ...r User s Guide for 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 fil...

Страница 8: ...y adjust R7 until the blocks just disappear This sets the contrast of the LCD so that the characters will be visible but spaces will not Follow steps 1 through 10 above Create the Vision Project to cr...

Страница 9: ...ar 5 if tmp 0 LCD_WRStr LCD_Str Write string to LCD strcpy LCD_Str Smart Card Interface Create 2nd line of LCD text tmp LCD_Curpos 2 1 Position cursor on line 2 char 1 if tmp 0 LCD_WRStr LCD_Str Write...

Страница 10: ...0 LCD module void LCD_WRCmd uint8_t LCD_Cmd LCD_EN 0 Make sure that the LCD enable is low LCD_RS 0 Set LCD register select and R W lines LCD_RW 0 LCD_Busy Make sure that the display is not busy LCD_Da...

Страница 11: ...osoft Corporation Related Parts DS5002FP Secure Microprocessor Chip Free Samples DS5250 High Speed Secure Microcontroller DS8007 Multiprotocol Dual Smart Card Interface Free Samples DS8007 KIT DS8007...

Отзывы: