You are on page 1of 20

Red Dragon 407 Development Board

User's Manual
1
2 Directory
Chapter 1 Hardware Resources Overview
1.1 Preview of hardware resources
1.2 Chip-chip resources introduced
1.3 Development oard oard resources introduced
Chapter 2 Development !nvironment
2.1 "p the development environment
Chapter Pro#ram code pro#rammin#
3.1 $oard emulator download
3.2 !%ternal &-lin' downloads
3.3 (erial )(P download
Chapter 4 Routine demonstration and *umper line settin#s
+.1 )nfrared remote control decoder
+.2 D(1,$2- temperature ac.uisition
+.3 Camera
+.+ /P3 pla0
+.1 2/ Radio
+.3 Other *umper line use
Chapter ! Other Considerations
Chapter 1 Hardware Resources Overview
1.1 Preview of hardware resources
Red Dra#on +-4 development oard is a learnin# oard of the asic (5 (5/322+-46753
89:2P1++; processor< the processor uses the =R/ Corte% >-/+ ?ernel that core. =R/ Corte%
>-/+ is a 32-it /C" with 2P" unit< 21- D/)P(< up to the 1/$ 29=(H@1A2 B+ ?$ R=/<
"($ O57 H( @ 2(< !thernet< 14 timers< 3 =DCs< 11 communication interfaces and a camera port.
2re.uenc0 up to13,/HC. 5he processor is the latest emedded processor 0 =R/ specificall0
developed to meet the need for effective and eas0 to use control and si#nal processin# functions
h0rid di#ital si#nal control mar'ets. !fficient si#nal processin# functions with the Corte%-/
processor series low-power< low-cost and eas0-to-use comination of advanta#es desi#ned to meet
specificall0 for motor control< automotive< power mana#ement < emedded audio and industrial
automation mar'ets emer#in# cate#or0 fle%ile solutions.
1.2 Chip-chip resources introduced
=R/ Corte% >-/+ processor< runnin# at up to 3, /HC of fre.uenc0 with 2P" unitD
)n-s0stem pro#rammin# 8)(P; and )n-=pplication Pro#rammin# 8)=P; 1/ on-chip 2lash pro#ram
memor0D
Cloc'< reset and suppl0 mana#ement
2.- to 3.3 E power suppl0 and ) @ O pins< power on @ off reset 8POR @ PDR;< pro#rammale volta#e
detector 8PED;< inline + to13 /HC hi#h speed cr0stal oscillator< factor0-trimmed ,/HC RC
oscillator< the internal +-'HC RC oscillator< P99 suppl0 the CP" cloc'< with 32'HC R"C
oscillator caliration D
9ow power consumptionD
(leep< (top and (tand0 modes E$=5 suppl0 for R5C and ac'up re#isters D
Deu# modeD
(erial Fire Deu# 8(FD; and &5=7 deu# interfaceD
9CD parallel interface< ,-,-@3,--D
3 G 12-it< 2.+ /(P( = @ D converter< 2+ the conversion channelD
2 G 12-it D @ = converterD
7eneral-purpose D/=H 13-channel D/= controller with 2)2Os and urst supportD
14 timerD 12< 13< and two 32-it timers that the numer of fre.uencies up to 13, /HC< each #roup
contains four input capture @ output compare @ PF/ or pulse counter channelsD
11 communication interfacesD
2 )2C interfaces 8(/$us @ P/$us;D
+ "(=R5( @ 2 "=R5s 81- /it @ s; interface< support for )(O4,13< 9)I< )rD= interface and
modem controlD
3 (P) 834.1 /it @ s; and two h0rid full-duple% )2( to achieve audio class accurac0 via internal
audio P99 or e%ternal cloc'< reset and cloc' suppl0 mana#ementD
2 C=I 82.-$ active;< an (D)O interfaceD
=dvanced ConnectionD
"($ 2.- full-speed device @ host @ O57D
"($ 2.- hi#h-speed@full-speed device @ host @ O57 controller dedicated D
D/=< on-chip full-speed PHJ and "9P)D
1-@1-- !thernet /=C with dedicated D/=H supports the )!!!11,,v2 hardware /)) @ R/))D
, - 1+-it parallel camera interface 81+ /0tes @ s;D
"ni.ue A3-it )D.
1.3 Development oard oard resources introduced
2--pin &5=7 interface< the user can download and deu# the &-9in' 8ulin'; emulator.
R(232 to 559 serial converter module for the development oard and PC communication.
D(1,$2- temperature ac.uisition module<
5he IR22+l-1 wireless communication module< multi-loc' development oard can transmit data
wirelessl0
"($ to serial moduleD
(D)O operation (D cardD
)nfrared receiver moduleD
Onoard (P) 29=(H F21:13D
)ndependent user 'e0s
+ 9!D li#htsD
Camera interface leads 8oard with the OE434- routine;D
!thernet interface
2-wa0 C=I transceiver
"($ full speed @ hi#h-speed interfaceD
F/,A4, =udio decodin# chipD
=d*ustale resistance< for =D ac.uisition
5!=1434 radio modules
525 9CD module
R(+,1 transceiverD
I=ID IOR (R=/ rich resourcesD
!%ternal function pin all leads to facilitate the secondar0 development.
Chapter 2 Development !nvironment
2.1 "p the development environment

5he RealEiew /D? Development ?it from ?eil< 7erman0< is the =R/Ks latest software
development tools for a variet0 of emedded processors. 5he RealEiew /D? inte#rated the most
advanced technolo#0 in the industr0< includin# LEision3 inte#rated development environment
with RealEiew compiler. (upports =R/4< =R/A and the latest Corte%-/3 core processor< auto-
confi#uration startup code< compared to the inte#rated 2lash pro#rammer module< powerful
(imulation device simulation< performance anal0sis< and =R/ efore ?it =D( RealEiew
compiler 5he latest version of the performance improvement of over2-M. (o we choose /D? as
our development environment. )t is stored in the CD-RO/ N install software director0< the name
ismd'+11.rar.
5he /D? installation method and other Findows pro#rams< the process is as followsH
1. 5o decompression md'+11.rar< doule clic' to run< the followin# dialo#ue appears< clic' Ie%t
2. Chec' to a#ree to the license terms chec' o%< clic' Ie%t
3. (elect the installation path< clic' Ie%t< and wait for the installation can e completed.
+. 5he crac' of the software< ecause the software is not crac'ed the code siCe limit< so to crac'
normal use. 5he e%tract N the install software N /D?+11 R) Cip< run 'eillic.e%e. =s shown elowH
1. Open
alread0
installed the
?eil software
8if the the
win4 s0stem
needs to e
run as
administrator;<
clic' on the
toolar -O
2ile-O 9icense
/ana#ement<
as shown
elowH
C)D code is copied to the C)D o% crac'ed software 'eillic.e%e interface< 5ar#et option to select
the =R/< and then clic' 7enerate to #enerate license. 5he license was copied to the 9icense
/ana#ement in the Iew 9icense )D Code column and clic' =dd 9)C utton< to this crac' is
completed< close to the serial port can e.
Chapter Pro#ram code pro#rammin#
Red Dra#on +-4 development oard supports two pro#ram download< &-9in' download
8"9)I?;< serial )(P download.
3.1 &-lin' downloads 8Here 0ou can watch Red Dra#on 1-3 first video tutorial;

1. Jou must install the &-9in' driver< driver stored in the N install (oftware N
(etupP&9in'=R/PE+1+c.Cip<

2. &-9in' emulator connected to a correspondin# interface on the oard.
3. (ettin#s on the *umper cap $OO5H 8$OO5- $OO51 are connected to 7ID; IoteH here Read
the manual carefull0 QFan# $ao development oard user manual download methodQ
+. Open /D?
software< clic' on
the pro*ect
confi#uration
utton< as shown
elowH
1. "se
option is chec'ed in the Deu# ta< choose to use &-9in'< and clic' the Q(ettin#sQ utton to set as
followsH
3. )n the Deu# ta< chec' the "se option< choose to use the &-9in' and clic' on the Q(ettin#sQ
utton< as shown elowH
4. )f the connection to the emulator< the interface will displa0 relevant information< if 0ou want to
use the (FD< (FD Port option to select if 0ou want to use the &5=7 Port option to select the
&5=7< as shownH
,. Choosin# flash
A. 5o this set up< close the window aove< until the pro*ect compiled 0 clic' on the QdownloadQ
utton or deu##in# Qutton to download the pro#ram. =s shown elowH
3.2
(erial
)(P download
Here please reference QFan# $ao development oard user manual download methodQ
Chapter 4 5he routine demonstration and *umper line settin#s
5his chapter demonstrates part of the routine use of these routines related to the *umper
connection hardware< the other routines directl0 download and run to see the demonstration effect.
)n addition< the routine documentation will further instructions 8IoteH each routine contain the
Read/e.t%t instructions document and test methods< the routine will e updated< indicatin# the use
of routine document accordin#l0 with the new ;. 5he followin# are e%amples of several routinesH
+.1 serial communication
1. 5he serial cale "(=R5 port of the PC and the development oard< and &P the &P1 *umper cap
into 8see elow;
2. Compile and
download the
correspondin#
routines< deu##in#
assistant open the
serial port on the PC
side< aud rate to
1112--< 0ou can see
the serial output in
serial deu##in#
assistant. =s shown
elowH
+.2 "($ turn serial
1. 9oadin# "($-to-serial driver< software information to find
P923-3PProlificPDriver)nstallerPv121-.e%e and loadin#D
2. )nsert /)I) "($ cale< connected to the computer< a "($ 5O 232 to the "($ of computer
drive completion of the loadin#< virtual serial port.
3. Development oard of the *umper cap< &13< &1+ inserted near the "($ to serial port at the two
pins.
+. Compile and
download the
correspondin#
routines< deu##in#
assistant open the
serial port on the PC
side< set the aud rate
to 1112--<0ou can see
the output in serial
deu##in# assistant.
=s shown elowH
+.3 Camera
1. Plu# the camera into the C=/ camera soc'et< plu# the *umper cap &2-< &21< and displa0< as
shown.
2. Download and run the pro#ram< 0ou can see on the 9CD screen foota#e.
Chapter ! &umper 9ine Description
1.1 Other *umper line use
1H$OO5- and $OO51
2H
"35R (erial port to send "3RR (erial port to receive
P71+ Common terminal P7A Common terminal
!5H Ietwor' I!2 IOR f la sh chip select
3H
+H
1H &2-< &21 camera control lines
3 theH "($PH( *umper cap
4H
&13 P23 =DC =D test *umper cap
&+ D13 "35R (erial transmission line
&1 D1+ "3RR (erial receive line
,H
C=IRR C=I5R C=I1 transceiver
P $13 P$12 Common terminal
"C( "D( (erial transceiver line
AH &2< &3 C=I2 transceiver
1-H &11 29=(H chip select
2C(P$and $oard 29=(H C( selection terminal
PC13 Common terminal
2C(P9CD (creen 2lash C( choice side

11H
&4 )2C control lines for radio control
&,
Chapter # Other Considerations
1. "($ power suppl0 prolems
Fhen usin# the "($-powered< "($ power suppl0 current is limited< will cause the 9CD
displa0 dar'er.
2. Connected onoard emulator and e%ternal &-9in'
Fhen the on-oard the emulators and e%ternal &-9in' is connected to the computer< /D?
software loaded drivers ma0 e one of the two< and this ma0 e that 0ou do not use. (o tr0 not
to use oth emulator.
3. )mpact of camera
Fhen usin# the camera< the camera ) @ O and (D card< the "($ ) @ O utilities< the operation
will e conflicts.

You might also like