REVISION HISTORY .............................................................................................................. 26
Page 3
DCT-EDP Rev3.x User Manual
Dragonchip
We bring silicon to life
DragonFLASHTM
3 of 27
Rev1.3
1 Introduction
This document aims at describing the operation of the tool ‘DCT-EDP Rev3.x’.
DCT-EDP is primarily used for flash programming and debugging software
running on 8051-based System-on-Chip (SoC) devices from Dragonchip.
.
1.1 Box Contents
1. 1 x DCT-EDP Rev3.x
2. 1 x USB cable
3. 1 x 20-pin flat cable with 2x10 2.54mm connector
4. 1 x 6-pin flat cable with 1x6 2.54 connector
1.2 Useful links
Generally, all the products information is available in our website. Below are
some examples.
1. DC6688
1. Emulator – download latest software installer(Software SLP,
Emulator driver, and Source Code Template in one package) and
user manual
2. Technical website
Page 4
DCT-EDP Rev3.x User Manual
Dragonchip
We bring silicon to life
DragonFLASHTM
4 of 27
2. DC6288
1. Emulator – download latest software installer(Software SLP,
Emulator driver, and Source Code Template in one package) and
user manual
2. Technical website
.
Rev1.3
Page 5
Dragonchip
We bring silicon to life
DragonFLASHTM
5 of 27
2 Hardware
Debug / Programming
- Connect to PC
Rear panel
Programming Port:
- Connect to IC
Debug Port:
- Connect to IC / POD
Front panel
Debug
Programming
VDD
2.1 Control Interface
DCT-EDP Rev3.x User Manual
.
Rev1.3
USB Port:
ON/OFF Button:
Power ON/OFF
device
Status LED:
Power ON
Front panel have two ports:
1. Debug port
甲、Keil use this port for debug and programming
2. Programming port
甲、Software SLP use this port for programming
SL
VSS
CLK1
PROG
CLK2
Page 6
DCT-EDP Rev3.x User Manual
Dragonchip
We bring silicon to life
DragonFLASHTM
6 of 27
Debug
P/N: DCT-EDP Rev3.0
USB
Target system
SL
Keil
Rev1.3
3 Debug
3.1 Hardware setup
Debug port provides JTAG and SL interface to IC package with JTAG and SL
pins. Prior to entering debug mode in Keil IDE, the firmware will be
downloaded automatically through this SL interface. JTAG interface is used for
debug communication.
There are two cases of connection depending on whether the package
provided with JTAG pins or not.
1. IC package with JTAG pins
.
JTAG
+
IC with JTAG
An example is DC6288FT32N3E. In this case, the debug port can connect
directly to the IC.
2. IC package without JTAG pins
Page 7
DCT-EDP Rev3.x User Manual
Dragonchip
We bring silicon to life
DragonFLASHTM
7 of 27
Debug
P/N: DCT-EDP Rev3.0
USB
Target system
Keil
POD
Emulator IC
Pin header
JTAG
SL
VSS
Reserved
PROG
TMS
SL
TDI
TDO
CLK2
TCK
CLK1
Reserved
VDD
Rev1.3
+
An example is DC6688FL96TT, TSSOP28 without JTAG pin. The DCT-EDP
has to connect to target system through a POD board.
.
3.2 Debug port pin assignment
VSS
VSS
VSS
VSS
VSS
VSS
VSS
Reserved
Reserved pins must be no connection.
VDD pin, with maximum output current 500mA, should be handled with care to
avoid conflict with the power from self-powered target system. They should not
be connected together unless target system power supplied by VDD pin of
Debug port. If the power of Dragonchip IC is supplied by self-powered target
system, VDD pin of Debug port should be left disconnected.
The following series are compulsory to connect VDD pin of Debug port,
instead of target system.
1. DC6688
2. DC6388
Ribbon cable is strongly recommended for better noise immunity.
Page 8
DCT-EDP Rev3.x User Manual
Dragonchip
We bring silicon to life
DragonFLASHTM
8 of 27
Pin
Description
Pin
Description
1
PD3
2
PD2
3
PC3 4 IRI
5
VDD(3.3V)
6
VSS
7
PC2
8
PD1
9
PC1
10
PD0
11
PC0
12
NC
13
PB7
14
PA0
15
PB6
16
PA1
17
PB5
18
PA2
19
PB4
20
PA3
21
PB3
22
PA4
23
PB2
24
PA5
25
PB1
26
PA6
27
PB0
28
PA7
29
PC5
30
PC4
31
PD6
32
PD5
33
NC
34
PD4
35
NC
36
NC
37
NC
38
NC
39
NC
40
NC
Rev1.3
3.3 Pin assignment on POD board
3.3.1 DC6688EMT-1TS-POD Rev2.0 board
This board can support both DC6688FST and DC6688FLT for those packages
without JTAG pins.
.
3.3.2 DC6288EMT-FT-POD Rev2.0 board
Page 9
DCT-EDP Rev3.x User Manual
Dragonchip
We bring silicon to life
DragonFLASHTM
9 of 27
Pin
Description
Pin
Description
1
VDD(3.3V)
2
VDD(3.3V)
3
VSS
4
VSS
5
PD3
6
PD2
7
PD1
8
PD0
9
PB7
10
PB6
11
PB5
12
PB4
13
PB3
14
PB2
15
PB1
16
PB0
17
PA7
18
PA6
19
PA5
20
PA4
21
PA3
22
PA2
23
PA1
24
PA0
25
PC3
26
PC4
27
PC1
28
PC2
29
NC
30
PC0
Rev1.3
This board can support both DC6288FT for those packages without JTAG
pins.
.
3.4 Software Installation
Install the following components in order:
1) Keil PK51 Prof. Developers Kit (recommend v9.55)
It must be installed prior to the following components.
2) Dragonchip ‘DC_TOOL_Rev3.2.1.exe’ or higher which includes the
following items:
a. Source Code Template
b. Emulator Driver
c. Software SLP
Page 10
DCT-EDP Rev3.x User Manual
Dragonchip
We bring silicon to life
DragonFLASHTM
10 of 27
Rev1.3
3.4.1 Source Code Template
This useful tool can help to generate Keil Project Templates for various
Dragonchip 8051-based MCU products with all necessary project settings for
using emulators. User can either start the development with the generated
source code template or compare the project settings with their existing Keil
project.
.
3.4.2 Keil Project Settings
All necessary Keil Project Settings are listed in this section. The settings might
vary from one part no. to another.
For illustration, DC6688FL96E is taken as an example.
1) Enter ‘Options for Target’
2) ‘Device’ Tab - Select DC6688 part from the list.
Page 11
DCT-EDP Rev3.x User Manual
Dragonchip
We bring silicon to life
DragonFLASHTM
11 of 27
Rev1.3
.
3) ‘Target’ Tab
Note: The Clock frequency in this page is invalid setting. The setting should be
selected in ‘Programming Setting’ instead.
4) ‘Debug’ Tab - Follow the settings shown below:
Page 12
DCT-EDP Rev3.x User Manual
Dragonchip
We bring silicon to life
DragonFLASHTM
12 of 27
Select Device
Frequency
Select paths of
project folder)
Model (2 bytes) – configure by Custom Info file
Checksum (2 bytes) – generate automatically from Program file
Rev1.3
5) ‘Utilities’ Tab - Follow the settings shown below:
6) Click ‘Settings’ in ‘Utilities’ tab to enter Programming Setting. Input relevant
settings for programming the emulator chip.
.
and Clock
Firmware files
(All these files
should be put
in the Keil
DragonICE does not support the following features.
B) Hardware
1) Voltage Supply
甲、The VDD of Debug port is fixed at specified voltage listed below. User
should only do emulation at this voltage level.
.
Rev1.3
2) Peripherals
甲、When the emulator is stopped in debugging platform, all the running
peripherals (e.g. timer 2) will still keep running. Hence, the
peripherals will be out of synchronization with the code instruction.
3) Counter A in one shot mode
甲、In one shot mode (CAM = 0), this bit have to reset to 0 every time
before setting CAS = 1.
3.6.2 Troubeshooting
1) Driver Installation
After installing the DragonICE driver, plug the emulator to PC, the driver will
be installed automatically for port connected. In case the PC fails to locate
the driver, select the driver path “C:\WINDOWS\system32” manually.
2) Upgrade Keil Project
When uv2/ uv3 projects are closed, user can choose to upgrade the project
to an uv4 project (*.uvproj).
3) Complie Keil Project
Always compile the code before entering the Keil debugging environment.
Otherwise the emulated flash content may not be updated and the debug
action may not match with the displayed code.
For example,
a) Cursor jumped to a wrong code location in debugger.
b) ‘Step’ instruction wrong executed as ‘Free Run’ instruction.
Page 16
DCT-EDP Rev3.x User Manual
Dragonchip
We bring silicon to life
DragonFLASHTM
16 of 27
4 Programming
4.1 Software Installation
Software SLP is required on PC to control the hardware. Detail refers to
section 3.4.
4.2 Hardware setup
.
Rev1.3
Programming port provides SL interface to IC. Software SLP will automatically
select this programming port to download firmware to IC.
During debug, this port is disabled automatically.
Warning: Keil IDE must exit debugger mode before using this port via Software
SLP.
Page 17
DCT-EDP Rev3.x User Manual
Dragonchip
We bring silicon to life
DragonFLASHTM
17 of 27
Programming
P/N: DCT-EDP Rev3.0
USB
SL
VDD
ISPSEL
VSS
XIN
DC6688FSX
PCB
DCT-EDP
.
Rev1.3
IC
Detail of Software SLP operation can refer to SLP user manual.
4.3 DC6688FSX
The 4-pin connection to the DCT-EDP’s programming port from chip is shown
below. 3-pin connection is not supported.
This specification is copyrighted by Dragonchip Ltd. No part of this
specification may be reproduced in any form or means, without the expressed
written consent Dragonchip Ltd.
Disclaimer
Dragonchip Ltd. assumes no responsibility for any errors contained herein.
Copyright by Dragonchip Ltd. All Rights Reserved.
Dragonchip Ltd.
TEL: (852) 2776-0111
FAX: (852) 2776-0996
http://www.dragonchip.com
.
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.