Download as pdf or txt
Download as pdf or txt
You are on page 1of 27

User Manual: BlueBoard-LPC214X

USER MANUAL BlueBoard-LPC214X

Revision 1.4

User Manual: BlueBoard-LPC214X

Revision 1.4 Author: Ashwin Athani For an !uestions" #on#erns" or issues su$%it the% to ashwin@ngxtechnologies.com &'X (e#hnolo)ies Pvt. Ltd. *rovides the en#losed *rodu#t+s, under the -ollowin) #onditions: (his evaluation $oard./it is intended -or use -or 0&'1&00R1&' 2030L4PM0&(" 20M4&5(RA(14&" 02UCA(14& 4R 03ALUA(14& PURP4505 4&L6 and is not #onsidered $ &'X (e#hnolo)ies Pvt. Ltd to $e a -inished end-*rodu#t -it -or )eneral #onsu%er use. Persons handlin) the *rodu#t+s, %ust have ele#troni#s trainin) and o$serve )ood en)ineerin) *ra#ti#e standards. As su#h" the )oods $ein) *rovided are not intended to $e #o%*lete in ter%s o- re!uired desi)n-" %ar/etin)-" and.or %anu-a#turin)-related *rote#tive #onsiderations" in#ludin) *rodu#t sa-et and environ%ental %easures t *i#all -ound in end *rodu#ts that in#or*orate su#h se%i#ondu#tor #o%*onents or #ir#uit $oards. (his evaluation $oard./it does not -all within the s#o*e o- the 0uro*ean Union dire#tives re)ardin) ele#tro%a)neti# #o%*ati$ilit " restri#ted su$stan#es +Ro75," re# #lin) +8000," FCC" C0 or UL" and there-ore %a not %eet the te#hni#al re!uire%ents o- these dire#tives or other related dire#tives. (he user assu%es all res*onsi$ilit and lia$ilit -or *ro*er and sa-e handlin) o- the )oods. Further" the user inde%ni-ies &'X (e#hnolo)ies -ro% all #lai%s arisin) -ro% the handlin) or use o- the )oods. 2ue to the o*en #onstru#tion o- the *rodu#t" it is the user9s res*onsi$ilit to ta/e an and all a**ro*riate *re#autions with re)ard to ele#trostati# dis#har)e. 0XC0P( (4 (70 0X(0&( 4F (70 1&20M&1(6 50( F4R(7 AB430" &01(70R PAR(6 57ALL B0 L1ABL0 (4 (70 4(70R F4R A&6 1&21R0C(" 5P0C1AL" 1&C120&(AL" 4R C4&50:U0&(1AL 2AMA'05. &'X (e#hnolo)ies #urrentl deals with a variet o- #usto%ers -or *rodu#ts" and there-ore our arran)e%ent with the user is not e;#lusive. &'X (e#hnolo)ies assu%es no lia$ilit -or a**li#ations assistan#e" #usto%er *rodu#t desi)n" so-tware *er-or%an#e" or in-rin)e%ent o- *atents or servi#es des#ri$ed herein. Please read the User9s 'uide and" s*e#i-i#all " the 8arnin)s and Restri#tions noti#e in the User9s 'uide *rior to handlin) the *rodu#t. (his noti#e #ontains i%*ortant sa-et in-or%ation a$out te%*eratures and volta)es. &o li#ense is )ranted under an *atent ri)ht or other intelle#tual *ro*ert ri)ht o- &'X (e#hnolo)ies #overin) or relatin) to an %a#hine" *ro#ess" or #o%$ination in whi#h su#h &'X (e#hnolo)ies *rodu#ts or servi#es %i)ht $e or are used. Mailin) Address: NGX Technologie P!"# L"d# &o.21<"2nd Floor"=th Main Road" R.P.C.La out"4**. Ban/ 4- 1ndia"3i>a ana)ar 2nd 5ta)e" Ban)alore-=<?1?4 Ph:@A1-B?-4?A2==?C

Revision 1.4

User Manual: BlueBoard-LPC214X

Chan)e Lo): Revision 1 to Revision 1.1: Changed the product image Added a note in section 3.2.8 for the SD/MMC connector regarding the card fi e format !pdated the "!S# $irtua C%M &ort 'nsta ation for (indo)s *&+ section

Revision 1.1 to Revision 1.2: Added a ",no)n issues+ section

Revision 1.2 to Revision 1.3 -he '2C ..&R%M issue )as reso ved/ hence de eted it from ,no)n issues ist

Revision 1.3 to Revision 1.0

Added a ne) section !S# 1oot2 oader.

Revision 1.4

User Manual: BlueBoard-LPC214X

(a$le o- Contents 1 $NTR%&UCT$%N##################################################################################################################' 1.1 BLUEBOARD FEATURES............................................................................................................. 2 GET G%$NG#########################################################################################################################( 2.1 S!STE" RE#U$RE"E%TS............................................................................................................ & 2.2 START$%' OFF...................................................................................................................... & 2.2.1 Connecting the hardware............................................................................ .................6 2.2.2 Programming BlueBoard.............................................................................. ................6 2.2.3 USB Boot-loader................................................................................................... .....7 ) BLUEB%AR& *AR&+ARE###################################################################################################11 3.1 FU%(T$O%AL O)ER)$E*.......................................................................................................... 11 3.2 +ARD*ARE (O%F$'URAT$O%S.................................................................................................... 12 4 BLUEB%AR& UT$L$T$ES#####################################################################################################21 ,.1 O)ER)$E*........................................................................................................................ 21 ,.2 START$%' OFF.................................................................................................................... 21 ' TR%UBLES*%%T$NG##########################################################################################################22 .1 USB )$RTUAL (O" -ORT $%STALLAT$O% FOR *$%DO*S .-................................................................. 22 ( SC*EMAT$CS#####################################################################################################################2' , SAMPLE APPL$CAT$%NS####################################################################################################2( - .N%+N $SSUES################################################################################################################ 2,

Revision 1.4

User Manual: BlueBoard-LPC214X

1 $NTR%&UCT$%N
1#1 BlueBoard /ea"ure

Bl/eBoa012L-(21,. is a e3al/ation 4oa01 5o0 L-(21,6 AR"7T"D$ 4ase1 mic0ocont0olle0. The L-(21,6 mic0ocont0olle0 has 128B o5 inte0nal 5lash an1 32968 RA". Following a0e the salient 5eat/0es o5 the 4oa01. Dimensions: 110 * 123 mm2 -)o a4er &C# 56R20 materia 7 &o)er: &o)er supp 4: DC 8.9$ )ith po)er :.D %n21oard inear regu ators generate ;3.3$/9<<mA and ;9v/9<<mA from po)er supp 4. !S# connector 5 as a ternate po)er source7. Connectors: .=tension headers for a microcontro er pins. RS232 connectors 527. $>A connector. &S/2 connector. ?-A> connector. SD/MMC connector. !S# #2t4pe connector )ith :in,2:.D. A periphera configura1 e via @umpers. %ther &eriphera s: 298A1 '2C 1ased ..&R%M Audio po)er amp ifier. 2 ine * 18 character :CD )ith 1ac, ight contro . Configura1 e for manua and automatic program do)n oad5'S&7 via seria port. 8 contro a1 e :.Ds on S&' using 30BC9C9.

Revision 1.4

User Manual: BlueBoard-LPC214X

2 Ge" going
2#1 S0 "e1 Re2uire1en"
*in1ows .Se0ial o0 -a0allel :o0t USB :o0t

2#2 S"ar"ing o33


2#2#1 Connec"ing "he hard4are A5te0 /n:ac;ing the Bl/eBoa01 connect a D( s/::l< o5 7. )=6>>mA to the D( ?ac; to :owe0 the 4oa01. The Bl/eBoa01 can also 4e :owe0e1 th0o/gh USB. To test all the 5eat/0es on the Bl/eBoa01 <o/ wo/l1 nee1 the 5ollowing accesso0ies@ 1. USB ca4le 2. A )'A ca4le 3. DB2A st0aight F/ll an1 +al5 mo1em se0ial ca4le ,. A hea1:hone=s:ea;e0 to 3e0i5< the DA( Once <o/ ha3e all these accesso0ies connecte1 to the Bl/eBoa01 <o/ can 0/n th0o/gh a sim:le test to 3e0i5< that all the :e0i:he0als a0e wo0;ing 5ine. -lease 0e5e0 to the B+a01wa0e (on5ig/0ationC section 5o0 testing all the :e0i:he0als. $t is highl< 0ecommen1e1 that <o/ test all the :e0i:he0als as soon <o/ 0ecei3e the Bl/eBoa01. The Bl/eBoa01 is shi::e1 with the :0e2loa1e1 5i0mwa0e which can test all the :e0i:he0als. 2#2#2 Progra11ing BlueBoard Bl/eBoa01 can 4e :0og0amme1 th0o/gh wiggle0 clone DTA' o0 th0o/gh se0ial :o0t /sing BFlash "agicC. BFlash "agicC is a 50eewa0e win1ows /tilit< /se1 1ownloa1 the hex 5ile 5o0mat onto the Bl/eBoa01. Flash "agic can 4e 1ownloa1e1 50om he0e htt:@==www.5lashmagictool.com=. $5 <o/0 -( 1oes not ha3e a se0ial :o0tE /se a USB to se0ial con3e0te0 to 1ownloa1 the hex 5ile /sing the Flash "agic /tilit<. Fo0 :0og0amming with DTA' <o/0 s<stem sho/l1 ha3e a :a0allel :o0t an1 the s/::o0ting $DE which can comm/nicate to the :0ocesso0 co0e o3e0 DTA' inte05ace. *e ha3e s/ccess5/ll< teste1 Bl/eBoa01 with wiggle0 clone DTA' an1 (0oss*o0;s $DE. A L$%U. /tilit< to 1ownloa1 the hex 5ile can 4e 5o/n1 he0e htt:@==www.:?0c.com=a0m=l:c2;F:gm=. -0og0amming Bl/eBoa01 Th0o/gh $S-. The Bl/eBoa01 can 4e :0og0amme1 th0o/gh $S- in two mo1es@ 1. A/to "o1e 2. "an/al "o1e

1. Au"o Mode5 To :0og0am in A/to mo1e <o/ nee1 a 5/ll se0ial ca4le. Set the ?/m:e0 to :ins 2 G 3 o5 D2& an1 connect the 5/ll se0ial ca4le to UART> HD I. *hen Bl/eBoa01 is :owe0e1 O% 4lac; 4oxes will 4e

Revision 1.4

&

User Manual: BlueBoard-LPC214X

1is:la<e1 on L(D. O:en Flash "agic toolJ select the a::0o:0iate (O" :o0tJ set the Ba/1 0ate to less than o0 eK/al to 36,>> 4:sJ select 1e3ice as L-(21,6J inte05ace as L None (ISP L an1 oscillato0 50eK/enc< as 12"+M. S:eci5< the :ath o5 <o/0 +E. 5ile an1 clic; START. The stat/s is shown at the 4ottom on the Flash "agic win1ow. $n the LSte! " - #!tion$ L chec; L%eri&' a&ter !rogrammingL an1 L(ill unu$ed &la$hL o:tions. (hec;ing the LSet Code )ead ProtL o:tion will not allow <o/ will :0og0am with DTA'. So ;ee: it /nchec;e1 /nless 0eK/i0e1. No"e5 1. $n A/to mo1e /n1e0 the LO:tionsL ta4 select LA13ance1 o:tionsL. $n this /n1e0 L+a01wa0e (on5igL ta4 ma;e s/0e the o:tions L U$e *+) and )+S to control )+S and P,.1" L an1 L-ee! )+S a$$erted while C#. !ort o!enL a0e chec;e1. The 3al/es o5 T1 an1 T2 a0e set to 1>>ms an1 2>>ms 4< 1e5a/lt. 2. A5te0 :0og0amming the 4oa01 in A/to mo1e <o/ sho/l1 1isconnect the se0ial ca4le 50om D . This is a ;nown iss/e.

2. Manual Mode5 To :0og0am in "an/al mo1e <o/ nee1 a hal5 se0ial ca4le Hwhich ?/st has T.J R. an1 '%D wi0e connecte1I. Set the ?/m:e0 to :ins 1 G 2 o5 D2& an1 connect the hal5 se0ial ca4le to UART> HD I an1 :owe0 the 4oa01. To ma;e the 4oa01 ente0 :0og0amming mo1e +ol1 1own S*2His:I an1 S*3H0esetIJ then 0elease S*3 5i0st an1 5inall< S*2 The cont0olle0 ente0s the 4ootloa1e0 mo1e i5 1/0ing 0eset the S*2 :in is low

2#2#) USB Boo"-loader The Bl/eBoa012l:c21,x can now 4e :0e2loa1e1 with the USB 4oot2loa1e0 5i0mwa0eN. *ith the USB 4oot2loa1e0 <o/ can sim:l< 10ag an1 10o: <o/0 com:ile1 4ina0< 5ile onto the 1e3ice as <o/ wo/l1 with an< USB 5lash 10i3eJ an1 it will /:1ate itsel5 acco01ingl<. %o nee1 5o0 se0ial :o0t 5o0 5lashing. To ma;e the 4oa01 ente0 Boot2loa1e0 mo1e@ A5te0 loa1ing USB 4oot2loa1e0 5i0mwa0eN to the Bl/eBoa012L-(21,.J hol1 1own S*1 HUSBBLI an1 S*3 HRESETIJ then 0elease S*3 5i0st an1 5inall< S*1.%ow the :0e2loa1e1 USB 4oot2loa1e0 allows <o/ to en/me0ate the 4oa01 as a "ass Sto0age De3ice .D0ag the com:ile1 4ina0< 5ile an1 10o: onto the 1e3ice an1 0eset the 4oa01 /sing S*3Jan1 the 5i0mwa0e 0/ns. %ote@USB 4oot2loa1e0 5i0mwa0eN is :0o3i1e1 as %'.FBTFLDR.hex. The Boot2Loa1e0 Exam:les an1 B$% 5iles can 4e 5o/n1 at USB Boo"-loader

Revision 1.4

User Manual: BlueBoard-LPC214X

S"e6 in!ol!ed in 1a7ing 0our .E$L 6ro8ec" co16a"i9le 4i"h "he 6re-loaded USB 9oo"-loader in BlueBoard-l6c214: 5 1;As shown in 4elow 5ig. O:en the O)ision $DE an1 go to /la h 22P Con3igure /la h Tool --<Targe"#

Revision 1.4

User Manual: BlueBoard-LPC214X

2; (hange the sta0t a110ess o5 on2chi: $RO"1 memo0< 50om > to >x2>>> as shown in 5ig. Be2 low .This is the a0ea whe0e /se0 :0og0am is :lace1 an1 has to 0/n when the cont0olle0 is 0eset.

Revision 1.4

User Manual: BlueBoard-LPC214X

); *ere in 3ig a 9elo4 'o to /la h 22P Con3igure /la h Tool --<U er#

$nse0t the /se0 comman1 in R/n Q1 tic;ing the chec; 4ox. A5te0 com:ile an1 4/il1 the enti0e :0o?ectJ50om el5 it c0eates hex 5ile along with the hex 5ile the0e will 4e anothe0 5ile with the extension .ax5. This /se0 comman1 is /se1 to con3e0t .ax5 5ile to .4in. +e0e in 5ig. A4o3e 5i0mwa0e.ax5 is con3e0te1 to 5i0mwa0e.4in which is /se1 5o0 10ag 10o: :0og0amming with the USB 4oot2loa1e0 that allows <o/ to en/me0ate the 4oa01 as a "ass Sto0age De3ice. %ote@The location o5 .ax5 5ile in the /se0 comman1 m/st 4e same whe0e its locate1 in the :0o?ect 5ol1e0. $n the a4o3e 5ig the 1e5a/lt location o5 .ax5 5ile is 5ol1e0 o4? in the :0o?ect 5ol1e0 so the /se0 comman1s goes li;e .Ro4?R5i0mwa0e.ax5.

Revision 1.4

1>

User Manual: BlueBoard-LPC214X

) BlueBoard *ard4are
)#1 /unc"ional %!er!ie4
2;1< C7ARAC(0R5 LC2 215PA6

P5.2 E06B4AR2 AU214 AMPL1F10R

C47C=A=

L 0 2 5

AU214 4U( DACE

52.MMC Conne#tor

LPC214;

2BA Fe%ale Conne#tor -or UAR(1 2BA Fe%ale Conne#tor -or UAR(?

BUFF0R

U50R BU((4&

U5B ( *e B #onne#tor

D(A'

3'A Fe%ale #onne#tor

Revision 1.4

11

User Manual: BlueBoard-LPC214X

)#2 *ard4are Con3igura"ion


Module and =u16er Rela"ion hi6 =u16er D& D6 DA D1> D11 D12 D13 D16 D1A Rela"ed Module UART> GUART1 )REF 3oltage Test LEDs AD( DTA' 8e<4oa01H-S=2I 8e<4oa01H-S=2I L(D L(D Bac;light U age (onnecting all :ins ena4les 4oth UART> an1 UART1.-ins 1 an1 3 ena4le UART an1 :ins an1 7 ena4le UART>. (onnecting this will set the )REF 3oltage to 3.3). (onnecting all :ins ena4les test LEDLs. -ins 3 to A a0e connecte1 to S-$> lines o5 L-(21,6. This will ena4le the AD( inte05ace This will ena4le the 1e4/g mo1e on the mic0ocont0olle0. This will ena4le the -S=2 :e0i:he0al. This will :0o3i1e ) s/::l< to -S=2 connecto0. (onnecting all :ins ena4le1 L(D. -ins 1 to 7 a0e 1ata linesJ A to 13 a0e cont0ol lines an1 :in 1 is ) :owe0 :in. $5 :ins 1 an1 2 a0e connecte1 the L(D 4ac; light will alwa<s sta< O% an1 i5 :ins 2 an1 3 a0e connecte1 the 4ac; light can 4e cont0olle1 4< 5i0mwa0e. B< connecting all :ins it ena4les $2( inte05ace an1 its stat/s is 1is:la<e1 on L(D. $5 :ins 1 an1 2 a0e connecte1Jman/al 4ootloa1e0 mo1e is selecte1 an1 i5 :ins 2 an1 3 a0e connecte1 a/to 4ootloa1e0 mo1e is selecte1.UART> to 4e /se1 5o0 this :/0:ose. (onnect a 4atte0< to /se RT(.

D22 D2 D2&

-owe0 s/::l< to 4oa01 (onnecting this will :0o3i1e 3.3) s/::l< to 4oa01. $2( Bootloa1e0 select

D27

RT(

Revision 1.4

12

User Manual: BlueBoard-LPC214X

G.2.1 L02s and 5P1? (est setu*: Connect @umpers to a pins of ?C to ena1 e the :.DDs. A fe) seconds after the # ue1oard is turned %E or resetF the :.Ds )i turn %E in ascending pattern and )i turn %66 in descending order and this pattern )i repeat three times. & ease note that a the :.Ds shou d g o)F this confirms the )or,ing of :.Ds. Eo)/ since the :.Ds are connected through a seria to para e converter this test a so confirms the )or,ing of S&'< of the :&C.

G.2.1 UAR(? H UAR(1 (est setu*: Connect @umpers to a pins of ?8. %pen the h4per termina as sho)n in the 1e o) image. -o test the !AR- 4ou can use either a fu modem or ha f modem ca1 e.

C ic, on h4per termina a GConnection DescriptionH )indo) opens. .nter a name under the name ta1 e.g. # ue#oard and c ic, %A.

Revision 1.4

13

User Manual: BlueBoard-LPC214X

A GConnect -oH )indo) opens )here 4ou have to se ect the C%M port. 'n this e=amp e it is C%M1.C ic, %A. A GC%M1&ropertiesH )indo) appears.Set the va ues as sho)n 1e o).C ic, %A.

Revision 1.4

1,

User Manual: BlueBoard-LPC214X

Ee=t an empt4 G# ue#oard2B4per -ermina H )indo) opens as sho)n.

Revision 1.4

User Manual: BlueBoard-LPC214X

Eo) ma,e sure that the # ue#oard is po)ered and the seria port is connected to the respective port to 1e tested 5!AR-< or !AR-17. #4 pressing an4 ,e4 from ,e41oard the fo o)ing message )i appear for the respective !AR-.

Revision 1.4

1&

User Manual: BlueBoard-LPC214X

6or !AR-<:

!AR-< can a so 1e used for seria programming. 'f the se ected 1oot oader mode is Manua then Ba f modem ca1 e shou d 1e used/ e se if it is in Auto mode use fu modem ca1 e. Eote that after programming in auto mode the seria ca1 e shou d 1e disconnected.

Revision 1.4

17

User Manual: BlueBoard-LPC214X

6or !AR-1:

G.2.G U5B #efore moving ahead )ith this section/ refer to USB >ir"ual C%M Por" $n "alla"ion 3or +indo4 section. XP

(est setu*: Connect the !S# ca1 e to !S# connector. -he po)er :.D 5D107 and !S# connect :.D 5D1<7 turn %E. -he !S# enumeration can 1e chec,ed in device manager. -he # ue#oard enumerates as a $irtua C%M port. -o test the $irtua C%M portF )e can test it as )e tested the !AR-</1 of # ue#oard.

Revision 1.4

16

User Manual: BlueBoard-LPC214X

G.2.4 3'A #onne#tor (est setu*: Connect the $>A connector on 1oard 5?137 to the computer monitor. A defau t image )i appear. -his confirms the )or,ing of $>A interface. & ease note that to test the $>A interface the user has to po)er c4c e the # ue#oard or reset it. -he $>A is active on 4 for fe) seconds.

G.2.= D(A' #onne#tor (est setu*: -o ena1 e de1ugging on the 1oard connect @umper to ?11 and connect the ?-A> to de1ug port. (e have successfu 4 tested the # ue#oard )ith ?-A> interface using a (igg er C one ?-A>. -o test this feature 4ou need to have the necessar4 soft)are support on 4our &C.

G.2.< User 1nter-a#e 5wit#h. (est setu*: -he S)itch S(1 is connected to one of the e=terna interrupt ines of :&C. -o test this interface simp 4 press the s)itch and 4ou shou d hear the 1eep sound on the 1uIIer. -his confirms that 1oth the interrupt ine and the 1uIIer modu e are )or,ing fine. & ease ensure that 4ou have connected the 1uIIer @umper appropriate 4.

Revision 1.4

1A

User Manual: BlueBoard-LPC214X

G.2.C BuIIer (est setu*: Connect @umper to ?23/ )hen the 1oard is turned on or R.S.- 4ou )i hear a 1eep after fe) seconds. -his is ho) the user can confirm the status of the #uIIer. G.2.B 52.MMC #onne#tor (est setu*: 'nsert a SD card in the SD card ho der 5?207/ the status of the SD card )i 1e disp a4ed on :CD upon po)er c4c e or reset of the # ue#oard. 'f the SD card is inserted proper 4 GSD card J %AH is disp a4ed on :CD e se it disp a4s GSD card2 Eot %AH. During manufacturing the 1oard is tested )ith Aingston+s 1># SD card. Eote: -he SD/MMC card 1eing tested shou d 1e formatted )ith 6A- fi e s4stem 5Eot 6A-32 or E-6S format7. G.2.A Audio >a#/ (est setu*: Connect a headset to the audio @ac, connector. Kou shou d hear a ding sound 1eing p a4ed. -he sound is heard on 4 for fe) seconds after po)er %E or R.S.-. G.2.1? P5.2 /e $oard (est setu*: -o ena1 e &S/2 connect @umper to ?19. Connect a &S/2 ,e41oard to this connector. Eo) press an4 ,e4 on the ,e41oard. -he user can see )hich ,e4 he/she has pressed on the :CD. G.2.11 LC2 dis*la (est setu*: -o ena1 e the :CD connect @umpers to a pins of ?18. A defau t message GE>* -.CBE%:%>'.SH )i 1e disp a4ed and ater status of SD/MMC and '2C is disp a4ed. -he 1ac, ight of :CD can 1e contro ed 14 connecting @umper to appropriate pins of ?1C. -he contrast of :CD can 1e varied using the &%-. G.2.12 R(C : A 22 pin connector ?23 is provided for R-C.Connect an e=terna 1atter4 to use the to this connector to )or, )ith R-C. G.2.1G A2C : -he ADC port is given to a &%-. -o test the ADC rotate the &%-/ as the &%- position varies the output num1er of :.Ds that are turned %E varies.

Revision 1.4

2>

User Manual: BlueBoard-LPC214X

4 BlueBoard U"ili"ie
4#1 %!er!ie4
Fo0 the wo0;ing with Bl/eBoa01 the0e a0e ce0tain tools that nee1 to 4e installe1. The tools 0eK/i0e1 to wo0; with Bl/eBoa01 a0e@ Flash "agic. The 5lash magic tool can 4e 1ownloa1e1 50om the 5ollowing lin;@ htt:@==www.5lashmagictool.com= Fo0 L$%U. machines <o/ ma< /se htt:@==www.:?0c.com=a0m=l:c2;F:gm= Tool chain@ To 4e a4le to gene0ate the hex o0 the 4ina0< 5ile the /se0 nee1s to install the tool chain 5o0 AR" 4ase1 mic0ocont0olle0s. An< toolchain can 4e /se1 as long as it is a4le to gene0ate the necessa0< 5iles 5o0 1ownloa1ing onto the Bl/eBoa01. +e0e a0e 5ew toolchain s/ggestions@ '%UAR" Tool(hain@
*$%AR" @ htt:@==wina0m.science:0og.com=wina0m2tools=:0e:a0e2gn/a0m2com:ile02toolchain25o02win1ows.html

Rowle< (0osswo0;s $DE@ htt:@==www.0owle<.co./;=a0m=

4#2 S"ar"ing o33

The 4oa01 is shi::e1 with :0e2loa1e1 5i0mwa0e to 3e0i5< all the a4o3e :e0i:he0als.

BlueBoard 2e-ault 5etu*: (hen 4ou receive the # ue#oard/ it )i 1e oaded )i a periphera s. %n connecting the po)er supp 4 a defau t message )i appear on :CD. -he interfaces are activated in the fo o)ing manner: !S#/ $>A/ Audio/ #uIIer/ :.Ds/ :CD/ SD/MMC/ '2C/ !AR-/ &S/2.

Revision 1.4

21

User Manual: BlueBoard-LPC214X

' Trou9le hoo"ing


'#1 USB >ir"ual C%M Por" $n "alla"ion /or +indo4 XP
The USB in Bl/eBoa01 might not get en/me0ate1 i5 it 1oes not 5in1 the a::0o:0iate 10i3e0 5o0 it. To chec; USB en/me0ation stat/s Right (lic; on S"< (om:/te0T icon an1 select "anage. A S(om:/te0 "anagementT win1ow o:ens. $n this select De3ice "anage0 as shown 4elow@

The 1e3ice /ses the u$/$er.$'$ 10i3e0. This 10i3e0 5ile is not /n:ac;e1 in *in1ows 4< 1e5a/lt an1 nee1s to 4e ext0acte1 50om a *in1ows .ca4 5ile which sho/l1 4e in the (@R*$%DO*SRD0i3e0 (acheRi36& 1i0ecto0< 5o0 *in1ows .- S-2. (hange 1i0ecto0< to C5?+$N&%+S?&ri!er Cache?i)-( ex:an1 the (AB 5ile 4< 0/nning the 4elow comman1 in (omman12-0om:t ex:an1 s:2.ca4 25@/s4se0.s<s (@R*$%DO*SRs<stem32R10i3e0s %ote@ On some s<stems li;e the .- home e1itionE ext0action o5 10i3e0 5iles 50om ca4 5iles might not 4e s/::o0te1. $n s/ch sit/ation the /se0 can 1ownloa1 the /s4se0.s<s 5ile 50om htt:@==4l/e4oa012 l:c21,x.googleco1e.com=5iles=/s4se0.s<s an1 co:< it to (@R*$%DO*SRs<stem32R10i3e0s 5ol1e0

Revision 1.4

22

User Manual: BlueBoard-LPC214X

%extJ 1ownloa1 the /s4se0.in5 5ile 50om htt:@==4l/e4oa012l:c21,x.googleco1e.com=5iles=/s4se0.in5 -lace it in an< con3enient 5ol1e0 -l/g in the 1e3ice A +a01wa0e U:1ate *iMa01 o:ens /:. Select the secon1 o:tion as shown an1 (lic; %ext.

%ote@ $5 the wiMa01 1oes not o:en /: a/tomaticall< then the /se0 nee1s to go the BDe3ice "anage0C win1ow an1 0ight clic; on the 1e3ice an1 select B/:1ate 10i3e0C Set the new ha01wa0e *iMa01 to sea0ch a s:eci5ic location 5o0 the 10i3e0J an1 s:eci5< the 5ol1e0 containing /s4se0.in5 The *iMa01 will :0om:t 5o0 the location o5 /s4se0.s<s. S:eci5< its location Hi.e. (@R*$%DO*SRs<stem32R10i3e0sI an1 (lic; %ext. The installation sho/l1 now com:lete an1 in1icate the 1e3ice has 4een inst alled. The 1e3ice sho/l1 now get en/me0ate1 /n1e0 SPor" @C%M A LPT;B o:tion in BDe3ice "anage0C win1ow.

Revision 1.4

23

User Manual: BlueBoard-LPC214X

To test the USB inte05ace o:en +<:e0 Te0minal 4< selecting the (O" :o0t s:eci5ie1 4< the s<stem. The (O" :o0t n/m4e0 assigne1 to the USB se0ial 1e3ice is not 5ixe1 an1 can change. To ;now the c/00ent (O" :o0t n/m4e0 the /se0 nee1s to loo; into the BDe3ice "anage0C :age /n1e0 S-o0tsH(O" G L-TIT . A5te0 selecting the a::0o:0iate (O" -ORTJ :0ess an< ;e< on ;e<4oa01E a message will 4e 1is:la<e1 in the h<:e0 te0minal win1ow as shown 4elow. This con5i0ms that the USB inte05ace on the Bl/eBoa01 is 5ine.

Revision 1.4

2,

User Manual: BlueBoard-LPC214X

( Sche1a"ic

A -DF 3e0sion o5 the schematic can 4e 1ownloa1e1 50om@ Sche1a"ic

Revision 1.4

User Manual: BlueBoard-LPC214X

, Sa16le a66lica"ion
The so/0ce co1e to 1emonst0ate the /sage o5 the 5ollowing :e0i:he0als can 4e 5o/n1 at &o4nload code U U U U U U U U U U U U U U Analog to Digital (on3e0te0 UART $2( E2-RO" D0i3e0 2 Rea1ing an1 w0iting to an i2c2e2:0om S-$ 2 Using S-$ in :olle1 maste0 mo1e to 10i3e 6x LEDs F$# +an1le0 )'A Time0 So5t Time0 2 Demonst0ates m/lti:le time0s with call4ac;s *atch1og SD=""( access -S2 2 (o1e to 1emonst0ate -S2 ;e<4oa01 A/1io 2 (o1e to 1emonst0ate wa3 :la<4ac; B/MMe02 (o1e to 1emonst0ate 4/MMe0 on exte0nal inte00/:t

E:a16le 5 1. The Boot2Loa1e0 Exam:les an1 B$% 5iles can 4e 5o/n1 at USB Boo"-loader 2. .eil a16le6ro8ec"

Revision 1.4

2&

User Manual: BlueBoard-LPC214X

- .no4n $

ue

AUT%-1ode $SP and 3ull 1ode1 ca9le *hile /sing the A/to2:0og0am mo1e 5o0 $S-E a5te0 :0og0amming the Bl/e4oa01 the /se0 nee1s to /n:l/g the 5/ll mo1em se0ial ca4le 5o0 the :0og0am to exec/te.

Revision 1.4

27

You might also like