Intel IQ80321 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Intel IQ80321, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Intel IQ80321 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Intel IQ80321. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Intel IQ80321 should contain:
- informations concerning technical data of Intel IQ80321
- name of the manufacturer and a year of construction of the Intel IQ80321 item
- rules of operation, control and maintenance of the Intel IQ80321 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Intel IQ80321 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Intel IQ80321, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Intel service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Intel IQ80321.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Intel IQ80321 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    Intel ® IQ803 21 I/O Proce ss o r Evaluation Platform Bo ar d Ma nu al April 2 , 2003 Docume nt Number : 273521- 008[...]

  • Page 2

    2 Board Man ual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm INFORMA TION IN THIS DOCUME NT IS PROVIDED IN CONNECTION WITH INT EL® PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, B Y ESTO PPE L O R O THERW ISE , TO ANY INT ELL ECT UAL PR OPE RTY R IG HT S I S GR ANT ED BY TH IS DO CUM ENT . EXC EPT A S P ROV ID ED IN INTEL'S TERMS AND CO[...]

  • Page 3

    Board Manu al 3 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Contents Content s 1 I ntr odu c tio n ..... ..... .. ..... .. ..... .. ..... .. ..... .. ..... ... .... ... .... ... ..... .. ..... .. ..... .. ..... .. ..... .. ..... .. ..... .. ..... ... .... ... . .. . 13 1.1 Docum ent Purpose and S cope ...................................[...]

  • Page 4

    4 Board Man ual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Contents 3.7.4 R ota ry Swit ch.. .. ..... .. ..... .. ..... ... .... ... .... ... ..... .. ..... .. ..... .. ..... .. ..... .. ..... .. ..... .. ..... ... .... ... . 42 3.7.5 Battery Sta tus . ..... .. ..... .. ..... .. ..... .. ..... .. ..... ... .... ... .... ... .... ... ..[...]

  • Page 5

    Board Manu al 5 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Contents 3.10 .9. 20 Jumper J 3E1 ..... ..... .. ..... .. ..... ... .... ... .... ... .... ... ..... .. ..... .. ..... .. ..... .. ..... .. ..... .. 66 3.10 .9. 21 Jumper J 3G1 .... ..... .. ..... .. ..... ..... .. ..... .. ..... .. ..... ... .... ... .... ... .... ... ..... ..[...]

  • Page 6

    6 Board Man ual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Contents B.7. 6 S et ting Code|Lab Debu g Options ................................ ............................... .. ......... 99 B.8 Explo ring the Code|Lab D ebug Wind ows .. ................. .. ................. .. ................... .............. 100 B.8.1 Tool bar Icon[...]

  • Page 7

    Board Manu al 7 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Contents C.9 D ebugg ing Bas ics .. ................. ..................... .. ............... .......................... ..................... .. .. .1 1 9 C.9. 1 Overv iew .... .. ..... .. ..... .. ..... .. ..... .. ..... .. ..... ... .... ... .... ... .... ... ..... .. .....[...]

  • Page 8

    8 Board Man ual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Contents Fig ur es 1I n t e l ® 80321 I/O Processor Block Diagram ...................... ..................... ..................... ................ 16 2 Seri al- UART Communi cati on ... .... ... .... ... ..... .. ..... .. ..... .. ..... .. ..... .. ..... ..... .. ..... .. .[...]

  • Page 9

    Board Manu al 9 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Contents Tabl es 1I n t e l ® 8032 1 I /O Proc essor R elated Docume ntation Li st........................... ....... ....... ............ ....... 13 2 Electron ic I nfor mation ..... .... ... .... ... .... ... ..... .. ..... .. ..... .. ..... .. ..... .. ..... .. ..... ... ..[...]

  • Page 10

    10 Board Man ual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Contents 50 Switch S8E1 - 3: Sett ings a nd Opera ti on Mode ... .. ... .. ... .. .. ... .. ..... .. ..... .. ..... .. ..... .. ..... .. ..... ... .... ... . 60 51 Switch S8E1 - 4: Descri ptio ns .... ..... .. ..... .. ..... .. ..... .. ..... ... .... ... .... ... .... ... ...[...]

  • Page 11

    Board Manu al 11 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Contents Revision Histo ry Date Revision Description Apri l 20 03 008 Cha ng ed n ame an d r efe r e nces o f T este r1L ED to T est er3 21 LE D . M ar ch 2003 007 Re vise d Appe n dix B , “Ge tt ing Starte d an d De bu gg e r” . Ad de d A pp end ix C, “Ge tti ng S tart [...]

  • Page 12

    12 Board Man ual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Contents This p age intention ally left blank .[...]

  • Page 13

    Board Manu al 13 Introduction 1 1.1 Docum e n t Pu r pos e a nd Scop e Thi s do cume n t desc ri bes the In tel ® IQ 80 32 1 Eval uatio n P latfo rm Bo ard . This platf or m is targe t ed fo r the Int el ® 80321 I/O p roce ssor (8 03 21) . The b oar d serv e s as both an ev a lua tion platf or m fo r develop ers using 8 0321 as w ell as a C ustom[...]

  • Page 14

    14 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Int roduc ti on 1.3 Electronic In formation 1. 4 Component Re fere n ces Ta b l e 3 pr ovi des add itio nal info rmati on o n the m ajor comp on ents of IQ80 32 1. T able 2. Electronic In formati on Su pp or t T ype Lo cat i o n/ Co nt a ct The In tel World- Wide Web (W WW ) Lo[...]

  • Page 15

    Board Manu al 15 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Int roduc t ion 1.5 T erms an d Defi nit i ons T a bl e 4 . T e rm s a nd D efi nit ions Ac rony m/T erm Defi niti on ARM Re fer s t o bo t h the micro pro ce ssor ar chit ec ture a nd t he com pan y that li ce ns es it . CRB Cu stom er R efer enc e Boa rd ICE In- C irc ui t E[...]

  • Page 16

    16 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Int roduc ti on 1.6 I ntel ® 803 21 I/O Processo r About the I ntel ® 80321 I/O pr oces sor . The Intel ® 803 21 I/O pro cessor c ombines the I ntel ® XScale™ core with p owerf ul new featur es to create an in tellig ent I/O proces sor . This sin gle-fu nction P CI dev ic[...]

  • Page 17

    Board Manu al 17 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Int roduc t ion It is a n integr ated p rocesso r that add resses the needs of in tellig ent I/O appl ications and help s red uce intellig ent I /O sys tem cos ts. The P C I Bu s is a n in dustr y sta n dard , hig h p erf orma nce lo w la tency sys tem bu s. Th e 80 32 1 PCI B[...]

  • Page 18

    18 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Int roduc ti on 1.7 I ntel ® IQ80321 Evaluat ion Platform Board Featu res T able 5. Summ ary of Fea tures Featur e Def init ion B attery Bac kup Uni t: B attery bac k up circ u it for SDR AM – 64 M B f or 72 ho u rs. Et her ne t Port : Gigab it E ther net Debu gg in g/ Do wn[...]

  • Page 19

    Board Manu al 19 Getting S tarted 2 The I Q 80321 is a so ftwar e de v elop ment e nvir onm e nt for I nte l ® 803 21 I/O proc ess or . 2.1 Kit Content The I Q 803 21 K it conta ins the fol low ing item s: • Intel ® IQ80321 Evalua tion P lat form Board • Code| Lab* Develo pment Enviro nment from Accel era ted T echnology Inc orpo rat ed* • [...]

  • Page 20

    20 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getting Started 2.3 Factory Setting s Make s ure that th e swi tch/ju mper s ettin gs are set to pr oper po sitio ns as explained in Sectio n 3.10, “Swit ches and Jumpers ” on page 52 . 2.4 Development Strategy 2. 4.1 Supp ort ed T ool Buc ket s For d eve lopin g a nd de b [...]

  • Page 21

    Board Manu al 21 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Ge tting Started 2.5 T arget M onito rs 2.5 .1 Re dha t Re db oot Re dBoo t * i s an a cr o n ym f or “ R ed Ha t E mb edd ed D e bu g a n d Bo ot st r a p”, a n d i s t h e st and ard embe d ded sys tem de b ug/ boots tr ap en vir onme nt fr om R ed H at, re pla cin g th [...]

  • Page 22

    22 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getting Started 2. 5. 2 AR M F i rmw ar e S uit e The ARM Firmware S uite is a package o f low-level r outines an d librari es that have been designed to help dev elop ers rap idl y bring up appl ic atio ns and op eratin g s yste ms o n I ntel ® XScale™ microarch itecture-ba[...]

  • Page 23

    Board Manu al 23 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Ge tting Started 2.5. 2.1 ARM An gel Ange l is one of the de bug monit or pro gra ms f or 8 032 1. It is prov ide d in s ou rce an d bin a ry for m wit h the AR M Sof tw are D eve l opmen t T oolki t. It f eat ure s: • Debug capab ility , incl uding memory i nspec tion, imag[...]

  • Page 24

    24 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getting Started 2.6 Host Commu nications E xamples How to com mu nicate to the ho st. 2.6.1 Ser ial-UART Commun ication Using a seri al connecti on: 2.6 .2 Et h erne t- Ne tw ork Com m uni cat io n Usin g a ne two rk con nectio n: Figure 2. Seri al-UART Communication A9647-01 P[...]

  • Page 25

    Board Manu al 25 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Ge tting Started 2.6 .3 JT AG D ebug C omm unic ati on Usi ng a J T A G E mu lator : Figure 4. JT A G Debug Commu nication A9649-01 PCI/PCI-X Platform Server/Desktop/Backplane Intel ® 80321 I/O Processor Running a Debug Monitor SW Debugger Intel ® IQ80321 Evaluation Platform[...]

  • Page 26

    26 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getting Started 2.6.4 GNUPro GDB/Insight 2.6 . 4 .1 C om mu nic a ti n g wi t h Re dboo t Har dwa re S etu p: • Host with UNIX/Linu x or W in32 instal led • In t el ® IQ80321 Ev al uation Pla tfo rm Board with serial ca ble • Redha t Re dboot m onitor Fla shed t o t he p[...]

  • Page 27

    Board Manu al 27 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Ge tting Started T o br i ng up a Hy pe r T ermi n al s e ssi on o n a W in3 2 pl at fo rm : G o to S tar t, Pr ogra ms , Ac ce sso rie s, Com muni c atio ns, Hy per T ermin al • HyperT ermina l setup scree ns: — “ Connect ion Descrip tio n” Pane l: •E n t e r n a m [...]

  • Page 28

    28 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getting Started 2. 6.4.2 Conn ecting with GDB Below ar e the GD B comm ands entered from th e comma nd p rompt. Be su re system p ath is s et to access “xscale- elf-gdb.exe” . File name in examp le “hello”. B old typ e represent s input by user: > xscal e-elf-g db - [...]

  • Page 29

    Board Manu al 29 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Ge tting Started 2.6 .5 ARM Ex tend ed De bugge r For further inf or matio n on the A X D Deb ugg er, r ef er to the co nten t of the A RM ADS . Th is setup assumes that An gel is Flashed on the board: Descrip tion: T erminal emu la tor run s o n host and c om munica tes with [...]

  • Page 30

    30 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getting Started This p age intentiona lly le ft blank.[...]

  • Page 31

    Board Manu al 31 Hardware Refere nce Sec t ion 3 3.1 Functional Di agram Figure 5 sho ws th e functio nal b lock fo r the IQ 80 321. Figure 5. Functional Block Diagram A9517-01 Intel ® 80321 I/O Processor Intel ® 82544 Giga Ethernet Logic Analyzer Interface Secondary PCI-X Expansion PC1600 DDR Memory Memory Battery Backup FLASH ROM Secondary PCI-[...]

  • Page 32

    32 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3.2 Board Form-Factor/ Conn ectivity Ta b l e 6 summ arizes the form-fact or and conn ectivity f eatures fo r the IQ80 321. T able 6. Form-Factor/C onnecti vity Features De sc r i pt i o n The In tel ® IQ8 0321 Eval uati on Platf orm Boar d i s a f [...]

  • Page 33

    Board Manu al 33 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.3 Power The I Q 803 21 draw s po we r fr om th e PC I- X bus . T he p ow er r equ irem en ts fo r the IQ 80321 a re sho wn in Ta b l e 7 below . The number s do not i nclude th e power req uired by a P CI-X card mounted on the exp ansio n s lo[...]

  • Page 34

    34 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3.4 Memory Subs ystem Memo ry subs ystem cons ists of the SD RA M as w ell as th e Flas h mem ory sub sys tems. 3.4.1 DDR SDRAM The DDR SDRAM in terface con sists of a 64-bit w ide data path to suppor t 1.6 G B/ sec throug hput. An 8-bit Er ro r Corr[...]

  • Page 35

    Board Manu al 35 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.4.2 Flas h Mem or y Re quirem ents T ot al Flash mem ory size i s 8 MB . T a ble 1 0. Flash M emo ry Requirem ent s Description Intel ® I Q80 32 1 Eva lu at io n P l at fo rm Boa rd T o tal Fl as h si ze i s 8 M B IQ 8 03 21 Fl ash te ch no l[...]

  • Page 36

    36 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3.5 I ntel ® 803 21 I/O Processo r Operation Mode Pl ease re fe r to us er sw i tch es s ect i on fo r m od e set ting du ri ng re set .[...]

  • Page 37

    Board Manu al 37 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.6 Int errupt Rout in g The IQ80 32 1 Inter ru pt rou ting . Fi gur e 7 . Ext er nal I nt er rup t R out ing t o In te l ® 803 21 I/O Proces sor A9450-02 XINT0 Intel ® 80321 I/O Processor INT A# Gigabit Ether net U ART Interrupt INT A# from S[...]

  • Page 38

    38 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3.7 I ntel ® IQ80321 Evalu ation Platfo rm Board Perip heral Bus The I Q8 0321 p opu late s th e per iph eral b us as de pic ted by Figure 8 . The d evic es on the bus in clud e F lash RO M , UA R T , HEX di sp lay , and rot ary switch . Figu re 8. [...]

  • Page 39

    Board Manu al 39 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.7 . 1 Fla sh ROM T a ble 12. Flash RO M Fe atures Description Flas h i s an In tel ® S t rataFla s h ® te ch no logy – P ar t nu mb er: 2 8F6 40 Fl ash si ze i s 8 MB Th e conne cti on to th e per iphe ral b us i s depi cte d by Figure 9 F[...]

  • Page 40

    40 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3.7.2 UART T able 13. UART F eatures Description UA RT on th e pe rip he ral bu s is pa rt of t he 16C 5 50 fa mi ly . The co nn ecti on to the p er i phe ral bus is dep ict ed b y Fi gur e 1 0 . Figure 10. UART Connection on the Per ipheral Bus A945[...]

  • Page 41

    Board Manu al 41 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.7 . 3 HE X Di sp la y T a ble 14. HE X Display on the P erip heral Bus Description The I nte l ® IQ 8032 1 Eval ua tio n Pla tfo rm Bo ard incl ud es a HEX Disp lay u ni t on t he per iph eral bu s. Th e HEX di spla y co nta ins t w o dig it [...]

  • Page 42

    42 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3. 7. 4 Ro t ar y S w i tch The I Q8 032 1 pro vide s a R otar y S w itch f or the us er to se lect fr om d iffe re nt boot -up fla vor s . T able 15. Rotary Switch Requirements Description Rot a ry sw itc h ha s a 4-bi t re solut i on (16 p osi t io[...]

  • Page 43

    Board Manu al 43 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3. 7.5 B at tery Status T a ble 16. Battery S tatu s Buffer Requiremen ts Description The I nte l ® IQ 8032 1 Ev al ua tio n Pla t fo rm Bo ard prov id es th e fol lo win g sta t us for t he batt ery : • Batte ry -Pre sent statu s-bit on PB d[...]

  • Page 44

    44 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3.8 Debug In terface 3.8. 1 C onso le Ser ial Por t Th e pl at for m ha s one seri al p or t fo r d ebu g pu rp os e s a s d es cri be d in S ecti o n 3 .7 , “Inte l ® IQ80321 Eva lua tion Pl at form Board Periphe ral Bus ” on page 38 . 3.8 .2 E[...]

  • Page 45

    Board Manu al 45 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.8 . 3 JT AG Deb ug The IQ 803 21 has a 20 -pin J T AG con nector t hat is in comp liant with ARM M ul ti-ICE guid eline s. 3.8. 3.1 JT AG Port 3.8.4 Log ic-An aly zer Co nnec to rs Wa r n i n g : Be sure to ful ly understa nd the pin ass ignme[...]

  • Page 46

    46 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3.8. 5 Mic to r J3 F2 Wa r n i n g : Be sure to fully und erstand the pin assig nment s of the part icula r logic an alyzer bein g used before conne cting to t he I ntel ® IQ8031 0 Evalu ati on Pl atform Boar d. When vol ta ge is appl ie d, part icu[...]

  • Page 47

    Board Manu al 47 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3. 8.6 M ict or J2 F 1 Wa r n i n g : Be sure to ful ly understa nd the pin ass ignments of the particu lar logic ana lyzer being us ed before conne cting t o th e Intel ® I Q80310 Eva lua tion Pla tfor m Board. When volt age is appli ed , part[...]

  • Page 48

    48 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3.8. 7 Mic to r J1 C1 Wa r n i n g : Be sure to fully und erstand the pin assig nment s of the part icula r logic an alyzer bein g used before conne cting to t he I ntel ® IQ8031 0 Evalu ati on Pl atform Boar d. When vol ta ge is appl ie d, part icu[...]

  • Page 49

    Board Manu al 49 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3. 8.8 M ict or J3 C1 Wa r n i n g : Be sure to ful ly understa nd the pin ass ignments of the particu lar logic ana lyzer being us ed before conne cting t o th e Intel ® I Q80310 Eva lua tion Pla tfor m Board. When volt age is appli ed , parti[...]

  • Page 50

    50 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3.8. 9 Mic to r J2 C1 Wa r n i n g : Be sure to fully und erstand the pin assig nment s of the part icula r logic an alyzer bein g used before conne cting to t he I ntel ® IQ8031 0 Evalu ati on Pl atform Boar d. When vol ta ge is appl ie d, part icu[...]

  • Page 51

    Board Manu al 51 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.9 Board Reset Scheme Figure 15 de pic t s t he rese t s c he me fo r t h e IQ 80 321 . Ta b l e 2 3 l ist the re set s chem es fo r th e IQ 8032 1. T a ble 2 3. Reset Req uiremen t s/Sche mes Description Prima ry PCI r eset, re sets all d ev i[...]

  • Page 52

    52 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3.10 Switche s and Jump ers 3.10.1 Switc h S umm ary T ab le 24. Switch Sum m ary Swi t ch As so cia ti o n De s crip t ion Fact or y Default S7E1 -1 - S pare Off S7E1 -2 IOP RST_M ODE: Se ts IO P Re set-Mo de o per ation Off S7E1 -3 IOP RETRY : Sets[...]

  • Page 53

    Board Manu al 53 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.10 .2 PCIX Init ial izat ion Su mm ary Figure 16 show s a ro uting g uid ance on ho w P CI-X mo de is det ermin ed/imp lemen ted o n th e sec on dar y side o f th e P CI- X bri dge. T he Intel ® 8 032 1 I /O pro ces sor ( 80 321 ), G bE d evi[...]

  • Page 54

    54 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3. 10 .3 Defa ul t S wi t ch S etti n gs - V i su al T able 25. Switch S7E1 Off O f f Off a a. Use oppos it e setti ngs when using an 8 0300- BP B ackpl ane f rom Cy clone Micr o Sys tems or m ost other P CI- X b ackpl anes (switches S7 E1-3, S8E1 -7[...]

  • Page 55

    Board Manu al 55 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.10. 4 Jump er Summa ry 3.10.5 Con nector Summa ry 3.10 .6 Gene ral P urp ose In put/O utpu t Hea de r Th e bo ar d has th ree pr ogr amma ble ge nera l-p urpo se I/O pi ns (GP IO 0- 3 on th e 80321 ). T hes e pins ar e connect ed to a 6-pin, 2[...]

  • Page 56

    56 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3.10.7 Seco nda ry P CI/PCI -X Op er atio n Sett ings 3.10.8 Prima ry P CI/PCI -X Oper a tion Sett ings T able 34. Secon dary PCI/PCI -X Operati on Settings S7E1 -6 S7E1 -7 S7E 1-8 S 8E1-4 S8 E1-5 S8E2-1 S8E2 -2 S8E2 -4 Opera tion M ode Off Off Off O[...]

  • Page 57

    Board Manu al 57 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.10 .9 Det a il Desc ri ption s of Swit ch es/Ju mpe rs 3.10.9.1 Switc h S7E1- 2 /3 3.10.9.1.1 S7E 1-2: RST_MO DE RESET M ODE is latched at the de-asserting edge of P_RST# and it determines when the 80321 is held in reset until the Inte l ® XS[...]

  • Page 58

    58 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3. 10.9.2 Swit ch S7E1- 4/5 3.1 0 .9 .2 . 1 Sw itch S 7 E 1 - 4 This allo ws 8 032 1 to hide the d evi ce in P CI-X Slot 1 un der GPIO con trol. 3.1 0 .9 .2 . 2 Sw itch S 7 E 1 - 5 This a llows 8 032 1 to hid e the G bE NIC un de r GP I O contr ol. 3[...]

  • Page 59

    Board Manu al 59 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.10.9.4 Switc h S7E1- 8 T a ble 4 5. Switch S7E1 - 8: Des criptions Swi tc h As soc ia t io n Des cri p tio n Fa cto ry D e fa ult S7 E1- 8 S PCI -X C lo ck Ena bl es SP C I-X cl oc k ci rc uit e na bl e. Off T a ble 4 6. Switch S7E1 - 8: S ett[...]

  • Page 60

    60 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3. 10.9.5 Swit ch S8E1- 2 T u rn On t o en able o n- boar d G iga bit E th ern e t, ot her wis e O ff fo r b ett er PC I- X lo adin g/p e rf orm anc e. 3. 10.9.6 Swit ch S8E1- 3 Close t o enable b ridge to be th e arbiter . 3. 10.9.7 Swit ch S8E1- 4 [...]

  • Page 61

    Board Manu al 61 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.10.9.8 Switc h S8E1- 5 When this in put is pu lled h igh (o f f), th e br idge chan ges the out put i mped anc e o f the dri ver s to the oppo si te st ate th an w as assu med by def ault , a s sh own in Ta b l e 5 4 belo w: 3.10.9.9 Switc h S[...]

  • Page 62

    62 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3. 10.9.10 Switch S8E 1- 7 Used to e nable the IDSEL reroute function a t reset or power-up . T he re set value of the sec ondary bus private devi ce mask register is mo dified according t o the tie va lue of th e IDSEL_REROU TE_EN pin. 0 = on : r es[...]

  • Page 63

    Board Manu al 63 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.10.9.12 S witch S8E 2 - 1/2 Thi s feature fo rces the P CI-X Capab ility pin s fo r the expa ns ion sl ot to fo rce a conf igu ration o n the Secondar y PCI-X bus. 3.10.9.13 S witch S8E 2 - 4 T a ble 62. S witch S8E2 - 1/2: Descriptions Swi tc[...]

  • Page 64

    64 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3. 10.9.14 Switch S9E 1 - 1:3 3. 10.9.15 Switch S9E 1 - 4 T able 66. Switch S9E1 - (1:3) Descriptions S wit ch Ass oc iat ion Des cr ip tio n F ac tor y De fau lt S9E1-1 :3 PC I- X Bridg e P CIXC AP : Se t P rimary P CI-X c a pabil ity fo r t he bri [...]

  • Page 65

    Board Manu al 65 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.10.9.16 Switc h S1D1 - 1/2 Swit che s 1 an d 2 hav e to a lwa ys b e op posit e of e ach ot her . 3.10.9.17 Switc h S4D1 - 1/2 Swit che s 1 an d 2 hav e to a lwa ys b e op posit e of e ach ot her . 3.10.9.18 Switc h S4D1 - 3/4 Swit che s 3 an [...]

  • Page 66

    66 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section 3. 10.9.19 Jumper J1G 2 3. 10.9.20 Jumper J3E 1 3. 10.9.21 Jumper J3G 1 Initializat ion Dev ice Select: Use d as a chi p se lect during co nfigurat ion re ad a nd wr ite t rans actio ns on th e seconda ry bus . Appli catio ns t hat do not requ ire ac[...]

  • Page 67

    Board Manu al 67 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Har dware R e ference S ec tion 3.10.9.22 Ju mper J9E 1 Base Addr e ss R egister Enable: Used to en able the b ase address register at reset or powe r -u p . The 64-bit reg ister located at offsets x'10' and x'14' i s used to claim a 1 M B memor y regi on w[...]

  • Page 68

    68 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Hardware Refer ence Section This p age intentiona lly le ft blank.[...]

  • Page 69

    Board Manu al 69 Exte rnal RAID Sect ion 4 The IQ 80321 provid es the cap ability f or the us er to deve lop RA ID applicatio ns. Ther e is a requir ement to p rovide t he ab ility of ma kin g the second ary PCI-X d evices priv ate and the a bility to route t he in terrup t line s. The fo llowin g re qui remen ts des cribe thi s ca pability . 4.1 P[...]

  • Page 70

    70 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm External RAI D Section 4. 2 Inte r r up t Routi ng The i nter ru pt l ines f or de vices o n the SP CI -X b us (E xpa nsion S lot and Inte l ® 825 44 G igab it Et her net Controller r) are rout ed based on requir ements. T able 87. Interrup t Routing for Secondary P CI-X Priva[...]

  • Page 71

    Board Manu al 71 Softwa re Re fe renc e 5 5.1 DRAM For DD R SD RA M Size s an d Co nf igu rations , se e se ctio n 7.2 .2.1 , table 1 39 of t he Inte l ® 8032 1 I/ O Pr ocessor Devel oper ’ s Manual . Ta b l e 8 9 provid es DD R SD RA M Add ress Reg ister D efiniti ons , while t his sectio ns also co ntains m ultiple ex amples o f Address Regist[...]

  • Page 72

    72 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Software Refer ence 5.2.1 Flash RO M The Flash ROM is an 8 M B Intel ® St r ata F la sh ® (part# 38 F640) th at sits on th e Peripheral Bus and is accessed using P CE0. Under normal op eration , the very first instr uction access by the I ntel ® XScale™ cor e begins at loc[...]

  • Page 73

    Board Manu al 73 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Software R eference 5.2.2 UART The UAR T is a TL16C550C. It sits o n the Peripheral B us and is accessed using PCE1 and XINT1 # as sh ow n i n F igure 20 : See data sheet at th e fo llowin g lin k for more i nformat ion and a p in la yout of thi s devic e: ht tp://foc u s.ti.c[...]

  • Page 74

    74 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Software Refer ence 5.2.4 HEX Disp la y The H EX D is pla y is an A g ilent * H DSP -G211, wh ic h all ows f or m oni tor ing of t wo dig its. It sits on the Periphe ral Bus and is accessed usin g PCE2 and PCE3 as show n here : Redb oo t* uses ad dr ess r ang e 0xF E8 4 00 00 -[...]

  • Page 75

    Board Manu al 75 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Software R eference Figure 24. Register Bitmap: 7-Segmen t Display LSB FE85 0000 h (Write Only)[...]

  • Page 76

    76 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Software Refer ence 5.3 Ethernet The 8254 4EI u tilize s a 32/64 -bit, 33 /66 MHz dir ect-i nterface to the PCI bus. The co ntr oller in terfaces with the 803 21 thr ough on- chip comm and/statu s regi sters and using a shared m emo ry area. The i nten ded us age of thi s c hip[...]

  • Page 77

    Board Manu al 77 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Software R eference 5.4 Board Suppo rt Package ( BSP) Examples Examp les pr ov ided in th is section are ba sed on the R ed H at* Redboo t soft war e runn ing on the IQ80 32 1 bo ard . 5.4 . 1 Int el ® 803 21 I/O P roce ss or M emor y Ma p Figure 25 depicts the m emo ry space[...]

  • Page 78

    78 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Software Refer ence 5.4. 2 R edbo o t* In te l ® I Q80 32 1 Mem o ry M ap The virtual m emory ma ps us e a C, B, and X column t o indicate the cach ing po licy for the r egion. X C B Des cri pt ion 0 0 0 Un - cac he d/ Un- b uffe red 0 0 1 Un - cac he d/ Buff er ed 0 1 0 Ca ch[...]

  • Page 79

    Board Manu al 79 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Software R eference 5.4 .3 Re dboot In te l ® IQ 803 21 P hy sical Me mor y M ap - Visual Fi gur e 2 6. Redb oo t In tel ® IQ803 10 Ph ysical Memor y M ap ATU Outbou nd Tr anslat ion Win dow ATU Outboun d Dir ec t Addres si ng Window Battery Status (R) Rota r y Sw i tch (R )[...]

  • Page 80

    80 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Software Refer ence 5.4. 4 R edbo o t Inte l ® IQ8 032 1 Virtua l Mem o ry Map - Visua l Figu re 27 . Redb oo t Inte l ® IQ80310 Virtual Memory M ap ATU Outbou nd Tr anslat ion Win dow ATU Outbou nd Dir ec t Addres s ing Win dow Batter y Status (R) Rotary Swi tc h (R) 7-segm [...]

  • Page 81

    Board Manu al 81 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Software R eference 5.4 .5 Re dboot In te l ® IQ 803 21 Fi les Attache d in the kit, find a copy of the Red Hat eCos for Intel ® 80321 I/O processor r CD. Once the CD is ins tal led, y ou m a y fi nd: • • The Redboot initialization code sourc e files from the fol lowing [...]

  • Page 82

    82 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Software Refer ence 5.4.6 Redboot Intel ® IQ80321 DDR Memory Initializ ation Sequence In order to set the correct ECC bits, a D DR memo ry system (DIM M or discre te compone nts) mu st be written to with a kn own value. This proces s requires 64 -bit writes to the en tire DDR [...]

  • Page 83

    Board Manu al 83 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm Software R eference 5.4 .7 Re dboot S wit ch ing • S8E1-2 ON: E nable GbE on t he SPCI-X B us. • S8E1-7 OFF: P CI-X Br idge hide s devic es using Pri vate S pace Addre ss li nes. • S4D1 ON-OFF-ON- OFF: GbE and Expansi on Slot Priv ate Spac e. All oth er sw itch es are le[...]

  • Page 84

    84 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Software Refer ence This p age intentiona lly le ft blank.[...]

  • Page 85

    Board Manu al 85 IQ803 10 and IQ80 321 C omparisons A This app endix p rovides a brie f descrip tion f or differences be twee n IQ803 21 and IQ8031 0. Pl ease also refer t o applicat ion n ote : Mig rating fr om th e Intel ® 80310 I/O Pr oc e sso r Chipset to the In tel ® 80321 I/O P r oces sor A pplicat ion Note 273 56 2. Ta b l e 9 0 . I n t e [...]

  • Page 86

    86 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm IQ80310 and IQ80321 Co mpariso ns This p age intentiona lly le ft blank.[...]

  • Page 87

    Board Manu al 87 Getting S t arted and Debugger B B.1 Int rodu ction This appen dix per tains to Cod e|Lab versio n 2.2 and earl ier , w hich uses the M icrosoft V is ual Studio 6 .0. F or Co de| Lab vers io n 2 .3 and later, refe r to Appendix C, “Getti ng S t art ed a nd Debugge r” . B. 1.1 P urpo se The pur pose o f this app end ix is to hel[...]

  • Page 88

    88 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er B.1. 4 Rela te d Web Si tes • Ma cr aigor : http: //www .ocde mon.n et / • http :// devel oper .int el.com/ design/i nte lxscal e/dev _too ls/020523/ inde x.htm • http :// devel oper .int el.com/ design/i io/ 80321.h tm • http :// dev[...]

  • Page 89

    Board Manu al 89 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r B.2 Setup B. 2.1 Hardw ar e Se tup Us e Figure 2 8 and the rest o f the In te l ® IQ 80 321 E va lua tion Platf or m Bo ard Ma nual , t o s e t u p th e har dw are . • Connec t the Rave n to th e host via the paralle l port and to the [...]

  • Page 90

    90 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er B. 2.2 Soft war e Se tup A TI Co de|Lab is a plug-in to M icrosof t V isual S tudio 6.0; therefo re, Micro soft V isual Studio 6.0 mu st be installed o n the ho st system bef ore install ing A TI Code|Lab . T o lo ad A TI Code|Lab, r un setup[...]

  • Page 91

    Board Manu al 91 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r B.3 New P roject Set up B. 3.1 Creat i n g a N ew Proj e ct 1. Launc h Code |La b EDE an d se lect “T ools /Cust omize/Ad d-ins/ Macro Files ”. a. C h ec k “C o d e|L ab ED E ” an d cli ck Cl os e . 2. Sele ct “ Fil e/ Ne w …/[...]

  • Page 92

    92 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er B.3. 2 C on fi gu ra ti on On the to ol b ar, click on the ico n that loo ks lik e a fil e folder wit h the letter s “EDE ” on it . When t h e mouse ar row is p laced o n it, a text b ox displ ays “Proj ect Settin gs”. Note: T he re i[...]

  • Page 93

    Board Manu al 93 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r B.4 Fl ashin g with JT AG B. 4.1 O ve rv iew Code|L ab and the Raven are capab le o f readin g fro m, wr iting to , and era sing t he conten ts of the Flash on the ev aluation board. The bo ard come s with R edB oot load ed in the Flash. [...]

  • Page 94

    94 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er B.4. 2 Usin g Fl ash P rog r amm er Note: T he parallel p ort must be s et t o EPP mo de o r the Mac raig or R aven wi ll no t w ork pr ope rly . Down load the R edB oot executable f iles f rom t he follo win g lo cation: http :// devel oper [...]

  • Page 95

    Board Manu al 95 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r B.5 D e bug gi ng Out of Flas h JT AG debugg ers can be u sed on two leve ls; with or witho ut the sour ce code. W hen the Flas h is prog ram me d , the d ebu gger can m o nit or t he exe c utab le cod e, ha lt it, ste p t hroug h it, a n[...]

  • Page 96

    96 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er B.7 Ru nni ng th e Code |Lab De bug ger This s ectio n is provi ded t o ge t the sys tem up and run nin g in the Co de|L ab Deb ug e nvi ronm ent, b ut it is not inten ded as a full-funct ional tut orial. Please ref er to the ATI Co de|L a b [...]

  • Page 97

    Board Manu al 97 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r B.7.2 Man ua lly Load in g an d Ex ec ut ing an Applic at ion Progr am 1. Launc h the Code |L ab Deb ug Env ironment from the de sktop icon. 2. Ens ure “File…/Pro gram Load Opti ons/Load Executabl e and Symbols” is che cke d. 3. fi [...]

  • Page 98

    98 Board Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er B.7. 4 Using B reak po ints Note the small gr ay circles on the sidebar beside e ach line of s ource code. S ingle-cl ick any of the se gray circles and a red dot appears. The r ed dot r epresents a br eak poin t. Single-cl ick the red dot to[...]

  • Page 99

    Board Manu al 99 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r B.7 . 5 Ste pp in g Th r ough t he C o de The “led.c” file contain s a fu nc tion that is called from cod e in “blink.c”. T is exercise st eps through the code and uti lizes a few of the mos t commo n step tools. 1. Launc h the de[...]

  • Page 100

    100 Boar d Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er B.8 E x pl ori ng th e Code|Lab Debug Windows This sectio n discusse s some basics of the debu g environmen t. Som e of th ese windows and concepts have been dealt wi th duri ng pre vious exer cises in t his man ual. How eve r , many ne w w[...]

  • Page 101

    Board Manu al 101 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r B.8 . 6 R eg is te rs Wi nd ow Clos e all the activ e windo ws, th en bring up the Regis ters wi ndow . Resize the thi s win dow an d its columns to get a g ood vi ew of all the register s. Notice th at the re is a Flags tab at th e bott[...]

  • Page 102

    102 Boar d Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er B.9 De b uggi ng Ba sic s B.9. 1 Ove rvie w D e bugg e r s a l lo w d e vel o pe r s t o i n t e rr og at e a ppl ica ti o n co de b y al l o wi ng p ro gr a m flo w co nt rol , d ata obser vation, an d d ata m ani pulation . T he flow con [...]

  • Page 103

    Board Manu al 103 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r B.9 .3 Exc ep tio ns/T rapp in g A de bug e x cepti on c aus es the p roc esso r to re- direc t exe cutio n to a de bug e vent hand lin g ro uti ne. The Intel ® 80200 pr oce ss or de bug a rc hit ectur e def ines th e fo llow ing de b u[...]

  • Page 104

    104 Boar d Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er This p age intentiona lly le ft blank.[...]

  • Page 105

    Board Manu al 105 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r Getting S tarted and Debugger C C.1 Int rodu ction Th is ap pe nd ix p e rta i ns to Cod e| L ab v er si o n 2. 3 an d l a te r wh ic h u se s Mi cr os of t 's V i su a l S t ud i o .NE T . Fo r C o de |L a b ve r s i o n 2. 2 an d [...]

  • Page 106

    106 Boar d Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er C.1. 4 Rela te d Web Si tes • Ma cr aigor : http: //www .ocde mon.n et / • http :// devel oper .int el.com/ design/i nte lxscal e/dev _too ls/020523/ inde x.htm • http :// devel oper .int el.com/ design/i io/ 80321.h tm • http :// d[...]

  • Page 107

    Board Manu al 107 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r C.2 Set up C. 2.1 Hardw ar e Se tup Us e Figure 2 8 and the rest o f the In te l ® IQ 80 321 E va lua tion Platf or m Bo ard Ma nual , t o s e t u p th e har dw are . • Connec t the Rave n to th e host via the paralle l port and to th[...]

  • Page 108

    108 Boar d Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er C. 2.2 Soft war e Se tu p A TI Code | La b is a plu g-in to Micros oft V isual S tudio . NET , t herefor e Microsof t V isual S tudio .NET must alr eady be loaded on t he syste m. T o load A TI Code| Lab , run setup. exe und er th e program[...]

  • Page 109

    Board Manu al 109 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r C.3 New P roject Set up C. 3.1 Creat i n g a N ew Proj e ct 1. Launc h Code |La b EDE for .NET . 2. On th e Star t P a ge , s el ec t “N e w P roj ec t” . a. The “New P rojects ” wi ndow app ears. b. Sel ec t “Code|L ab Projec [...]

  • Page 110

    110 Boar d Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er C.3. 2 C on fi gu ra ti on Examine the mai n menu of Cod e|Lab EDE f or .NET . Since Code|Lab is a plug- in to V isual Studio, some o f these menu items are V isu al Studio and s ome are specific t o Code|Lab . Click on any of thes e menu i[...]

  • Page 111

    Board Manu al 111 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r C.4 Fl ashin g with JT AG C. 4.1 O ve rv iew Code|L ab and Rav en are capa ble of readin g from, wr itin g to, and eras ing the con tents of the Flash on the evalu atio n board. The b oard comes w ith RedBoo t loaded in the Flash . RedB [...]

  • Page 112

    112 Boar d Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er C.4. 2 Usin g Fl ash P rog r amm er Note: T he paralle l port must be set to EPP mod e or the Macraig or Raven will not work prope rly . Down load the R edB oot executable f iles f rom t he follo win g lo cation: http :// devel oper .int el[...]

  • Page 113

    Board Manu al 113 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r C.5 D e bug gi ng Out of Flas h JT AG debugg ers can be u sed on two leve ls; with or witho ut the sour ce code. W hen the Flas h is prog ram me d , the d ebu gger can m o nit or t he exe c utab le cod e, ha lt it, ste p t hroug h it, a [...]

  • Page 114

    114 Boar d Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er C.7 Ru nni ng th e Code |Lab De bug ger This s ectio n is provi ded t o ge t the sys tem up and run nin g in the Co de|L ab Deb ug e nvi ronm ent, b ut it is not inten ded as a full-function al tutori al. Please refer to the A TI Code|Lab D[...]

  • Page 115

    Board Manu al 115 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r C.7 . 3 D is pla yi ng S o urce C o de 1. Launc h the Code|Lab E DE Debug ger a nd open the “T ester321LED” ELF program. Note: Use th e Fil e/ R ec en t P r o g ram s m e n u fo r q ui c k ac ce s s. 2. Sel ec t the “Fil es” view[...]

  • Page 116

    116 Boar d Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er C. 7 .5 S te ppin g Throu gh t he Co de The “led.c” file con tains a fun ction that is called f rom cod e in “blin k.c”. This exerc ise steps thr ough the code an d utilizes a f ew of the m ost com mon step too ls. 1. Lau nch the de[...]

  • Page 117

    Board Manu al 117 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r C.8 E xplo r ing the Code| Lab Deb ug Wi ndo ws This section d iscusses som e basics o f the debug en vironm ent. Some of th ese windo ws and co ncepts hav e bee n de a lt with dur ing pr evio us ex erc ises in thi s man ual . Ho wev er,[...]

  • Page 118

    118 Boar d Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er C.8. 6 Reg ist ers Win dow Close al l the active w indow s, then br ing up t he Re gisters win dow . R es ize the this w indow and its colum ns to g et a good view of all th e reg isters. N otice that ther e is a Fl ags tab at the bott om o[...]

  • Page 119

    Board Manu al 119 In te l ® IQ8 0321 I/O P rocessor Evaluation Platfo rm G et tin g Sta rt ed a nd D e bu gge r C.9 D e bug gi ng Basi cs C. 9.1 O ve rv iew De bugge rs allow de velo per s to int e rroga te app licatio n co de b y allo wi ng p ro gra m flo w co ntr ol, d ata obs ervation , and data ma nipu latio n. The flow co ntr ol fun ctions in[...]

  • Page 120

    120 Boar d Manual In te l ® IQ80321 I/O Proc essor Evalua tion Platfo rm Getti ng Starte d a n d D ebu gg er C.9.3 C.9. 3 Exc epti ons/T rap ping A debug exceptio n causes the processor to re-direct executi on to a debu g event handling r outine. The Int el ® 80 200 proc ess or deb ug ar chi tect ure defi ne s the fo llo win g d ebug exce ptio ns[...]