Home

ZLP128ICE01ZEM Crimzon In-Circuit Emulator User Manual

image

Contents

1. User Manual Page 44 ZiLOG Table 9 VCR Brands Brand Zilog Code Numbers Sanky 154 Sansui 12 63 75 82 104 125 158 Sanyo 5 87 88 89 112 160 165 SBR 101 Schneider 20 Scott 19 38 64 144 159 162 167 173 Sears 3 5 25 26 28 32 72 80 86 89 112 113 161 165 Sentra 115 Sharp 4 6 65 65 171 Shintom 20 35 Shogun 160 Singer 35 Sony 148 149 150 151 152 STS 72 Sylvania 21 36 37 38 99 108 168 Symphonic 21 168 Tandy 21 Tashiko 21 161 Tatung 11 75 85 Teac 11 21 56 75 168 Technics 73 108 Teknika 21 22 67 108 161 168 TMK 146 160 166 Toshiba 19 26 28 32 38 64 99 123 162 Totevision 18 160 161 Unitech 160 Vector Research 12 126 158 162 163 Victor 12 104 105 158 Video Concepts 12 77 158 162 163 Videosonic 18 160 Technical Information on the IR Development Board UM018403 0207 Crimzon In Circuit Emulator User Manual Page 45 Table 9 VCR Brands Brand Zilog Code Numbers Wards 32 35 48 65 68 69 70 72 154 160 161 162 165 168 171 XR 1000 35 168 Yamaha 11 12 17 75 126 158 Zenith 124 151 152 Table 10 Cable Brands Brand Zilog Code Numbers ABC 7 8 9 10 Archer 11 12 Century 12 Citizen 12 Colour Voice 13 14 Comtronic 15 Eastern 16 Garrard 12 Hytex 7 Jasco 12 Jerrold 5 17 18 30 9 10 Magnavox 19 Movie Time 20 NSC 20 Oak 0 21 7 Panasonic 1 6 Philips 24 12 13 14 19 Pioneer 2 3 25 RCA 34 Regency 16 Samsun
2. rA GND 2 1 Vbat Vbat ROWO 7 3 COLO ROW COL1 ROW2 i a COL2 P004 1 ROWS GND 1 11 ND Cora por 14 13 24 ROWA GOLA RI POS ROWS m i COL5 ick P0490 5 ROW 20 19 COL In EN BC807 D tuF poe TZ 26 25 Vbat A PORTO J4 HEADER 13X2 R27 R4 R5 R6 1 10K 100 10K P20 a G p23 4 Pay P2566 4 R7 F P2666 L Q2 P27 3 Haro BC807 J2 1K PORT 2 e a 41 3 J5 2 je 1 2 4 3 i Pref1 P31 lt lt 5 5 1K n CT P3244 3 HEADER 3X2 9 Ps 5 a D Qs 6 x XK 2SD596 P35 PHOTODIODE P36 c yw p3700 8 R10 ul 1K PORT 3 MCU PIN 1 2 3 4 5 6 TEST POINTS ZLP12840 default OUT IN OUT ZLP32300 IN OUT IN ba AUF UZ 3 v c1 22 ES UE oy 4 bir RS232 DISABLED RS232 ENABLED Tul vi co HR es DEFAULT P1 amp pur os p 1 2 OUT 1 2 IN L TxD 13 our Tun HL LL Po7 3 4 IN 3 4 OUT of ts RTS oa 8 Rin BOUT 2 P32 CTS Vbat o o Vbat os EN bi S 3 VDD EN i 1 2 DB9 F MALE pw P mon bi 3 4 1 vbat lt GND H 2 leader 2x2 EN 3 ad N SP3220EBCA 7 Vbat R13 R14 J8 10K 10K Vbat HEADER 2 GND lt lt 3 GND U1 1 Vbat A0 veo S mND At we pL gt A2 SCL VSS SDA 240 16AN 10SI 1 8 8501C R2 10K Vbat 0 Vbat R9 330 R11 10 y x LED Ds y x LT1061 ND P35 x P35 E Q4 P36 a K 2N3904 R12 330 SW SPDT
3. User Manual Page 38 ZiLOG Table 8 Television Brands Brand Zilog Code Numbers 267 269 Philips 52 64 118 121 123 128 165 170 171 177 186 187 188 269 176 Pilot 118 Pioneer 59 77 112 118 120 189 190 237 243 264 Portland 94 109 118 119 120 126 Price Club 199 Proscan 111 115 239 Proton 14 26 94 103 120 123 191 244 118 Pulsar 113 118 Quasar 11 105 106 172 263 269 Radio Shack 34 37 83 294 3115 118 120 123 145 153 192 230 RCA 16 17 25 53 54 55 56 57 58 77 102 109 111 115 118 119 120 128 193 194 196 197 239 245 256 269 273 274 Realistic 50 118 120 123 145 153 192 230 Saisho 90 91 Sampo 108 118 120 Samsung 0 8 14 34 52 91 94 97 101 108 109 118 119 120 123 125 127 128 129 198 255 Sansui 260 Sansung 199 Sanyo 49 50 51 82 118 153 154 180 200 230 SBR 52 Schneider 52 Scotch 120 Scott 83 87 89 94 118 120 123 132 142 145 151 Sears 9 14 30 40 41 42 43 44 45 46 47 50 51 82 89 97 111 118 120 124 128 129 151 153 154 155 169 173 174 201 202 230 239 Seimitsu 14 Sharp 21 22 37 38 39 49 294 118 120 123 137 192 203 205 210 234 Technical Information on the IR Development Board UMO18403 0207 Crimzon In Circuit Emulator User Manual ZiLOG Page 39 Table 8 Television Brands Brand Zilog Code Numbers Shogun 118 Siemens 49 Signature 116 183 266 Simpson 121 Sony 114 117 259 268 272 Soundesign 14 83 95 118 120 121 145 1
4. P1 gt Lo HM ma ta Be 2 TS 5 6 EP r prH P26 p23 38 555 7 8s 540 rope P27 p22 p T 2PO e TEE REE 13 14 T 2P5 4H Pos Pos 34 T ip 15 16 oR raps O pig px i 5 2 Lem FT 310 py eno 2 m T 3P3 721 22 TP TIPS 111 vec Po2 TT E S E T3P7 a r IR_AMP_OUT 27 28 T_XOUT TXIN 15 XOUT Pot TVOG 29 30 TPT 18 1 XIN Poo 28 T Ran to LA ar po es Pt ope l Con 17x2 ES ES a H P33 p37 ps P34 _P35 22 RESET 20 nc RESET D2L ZLP32300 Target pins P2 a T_1PO 2 1 T_1P2 l K 3 TTB E a T_1P5 TAP7 HDR PIN 2x1 ie 2 T APO ir 13 T 4P2 C2 tur T 4P4 gt 16 15 T 4P5 H ie 17 T4P7 pd 20 1 2 1 pas p24 28 i 2 pos p23 LS Connector 10x2 3 p27 p22 p26 10K 4 pos poy 25 8 pos poo 24 i 8 pos pos 28 L poz GND 22 4 54 vcc NC Ci mH vec pop pa A 9 1 XOUT Por 20 4 lv am J 4 10 Xin Poo L192 I 11 dg SN74LVCTG34DCK 100pF m ren qz ES 3 3 oK S p37 LAR P34 p35 H5 ZGP32300 28 SSOP EiLOG Inc 32 Race Street San Jose CA 95126 Title ZLP12840 ICE Target POD 40 pin Size Document Number ev B 96C0996 001 C Date Friday February 03 2006 Sheet 1 of 1 P16 1 E 3 T 0P5 5 TOT 1 TT a T2P3 11 T 2P4 13 TS 15 17 e
5. Command usage is described in Table 3 UMO18403 0207 Install the Hardware Crimzon In Circuit Emulator User Manual Page 14 Table 3 Crimzon ICE Commands Command Description and Options 2 Displays available emulator command shell options bpool Displays buffer pool information date Displays current date debugport Configures the TCP port Usage debugport displays current setting debugport tcp port sets debugport to specified TCP port Example debugport 4040 sets debugport to TCP port 4040 devs not used echo Echoes arguments typed into the command line exit Exits the command shell hang not used help Displays available emulator command options ifconfig Configures the emulator network interface Entering ipconfig with no options lists current configuration The following command options are available e i specifies an IP address e s specifies a subnet mask e g specifies a network gateway address dhcp configures the emulator network interface to look for a dhcp host to obtain network settings Example ifconfig i 192 168 1 1 s 255 255 255 0 g 192 165 1 254 configures the emulator to use IP address 192 168 1 1 on subnet 255 255 255 0 with gateway address 192 168 1 254 To configure the emulator to use DHCP enter ifconfig dhcp on kill not used Install the Hardware UM018403 0207 Crimzon In Circuit Emulator User Manual Page 15 T
6. Program counter position with mask e Data on Port0 state of its pins with mask e Data on Port2 state of its pins with mask Data on Port3 state of its three input pins with mask External Trigger In 0 or 1 Let s define a simple event and see how it works 1 Select Tools gt Trace and Event System The Trace and Event System window appears Figure 14 UMO18403 0207 Running a Sample Project Crimzon In Circuit Emulator User Manual Page 22 p Ln wo po 10 Trace and Event System X v Enable event system When Then Program Counter Break C Event Position in Buffer Pont Bo ue A II NO Pon po e Reset Event Conce Figure 14 Trace and Event System Window Click the Enable Event System check box and click the Break check box In the When section click the Program counter check box and set the Program Counter to 0044 and the Mask to FFFF Click OK Open the Trace window by selecting View Debug Windows gt Trace In the Trace window click the Clear Trace button Reset the Debugger by clicking the Reset button in the toolbar or by selecting Build Debug gt Reset Run the Debugger by clicking the Go button or by selecting Build gt Debug Go When the program counter reaches 0044 execution stops on event match Click Get Frames to display the trace information Study the contents of the Trace window to see how th
7. 19 21 T_3P3 a T37 25 IR AMP CUT a T VCC v Es i 33 Con 17x2 T_3P1 Ut T 2P5 T 2P4 pme HFS P24 pg S ee P23 LTE ror p27 P22 PT ros E Pos pat Har e jeo P20 23 T opr H Pos Pos AiD rycc Por GND 22 TOPZ T XOUT amp vec pis p TON 37 XOUT pot err c een Fak ren Hrs H Poe pas HiT S PS p37 18 Trcses EA 1 4 nod beg OS ZLP12840 target pins Ji 1 2 R3 33 HDR PIN 2x1 C2 0 tuF 1 u2 ill 28 Ri S G id mor poo 28 19k 4 pos p21 25 5 pos pop or u3 4 pos Pos 23 E 22 3 j P07 GND 5 VCC NC ct 81 vcc Po2 21 A 2 4 xouT Por 20 4t y GND 3 J 10 XIN Poo 12 l 117 p31 Prefi H8 SN74LVC1G34DCK 100pF 12 eft a7 ES P32 P36 n Pas p37 LAR P34 p35 LAR ZLP12840 28 SSOP EiLOG Inc 32 Race Street San Jose CA 95126 Title ZLP12840 ZGP32300 ICE 28 pin Target POD Size Document Number ev B 96C0970 001 C Date Friday February 03 2006 1 of Sheet 1 P16 LOPO T PREFi F T 0P1 T 2P5 ane F T 2P4 3 4 T3p7 H P26 P23 18 J 5p5 5 6 E 3 P27 pas 18 pp T 0P7 T E T 2P0 007 Por pat trap TPT a i T 2P2 T XOUT 24 VDD PAQ Liter
8. ICE provides a universal remote control development platform for ZiLOG s ZLP12840 and ZLP32300 families of IR microcontrollers The board supports both 20 and 28 pin PDIP devices without adapters The adapters and converters described in Table 4 provide support for other Crimzon fam ily package types Schematics for the IR development board are appended to this publication IR Development Board Operation Three digit codesets enable the IR development board to be used as a remote controller for a variety of devices Codeset tables are available from ZiLOG customer support www ZiLOG com Applying Power to the Board Insert the two AA batteries supplied with the kit into the battery holder on the bottom of the IR development board and set the Battery Power switch to the ON position Crimzon Package Support and Ordering Information UMO18403 0207 Crimzon In Circuit Emulator User Manual ZiLOG Page 31 You can also apply an external 3 0VDC power supply to the board between terminals J7 Vbat and J8 Gnd The board supports a voltage range of 2 0VDC to 3 6VDC Match your ZDS II project settings to ensure proper operation Enabling the Universal Remote Control Feature Use the following procedures to enable a universal remote control 1 Changing a device device can be TV VCR CABLE SAT and so forth Press and release any device key for example a TV VCR CABLE or AUX1 2 Changing a code CODE is the three digit number for
9. TPS 11 12 oi OUT GND TO 13 14 TF XIN pot HE ZR 15 16 o El P31 POOPrefi Ha ppp a 17 18 TOPO_T PREF1 PY pez pag 12 Trspa 19 20 O p33 pas LL 21 22 T 23 24 LN ZLP12840 Pins 25 26 27 28 ai OUT rog x e 1 31 32 T_3P1 33 34 Con 17x2 2 1 2 HDR PIN 2x1 R3 33 C2 oUF ue IT pas p24 28 Ri 2 pag p23 22 n 3 p pop 28 4 pos P21 29 SE E Poo 24 u3 6 amp 1 Poe pos 23 y L poz GND 22 4 5 vcc NC E ct 8 vec P02 21 i A 1 Y XOUT pot 20 Y GND F3 10 Xin poo 12 ui 117 pat Preft H8 SN74LVCTG34DCK MEL uz os I CIL oz cal p37 LAR P34 p35 H5 ZLP12840 28 SSOP ul EiLOG Inc 32 Race Street San Jose CA 95126 Title ZLP12840 ZGP32300 ICE 20 Pin Target POD Size Document Number ev B 96C0971 001 c 1 of Date Friday February 03 2006 Sheet 1 J1
10. existing hex file into emulator RAM and burn it onto the OTP chip gt Note Do not connect to the emulator when programming windowed CDIP parts Refer to Burning Code from an Existing Hex File on page 26 when pro gramming windowed CDIP parts Burning Code from the Current Project To burn code from the project currently built in ZDS II loaded in emulator RAM 1 Ifyou are currently in debugging mode stop by clicking Build gt Debug gt Stop Debug or pressing Shift F5 2 Connect the OTP programming module to the emulator as described in Connecting the Crimzon ICE to the OTP Programming Module Optional on page 6 3 Select the OTP chip you wish to burn and the appropriate package converter 4 Install the package converter if used into the ZIF socket on the OTP programming module 5 Install the OTP chip you wish to burn into the ZIF socket on the OTP programming adapter Match pin 1 of the chip with pin one of the ZIF socket In ZDS II open the project for the code you wish to burn onto the chip In ZDS II connect to the emulator by pressing the Connect to Target button Select Tools gt OTP Programming to open the OTP window Figure 15 OTP Programming UMO18403 0207 Crimzon In Circuit Emulator User Manual Page 25 Device ZLP12840X2828 Programming Option Bits Device Serialization C EPROM Protect pui O PO 0 3 Pull ups C Sequential 1ButeC Po 4 7 Pull ups C Pseudor
11. swi o2 Vbal gt gt Vbat 4 POWER ON o BT SN fur cc 0 01uF T BATTERY E GND gt GND ZiLOG Inc 32 Race Street an Jose CA 95126 Title IR Development Board Size Document Number ev B 96C0988 001 B Date Monday August 22 2005 Bheet 1 of 2 1 R15 330 m LED UA u5 ba A d P25 P24 P25 P24 3 LED pog 1 P25 P24 28 pr pog 1 P25 p24 20 p5 LEDS p57 3 P26 pag 2L S55 p57 3 P26 p23 12 _ 5 TES R16 330 D5 por a P27 p22 26 p5i p07 H P27 p22 8 p5t 5 TEpe pog 4 P04 P21 258 JVEAT 4 P07 pat Z 555 6 TED 4 LED2 e x p06 3 Pos P20 23 3 xour 3 VoD P20 H GND LED e LED a ED por H Pos pna oND NH ROUT GND H5 Ppor R17 330 D6 J
12. the code selected from Tables 8 through 11 Press and hold the device key for three seconds LED D2 stays ON for three seconds and then turns off Release the device key LED D2 is ON 4 Press and release the three digit keys one by one LED D2 stays OFF when pressing a key and ON when the key is released 5 LED D2 turns OFF if the three digit code is accepted If the number is rejected or is invalid LED D2 blinks quickly eight times Try reentering the code number Key Matrix The IR development platform key matrix has eight rows and columns with two alternate configurations The default configuration uses the eight port 2 input pins as column sig nals for key press detection and the eight port 0 output pins as row signals for the key scanning signal This configuration provides 64 keys The key matrix is shown in Table 5 See Figure 2 for key locations Table 5 IR Development Board Key Matrix K1 K2 K3 K4 K5 K6 K7 K8 SUR MODE TTHOLD YELLOW RED GREEN BLUE TT OFF TT ON SUR ON FRONT CENTER REAR DELAY DELAY UP DELAY DN K9 K10 K11 K12 K13 K14 K15 K16 DISC TAPE TUNER TELEVISIO VIDEO 1 VIDEO 2 AUDIO TEST N K17 K18 K19 K20 K21 K22 K23 K24 UP ARROW DOWN LEFT RIGHT DSP MODE DSP ON PIP SWAP ARROW ARROW ARROW UMO18403 0207 Technical Information on the IR Development Board Crimzon In Circuit Emulator User Manual Page 32 Table 5 IR Development Board Key Matrix K25 K26 K27 K28 K29 K30 K31 K32 REC ST
13. 0 21 108 129 Magnavox 36 37 101 108 129 Magnin 160 Marantz 10 11 12 17 36 101 108 158 163 Marta 161 MEI 108 Memorex 5 21 89 100 108 112 124 154 160 161 165 168 MGA 4 38 77 99 171 MGN Technology 160 Midland 30 Minolta 32 72 Mitsubishi 4 32 38 39 40 41 42 44 45 46 47 71 77 82 97 98 99 104 171 Motorola 154 MTC 21 160 168 Mukltitech 160 Technical Information on the IR Development Board UMO18403 0207 Crimzon In Circuit Emulator User Manual ZiLOG Page 43 Table 9 VCR Brands Brand Zilog Code Numbers Multitech 30 35 163 168 18 20 21 NAD 96 NEC 9 10 11 12 13 17 49 50 51 75 82 104 125 126 158 Nikko 161 Noblex 160 Optimus 154 161 Optonica 65 Panasonic 1 14 73 108 130 132 133 134 135 Pentax 17 32 72 121 163 Perdio 21 Philco 36 37 108 Philips 65 101 108 181 36 Pilot 161 Pioneer 12 32 52 53 82 93 94 95 96 104 158 Portland 74 115 163 Proscan 8 52 129 153 Protec 35 Pulsar 124 Quartz 89 Quasar 91 92 108 Radio Shack 3 4 5 6 26 65 154 160 161 165 168 171 Radix 161 Randex 161 RCA 0 7 8 18 32 52 54 55 56 57 60 61 62 72 78 121 127 128 129 130 131 153 155 160 Realistic 21 26 65 86 89 108 112 154 160 161 165 168 171 Ricoh 150 Saisho 145 146 Salora 89 99 Samsung 18 30 76 290 110 123 138 156 160 162 174 UM018403 0207 Technical Information on the IR Development Board Crimzon In Circuit Emulator
14. 11 Crimzon ICE Rear Panel UN Caution Ensure the target board is not powered on before proceeding 2 Connect a 5VDC power supply to the Crimzon ICE The 3 3VDC and 1 8VDC power LEDs should illuminate see Figure 11 If either power LED fails to illuminate or if the ICE Fail LED either blinks continuously or fails to extinguish after 15 seconds see Figure 12 there is a problem with the unit Contact ZiLOG support at http www zilog com for a replacement unit In Windows The Found New Hardware Wizard should activate automatically ICE Run LED ICE Fail LED Figure 12 Crimzon ICE Front Panel In the Wizard select Install from a list or specific location Advanced then click Next 3 K Note Ifthe Windows Logo testing dialog appears select Continue Anyway 4 Select Search for the best driver in these locations and Include this location in search 5 Browse to the driver directory one of the following Install the Hardware UM018403 0207 Crimzon In Circuit Emulator User Manual ZiLOG Page 17 lt ZDSII Installation Directory gt device drivers USB lt ZDSII Installation CD gt Device Drivers USB 6 Click Next and then click Next again after the appropriate driver is found 7 Click Finish to complete the installation Windows 2000 1 Connect the Crimzon ICE to the host PC for the first time using the supplied USB cable See Figure 11 for Crimzon ICE back panel connection AN Caution Ensure the target b
15. 120 Kenwood 108 118 120 128 129 Kloss 36 298 235 Kloss Novabeam 170 171 241 KTV 83 84 85 94 145 172 236 Lloyds 14 Loewe 165 Logik 183 266 Luxman 97 118 120 LXI 25 30 47 50 64 111 115 120 153 165 173 174 175 230 239 Technical Information on the IR Development Board UMO18403 0207 Crimzon In Circuit Emulator User Manual Page 37 Table 8 Television Brands Brand Zilog Code Numbers Magnavox 4 36 64 95 99 108 118 120 121 128 165 170 171 176 177 178 184 188 215 216 217 241 267 Majestic 183 Marants 165 52 64 108 118 120 165 179 Matsui 91 Megatron 14 120 Memorex 14 50 291 116 120 182 183 230 266 MGA 14 62 108 109 110 118 119 120 128 129 130 155 180 182 Midland 239 Minutz 156 Mitsubishi 7 14 27 61 62 63 109 110 118 119 120 128 129 130 155 180 181 182 212 Motorola 234 269 MTC 14 97 101 108 109 118 119 120 199 Multitech 145 NAD 14 30 112 120 173 174 243 National 13 105 13 NEC 23 297 100 107 108 109 118 119 120 129 185 254 269 Nikkai 33 34 Nikko 14 120 126 Normande 0 NTC 126 Onwa 83 145 Optimus 243 Optonica 37 39 192 234 Orion 15 142 260 Osaki 34 Panasonic 6 11 12 13 60 64 104 105 106 165 263 265 269 Philco 36 95 108 109 118 119 120 121 123 128 165 170 171 176 178 184 241 UMO18403 0207 Technical Information on the IR Development Board Crimzon In Circuit Emulator
16. 207 Crimzon In Circuit Emulator User Manual ZiLOG Page 41 Table 9 VCR Brands Brand Zilog Code Numbers Bush 20 Calix 161 Candle 17 160 161 162 163 Canon 108 117 Capehart 115 116 Capeheart 74 164 Carver 36 CCE 35 169 Citizen 17 18 160 161 162 163 169 Colt 35 Craig 5 18 35 160 161 165 Curtis Mathes 8 17 78 108 153 163 166 160 Cybernex 160 Daewoo 74 114 115 123 167 169 170 162 Daytron 74 115 DBX 12 158 Dumont 112 Dynatech 21 Electrohome 4 161 171 Electrophonic 161 Emerson 4 19 21 23 38 77 79 142 143 144 145 146 147 159 161 162 166 167 171 173 174 175 176 177 178 179 180 Fisher 3 5 21 25 26 28 29 80 86 112 113 165 GE 8 18 30 52 78 108 109 110 111 153 160 Go Video 106 107 Goldstar 2 17 31 126 161 Goodmans 20 Gradiente 168 Grundig 101 Harley Davidson 168 UM018403 0207 Technical Information on the IR Development Board Crimzon In Circuit Emulator User Manual Page 42 ZiLOG Table 9 VCR Brands Brand Zilog Code Numbers Harman Kardon 98 126 Harwood 35 Hinari 20 Hi Q 165 Hitachi 15 16 21 32 33 72 75 118 119 120 121 122 JC Penney 11 12 18 72 80 108 126 158 160 161 Jensen 32 75 JVC 11 12 17 75 82 102 103 104 105 158 Kenwood 11 12 17 75 82 89 104 158 163 KLH 35 Kodak 161 Lloyd 21 168 Logik 20 35 LXI 161 M Wards 4 5 6 18 19 2
17. 3232223 LS Baggs 00000000000000 m IS BLURSE oo pe o o o o uo oo ot T 00000000 oo 999999 ooo0o0000000 g 9 E gt 8 OS l 28 e a oo geo i 2 E 8 E g 3 S 2 3 amp loo BB 5 c SI O 55 O O O 55 2 o d 53 d O 20 0O8 loooooooo a 0000000000 S See guess M LS OE Kao RS KAS 53 K22 kis Ki K3 900000000 M occ a 070g Oo ONO o Ou O O 02 30 08 3 me z 88 DE 303 58 55 2 53 2 5 d oiid 08 2222 mo B D 45 2 z SS RUN SS jooooo ocooo 0000 lol fay 0 969069099 en og mg g goog o o QR So O o oo Oo Ob 80 0 E mmm S EET 83 55 d 5 do do 9 b d DV d bis S Loooosooo D MBM MRIS as R DEORRERRPERR Ses gy 2 E S E B ooo oo Q o oo Qo ds Q o8 oog goo Essssssus D220oocooog MM loo IO Oo O_O 0 0 08 25 oF 29929222 ooo e Zan 3 e 332 III coso BEEBE oc K6z RS L KBB 0 K ooo Jonoa oO o odo Oz Og Sod 89 v8 q P of 0 2 28 3 P 229 EE O07 O O9 0 O Q oO 0 02 EE See 27 S 8 esa V 3 oMog 08 og 2 E oN o 04 Bo CCE TE 58 D E O L C 2 C O 2 mm ook qs o of kg 3 sa kan kx K ols Em a 9s Q Os Q Oe Q Og 2 9 9g of wm Pes O0 O O O O_O oF y o oa d y 3 a 5 o9009009 LA ZiLOG IR DEVELOPMENT BOARD PCA 99C0988 001 0000000000000 A oooo 6 amp 7 COPYRIGHT ZiLOG INC 2005 ipooooocooocoo C Figure 2 IR Development Board To set up the 20 and 28 PDIP emulation pods for use in specific applications of Port P31 on the ZLP128ICEO1ZEM G see Figure 3 on page 5
18. 51 Spectricon 29 99 Squareview 15 SSS 83 109 118 145 Starlite 145 Supra 97 Supre Macy 98 235 Supreme 117 Sylvania 35 36 64 95 108 118 120 121 128 165 170 171 176 177 178 188 207 241 267 184 Symphonic 15 145 270 Tandy 33 39 234 Tatung 105 237 269 Technics 106 Techwood 97 118 120 157 Teknika 31 32 83 89 94 95 96 97 98 101 109 110 118 119 120 121 123 124 126 145 151 177 182 183 199 266 Teletech 91 Tera 103 244 Thomas 14 Thompson 5 TMK 14 97 118 120 Toshiba 19 30 46 50 101 153 173 174 199 201 230 255 Totevision 94 Toyomenko 14 UMO18403 0207 Technical Information on the IR Development Board Crimzon In Circuit Emulator User Manual Page 40 ZiLOG Table 8 Television Brands Brand Zilog Code Numbers Universal 81 156 187 Vector Research 108 Victor 69 169 240 Video Concepts 63 Vidtech 14 109 118 119 120 Viking 98 235 Wards 37 81 89 102 108 109 116 118 119 120 128 132 151 156 156 165 170 171 176 177 183 184 187 188 192 208 209 266 267 268 270 Yamaha 108 109 119 120 128 129 York 14 Zenith 113 118 183 226 227 261 266 271 Zonda 29 Table 9 VCR Brands Brand Zilog Code Numbers Admiral 154 Aiko 169 Aiwa 21 Akai 75 76 77 136 137 138 139 140 156 157 141 155 Alba 115 Amstrad 21 ASA 101 Asha 160 Audio Dynamics 12 Audio Dynamics 158 Audiovox 161 Beaumark 160 Broksonic 159 Broksonic 167 Technical Information on the IR Development Board UM018403 0
19. 6 on the target Pod Emulator connector P9 is not used Connecting the Crimzon ICE to the OTP Programming Module Optional After developing and debugging your software use the following instructions to connect the Crimzon ICE to the OTP programming module so you can burn your code onto chips 1 Connect the 40 circuit ribbon cable from the Crimzon ICE OTP Programming connector to connector P1 on the OTP programming module 2 The 40 PDIP ZIF socket on the OTP programming module is designed to accept 40 PDIP OTP chips The OTP programming adapters supplied with the Crimzon ICE allow you to adapt the ZIF socket to accept 20 SOIC 20 SSOP 20 PDIP 28 SOIC 28 SSOP and 28 PDIP chip packages Once you have installed the OTP chip into the ZIF socket or programming adapter you are ready to program the chip using the instructions in OTP Programming on page 24 Connecting the Crimzon ICE to a PC You can connect the Crimzon ICE to a host PC using either an Ethernet or USB port The USB port option requires that you install the USB drivers included on the ZDS II CD sup plied with your emulator To connect the Crimzon ICE to a host PC using Ethernet proceed to Ethernet Port Con nection on page 7 Install the Hardware UMO18403 0207 Crimzon In Circuit Emulator User Manual ZiLOG Page 7 To connect the Crimzon ICE to a host PC using a USB port proceed to USB Port Con nection on page 15 Ethernet Port Connectio
20. 9 Connector J4 on the emulator front panel see Figures 1 and 6 provides a ground connec tion on all three pins Connector J5 on the emulator front panel see Figures and 6 provides access to the fol lowing functions e Pin 3 provides a HIGH external trigger out for use in triggering a device such as a logic analyzer or oscilloscope Pin 3 is under software control and can be set to acti vate through the ZDS II trace and event system The trigger can be set to toggle or pulse e Pin provides an input for an external HIGH or LOW trigger in allowing use of an external trigger as an event for the ZDS II trace and event system Using J5 Pin 3 External Trigger Out The Crimzon ICE external trigger out feature is always enabled Set your trace and event system parameters then run your code When the event you set up occurs pin 3 of con nector J5 goes HIGH and stays HIGH as long as the event is active The bigger the event window the longer trigger out stays HIGH How to Set Connector J5 Pin 1 External Trigger In see Figure 6 on page 8 To use the Crimzon ICE external trigger in feature 1 With the ZLP12840100kit ver 1 zdsproj project open in ZDS II as described in Running a Sample Project on page 18 select Tools gt Trace and Event System 2 In the Trace and Event System window select an Event entry In the When section check the Trigger In box 3 Select either O or 1 to trigger on trigger low or high respective
21. ICE you must either change the PC s Ethernet settings to match those of the Crimzon ICE or vice versa If using the PC in a stand alone configuration set the PC s IP address to 192 168 1 21 and Its subnet mask to 255 255 255 0 See Changing the PC s Settings to Match the Crimzon ICE on page 8 In a networked environment set the Crimzon ICE IP address and subnet mask to match the network setup See Changing Crimzon ICE Settings to Match the PC on page 12 Changing the PC s Settings to Match the Crimzon ICE After completing the following steps to change the PC s Ethernet settings proceed to Run ning a Sample Project on page 18 K Note The following instructions are for MS Windows XP If your Windows operat ing system is different refer to your MS Windows OS online help for details 1 Open the Windows Control Panel and double click the Network and Internet Connections icon The Network Connections dialog box appears see Figure 7 Install the Hardware UMO018403 0207 Crimzon In Circuit Emulator ZiLOG File Edit View Favorites Tools Advanced Help eo i E gt Folders gt Network Tasks Create a new connection Setup a home or small office network PR 1394 Connection la S Local Area Connection dh 4 Network Troubleshooter Other Places E Control Panel My Network Places E My Documents 9 My Computer Details Network Connections System Folder Figure 7 The Ne
22. OP PLAY PAUSE REW FF AV K33 K34 K35 K36 K37 K38 K39 K30 TV SAT DVD 1 2 3 CH K41 K42 K43 K44 K45 K46 K47 K48 VCR AMP AUX 4 5 6 GUIDE CH K49 K50 K51 K52 K53 K54 K55 K56 CABLE CD INFO 7 8 9 RECALL VOL K57 K58 K59 K60 K61 K62 K63 K64 POWER MUTE MENU EXIT 0 ENTER SELECT VOL Learning Circuit The learning circuit on the ZLP12840 ZLP32300 IR development platform consists of the following components e Photo detector D1 e Off chip IR amplifier Q2 Q3 with related resistors used only with LP32300 part e Setup jumpers J2 and J9 When using the ZLP12840 the internal on chip IR amplifier is used to amplify the signal from D1 When using the ZLP32300 part is used the off chip amplifier Q2 Q3 is used for this purpose Jumper and Switch Settings The jumpers on the IR development board supplied with the Crimzon ICE function as fol lows e J Future use for factory testing e J2 Selects device type ZLP12840 or ZLP32300 e J3 J4 J8 Test points e J9 pins 1 2 Selects whether external IR amplifier is being enabled by P37 or P37 is used as SCLK J9 3 4 Connects P37 to U1 6 SCLK J9 5 6 Connects P27 to U1 5 SDA e JI0 Connects P2 pins to the columns of the keypad e J11 Connects PO to the rows of the keypad Technical Information on the IR Development Board UMO18403 0207 Crimzon In Circuit Emulator User Manual A ZiLOG Page 33 e JI2 Selects whether LEDs on off
23. Pos m 2 Es e Vbat ROW P26 14 13 COLS DEFAULT Ki7 Kis T K19 K20 S Kat T K22 K23 d Koa lt ROW P27 16 15 COL 1 2 ON o o o o pem oO oO o 0 o 0 o 0 4 o 0 o 0 o 0 HEADER Exe ROW2 lt ROW2 DEFAULT ALL ON K25 K26 K27 K28 K29 K30 K31 K32 Jn HOT O _ HO o o 0 4 5 O O 0 0 O 0 o o O pai 2 74 Rowo ROWS POT 4 3 ROWT K33 Kaa K35 K36 E K37 Z K38 S Ka0 KROW3 PO A 5 ROW POS 8 12 ROWS T p Pos 10 9 ROWZ 4 o 0 4 o O 4 o 0 4 o 0 o 0 4 o o 0 o 0 POS T 2 rows HOW ROW Eog m i ROS Kai K42 K43 K44 K45 K46 K47 K48 a pb Tb ES t s rated HEADER 8X2 o 0 o 0 4 o 0 4 o 0 o 0 o 0 o 0 o DEFAULT ALL ON ROWS K49 K50 RAT K82 K53 Kea K55 K56 KROWS ts iS mett PA gt a ZiLOG Inc 4 o 4 o 4 o 4 o o 4 o o o UD ROW6 32 Race Street N s KROWS an Jose CA 95126 K57 K58 K59 K60 K61 K62 K63 K64 Title o o o o o o lt o o IR Development Board ROW7 Size Document Number lev d 4 4 ka ka ka ka ROW7 x B 96C0988 001 B Date Bheet 2 of 2 1 Monday August 22 2005
24. VERT L4 P07 GND 22 BE Y XIN Pot pB 3004 vee poz 21 8 Psi PoorPren LRR 255 tens Ni 7 XN gg XOUT Pot LRR 55 qi Pe pas Pb Poo LES HAD pal Pret 8 CER POT gt P32 P32 p36 HI P36 ZLP12840 20 Poz gt 330 D7 8 MHz 18 P37 POS ED4 X M P33 46 P1 H p33 P37 H P35 lt P37 J9 P04 TEDS t P34 t p34 p35 H5 Pos POS ES LEDS DEFAULT m LED 22pF Sanr ZLP12840 28 1 2 OFF 2 4 REN POS TED7 P37 4 3 SCIK O gt IK P07 LEDS R19 330 ps GND 3 4 ON P27 6 5 SDA OSDA AAS d 5 6 ON LT SW DIP 8 SM LED HEADER 3X2 DEFAULT OFF R20 990 po ig sw3 R21 Vbat SWA R22 SW5 R23 LED Poo P20 1 2 1 R24 330 D10 POO POT E 3 P20 P2i 3 Prefi PST o ma 3 X P024 po3 cr n P2245 p53 a P324 7p33 gt 5 LED P03 Pog P23 P24 e P33 EES A P04 POS E P24 P25 E E PRS pe gt 8 P258 P25 gt 8 ES 8 R25 330 D11 Vbat cR E Po c 2 pay Per o 9 9 Sa al 10 10 10 LED ano END SW DIP 8 SM 680K SW DIP 8 SM 680K SW DIP 8 SM 680K DEFAULT ALL OFF DEFAULT ALL OFF DEFAULT ALL ON R26 P34 coz BHL coe HLR COL5 X COLS COLA 7 ols COL3 gt Eo COL2 gt cor coL sor COLO EHH 1K Ka K2 K3 Ka K5 K6 K7 K8 J10 Ap Ap o 4 o o o 4 o o 4 o 4 o o E BOWO Rowo i 2 l el K9 K10 Kt K12 K13 K14 K15 Kt6 P 6 5 COL P 8 7 COLS zt zs ubi ues iia Eu us 4 o 4 o 4 o 4 o o o 4 o o o
25. ZLP1281CE01ZEM Crimzon In Circuit Emulator ZiLOG User Manual UM018403 0207 Introduction Thank you for purchasing the ZiLOG Crimzon In Circuit Emulator ICE The Crimzon ICE provides Crimzon chip family emulation with a trace and event system for program debugging using ZDS II development tools Once your code is complete use the included OTP programming module to burn your design to OTP devices This startup guide tells you how to 1 Install ZDS II software 2 Configure the Crimzon ICE for connection to your PC 3 Usea supplied target Pod to connect the Crimzon ICE to either the IR development board included with the kit or a target board of your design with a 20 or 28 PDIP socket Converters for 20 and 28 SOIC and SSOP sockets are included A 40 PDIP pod is available as part of accessory kit ZLP323ICE01ZAC ordered separately Note See Technical Information on the IR Development Board on page 30 for details for using the IR development board including jumper settings and key pad operation 4 Connect the Crimzon ICE to a supplied OTP programming module 5 Use the supplied OTP programming module with ZDS II software to program a 20 28 or 40 PDIP Crimzon family device Adapters for 20 and 28 SOIC and SSOP packages are included An adapter for 48 SSOP packages is available as part of acces sory kit ZLP323ICE01ZAC ordered separately 6 Runa demonstration program to verify proper operation illustra
26. able 3 Crimzon ICE Commands Command Description and Options mem Displays memory usage information password not used port Displays port information ps Displays a list of processes running on the ICE by process id number reboot Reboots the emulator restore Restores factory default network interface settings sem Displays semaphore information sleep not used time Displays current time and date 9 When you have finished configuring the emulator type exit to exit the command shell 10 Exit HyperTerminal 11 Type reboot and press Return or cycle the power on the Crimzon ICE for the new settings to take effect 12 The hardware is now configured and ready for application development Proceed to Running a Sample Project on page 18 USB Port Connection When you first connect the Crimzon ICE to your PC using a USB port you need to help Windows load the appropriate driver from the ZDS Il installation directory or CD ROM You can download ZDS II software from www ZiLOG com You need to help Windows locate the driver once only The procedure depends on your Windows operating system version Windows XP 1 Connect the Crimzon ICE to the host PC for the first time using the supplied USB cable See Figure 11 for Crimzon ICE back panel connection UMO18403 0207 Install the Hardware Crimzon In Circuit Emulator User Manual Page 16 ZiLOG 1 b ETHERNET use RESET 3 3VDC 1 8 VDC Copyright ZiLOG inc 2003 Figure
27. and Table 2 on page 5 Install the Hardware UMO18403 0207 Crimzon In Circuit Emulator User Manual ZiLOG Page 5 Figure 3 Location of J1 Jumper Table 2 Jumper Settings Jumper Port P31 Function J1 ON Infrared IR Amplifier J1 OFF Digital Analog This configuration applies to the 20 PDIP and 28 PDIP emulation pods shipped with ZLP128P2X10ZAC G Rev A or later ZLP128ICE01ZEM Rev G or later ZLP128ICE01ZEMG Rev A or later UMO18403 0207 Install the Hardware Crimzon In Circuit Emulator User Manual Page 6 ZiLOG For ZLP128ICEO1ZEM Rev F or earlier releases refer to the documentation shipped with the kit for the emulation pods If you have any question contact ZiLOG technical support at http support zilog com support custom login asp gt Note Connecting the Crimzon ICE to the Target Pod Once you have installed the appropriate target Pod and converter if required onto the target development board connect the Crimzon ICE to the target Pod as follows 40 PDIP and 48 SSOP target Pods Connect the 20 circuit cable from P9 on the emulator to P2 on the 40 PDIP target Pod The 20 circuit cable is included in the 40 48 pin accessory kit ZLP323ICE01ZAC ordered separately Connect the 34 circuit cable from P10 on the emulator to P1 on the 40 PDIP target Pod e 20 PDIP and 28 PDIP target Pods Connect the 34 circuit cable from P10 on the emu lator to P1
28. andom E S O P2 0 7 Pul ups None E x DI WDT Permanently Enabled i a Dperations DTP Checkum Bum Ram Checksum Verify Read Options Read View Edit Memory Close Figure 15 OTP Programming Window Current ZDS Il Project Example 9 Click the Ram Checksum button to calculate the checksum of the data in emulator RAM Use this to compare with the OTP checksum after burning 10 Select which option bits to program in the Programming Option Bits area 11 If you do not want a serial number loaded into the part select the None button in the Method area To load a serial number a Select the Sequential or Pseudorandom button to determine how the serial number is incremented on subsequent burns b Select the size of the serial number 1 2 3 or 4 bytes in the Serial Number Size area Enter the starting serial number in the Serial Number field ao Enter the address into which you want the serial number loaded in the Address field 12 Click Blank Check to verify that the OTP chip is actually blank 13 Click the Burn button to program the OTP chip with the contents of emulator RAM As part of the Burn function the OTP chip is also verified UMO18403 0207 OTP Programming Crimzon In Circuit Emulator User Manual Page 26 ZiLOG 14 When the burn is complete click OTP checksum to calculate the checksum of data on the OTP chip and compare it to the RAM checksum calculated earlier 15 Click Clo
29. are being controlled by P34 e J13 Selects whether CTS and RTS signals on the RS232 interface are being shorted Some communication software requires those signal to be shorted e JI4 Enables disables RS232 interface Factory settings for IR development board jumpers are described in Table 6 Table 6 Default Jumper Settings IR Development Board Jumper Description Pins Configuration Default Setting J2 IR Amplifier 1 2 Connect external IR Amplifier OUT for ZLP12840 J2 IR Amplifier 3 4 IN for direct IR photodiode connection IN for ZLP 12840 J2 IR Amplifier 5 6 Connect external IR amplifier OUT for ZLP12840 J9 IR Amplifier 1 2 IN to allow P37 to enable external IR Amplifier OUT for ZLP12840 J9 I2C Interface 3 4 IN to connect P37 to SCLK of EEPROM IN J9 12C Interface 5 6 IN to connect P27 to SDA of EEPROM IN J10 All Keypad 1 16 Connect keypad column 0 7 to P20 P27 IN J11 All Keypad 1 16 Connect keypad row 0 7 to POO P07 IN J13 RTS CTS 1 2 Connect RTS and CTS OUT J14 RS232 EN 1 2 IN to enable Rx OUT OUT to disable Rx tri state J14 RS232 SHDN 3 4 IN to disable Tx tri state IN OUT to enable Tx There are four eight position DIP switches on the IR development board Their functions are described in Table 7 Table 7 IR Development Board DIP Switch Settings Switch Description Sw2 Controls the connection of eight LEDs to port 0 when it is configured as
30. arget device is not selected set it now in the Device drop down menu 9 Inthe Hex File section click the _ button and select the hex file you wish to burn into the OTP chip 10 Ifyou do not want to pad the hex file select the None button in the Pad File With area Otherwise select the FF 00 or Other button If you select the Other button type the hex value to pad the hex file with in the Other field 11 Click the Load File button to load the hex file into emulator RAM 12 Click the Ram Checksum button to calculate the checksum of the data in emulator RAM Use this to compare with the OTP checksum after burning 13 Select which option bits to program in the Programming Option Bits area UMO18403 0207 OTP Programming Crimzon In Circuit Emulator User Manual Page 28 ZiLOG 14 If you do not want a serial number loaded into the part select the None button in the Method area To load a serial number a Select the Sequential or Pseudorandom button to determine how the serial number is incremented on subsequent burns b Select the size of the serial number 1 2 3 or 4 bytes in the Serial Number Size area Enter the starting serial number in the Serial Number field Enter the address into which you want the serial number loaded in the Address field 15 Click Blank Check to verify that the OTP chip is actually blank 16 Click the Burn button to program the OTP chip with the contents of emulator RAM As part of th
31. e Burn function the OTP chip is also verified ao 17 When the burn is complete click OTP checksum to calculate the checksum of data on the OTP chip and compare it to the RAM checksum calculated earlier 18 Click Close to close the OTP Programming window LED Indicators There are three sets of dual LED indicators on the Crimzon ICE see Figures 5 and 6 The dual ICE RUN LED on the front panel indicates emulator status If the top LED is lit the emulator is executing your system code When the top LED is off emulation has stopped If the bottom LED is lit the emulator is not functioning properly Contact technical support at http www zilog com for assistance The dual 3 3 VDC 1 8VDC LED on the rear panel indicates the status of internal volt ages Both LEDs are normally illuminated when power is connected The dual LAN LINK LED on the rear panel indicates Ethernet status The LINK LED indicates that the Ethernet connection is live The LAN LED indicates that data is being transferred across the connected network External Interface Connectors There are five external interface connectors on the Crimzon ICE Connectors P9 and P10 are used to connect the emulator to the target Pod and adapter board assembly See Figure 1 The OTP Programming connector P8 is used to connect the emulator to the OTP program ming module LED Indicators UMO018403 0207 Crimzon In Circuit Emulator User Manual _ e ZiLOG Page 2
32. e IP Address field displays a default IP address 192 168 1 50 Enter the Crimzon ICE IP address if it has been modified Leave the Port setting at 4040 c Click OK 9 Ifyou use USB communications between the emulator and the PC a In the Debugger tab Figure 13 select ZLP12840 Crimzon Emulator USB and then click the Communication button b The USB Configure Driver dialog box appears The Serial Number field displays a serial number for the USB interface c Click OK 9 n Oy B UMO18403 0207 Running a Sample Project Crimzon In Circuit Emulator User Manual Page 20 10 11 12 13 14 15 16 17 Project Settings ZLP12840100kit ver 1 COMMAND s ee Setup Add Copy Delete irmain s TF Simulator ane dli ZLP12840 keyscan s IZ ZLP12840 Crimzon_Emulator_Ethemet ledtimer s ZLP12840 Crimzon Emulator USB Macros b Show Targets Using Y USB M Serial V Ethemet Cancel Help Figure 13 Project Settings Debugger Tab In the Debugger tab click the Setup button The Configure Target window appears Set the Voltage drop down menu to Standalone if the emulator is not connected to a target If the emulator is connected to a target select the voltage appropriate for that target In Clock Source section select the Internal radio button if the emulator is not con nected to a target Set the Clock Frequency to 7 5MHz If the emulator is connected to a target sel
33. e trace and event system reports program execution for the seg ment we set using the Event tools Running a Sample Project UMO18403 0207 Crimzon In Circuit Emulator User Manual _ e ZiLOG Page 23 Collecting Trace After an Event You can also use the Trace and Event System to capture trace data after an event Set up your events as described in Using an Event to Stop Execution on page 21 In the Then section click the Event Position in Buffer radio button instead of Break Use the slider to select the number of cycles from the 64K buffer to be captured after the event When the event is detected the selected number of cycles after the event are collected Execution stops after the cycles are collected What remains in the trace buffer are the selected number of cycles after the event Single Stepping Through a Program ZDS II provides a simple mechanism for single stepping through a program To single step through a program 1 Reset the program to Main by either the Reset icon or with Build gt Debug gt Reset Set the Reset to Main option by selecting Tools gt Options In the Options window select the Debugger tab and select the Reset to symbol main check box 2 To step through the program one instruction at a time use F11 or click the button in the Debug toolbar also accessible by selecting Build gt Debug Step Into Peek Poke Registers 1 ZDS II makes it easy for you to set a
34. ect the External radio button In the Programming Option Bits section ensure that none of the options are selected Click OK Click OK in the Project Settings window When asked to rebuild affected files click Yes to rebuild the project You can also rebuild later by pressing F7 Click the Go button 1 to connect to the target and start debugging Running a Sample Project UMO18403 0207 Crimzon In Circuit Emulator User Manual Page 21 18 Click the Break button and then Stop Debugging to exit the debug session K Note The following steps describe two ways to use the trace and event system For details on running the trace and event system refer to the ZDS II online help and the ZDS II Crimzon User Manual UM0164 located in the docs direc tory ofthe ZDS II CD ROM Collecting a Simple Trace 19 Now we ll collect a simple trace by starting the program then stopping it and viewing the trace buffer Click the Go button 31 in the toolbar wait a moment and then press the Break button The trace buffer acts as a ring buffer that continuously fills and then overwrites itself until you stop execution 20 Open the Trace window by selecting View gt Debug Windows gt Trace and then click Get Frames to display the trace information Using an Event to Stop Execution Events allow you to stop execution based on more complex conditions than a simple instruction address The following events are available
35. es gt Communications gt HyperTerminal Install the Hardware UMO18403 0207 Crimzon In Circuit Emulator User Manual _ e ZiLOG Page 13 3 Inthe Connect To dialog set the Connect Using drop down menu to match the COM port to which the Crimzon ICE is connected Click OK 4 ACOM Properties dialog appears Enter the following port settings and click OK Bits per second 57600 Data bits 8 Parity None Stop bits 2 Flow control None 5 HyperTerminal should automatically attempt a connection If not select Call gt Connect 6 When the emulator is turned on or reset a Crimzon ICE console boot up message appears in HyperTerminal A typical boot up message is shown below ZiLOG Z8 LXM ICE Firmware Version 2 0 Build Aug 22 2005 08 14 37 Copyright C 2005 ZiLOG Inc All Rights Reserved Adding emac driver Attempting to establish Ethernet connection 10 Mbps Half Duplex Link established IP Address 10 1 7 95 IP Subnet 10 1 0 0 255 255 0 0 IP Gateway 10 1 1 254 Press Ctrl Z to enter configuration mode 7 Press Ctrl z The emulator command prompt appears Z8 LXM ICE gt Note The emulator console prompt is not case sensitive 8 Type help or at the emulator command prompt to see a list of available commands The following list displays Commands are bpool date debugport devs echo exit hang help ifconfig kill mem password port ps reboot restore sem sleep time ethl
36. g 26 15 Scientific Atlanta 3 4 27 28 UM018403 0207 Technical Information on the IR Development Board Crimzon In Circuit Emulator User Manual Page 46 ZiLOG Table 10 Cable Brands Brand Zilog Code Numbers Signal 15 SL Marx 15 Starcom 10 Stargate 15 Teleview 15 Tocom 8 17 TV86 20 Unika 12 United Artists 7 Universal 12 11 Viewstar 20 19 Zenith 3 32 33 Table 11 Satellite Brands Brand Zilog Code Numbers Alphastar 19 Chaparral 0 1 Cheyenne 1 Dishnet 18 Drake 2 Drake 3 Echostar Dish 27 GE 13 20 21 General 4 5 6 Instruments Hitachi 23 24 Hughes Network 17 28 JVC 22 Magnavox 25 Technical Information on the IR Development Board UMO18403 0207 Crimzon In Circuit Emulator User Manual ZiLOG Page 47 Table 11 Satellite Brands Brand Zilog Code Numbers Philips 25 Primestar 16 Proscan 20 21 13 RCA 13 20 21 Realistic 7 Sierra 1 Sony 14 STS 8 9 10 11 Toshiba 12 15 Uniden 26 UMO18403 0207 Technical Information on the IR Development Board Crimzon In Circuit Emulator User Manual SS Page 48 ZiLOG This publication is subject to replacement by a later edition To determine whether a later edition exists or to request copies of publications visit www zilog com Document Disclaimer 2007 by ZiLOG Inc All rights reserved Information in this publication concerning the devices a
37. ion If using the IR development board supplied with the kit refer to Technical Information on the IR Development Board on page 30 for technical details and Table 6 on page 33 for jumper settings The sample project ZLP12840100kit ver 1 zdsproj is included in the ZDS II sam ple directory located in c Program Files ZiLOG ZDSII_ product version samples lt processor type demo name gt Start ZDS II for the Crimzon ICE Emulator by opening Start gt ZiLOG ZDS II Crimzon Emulator software version and follow the instructions below to run the sample project ZLP12840100kit ver 1 zdsproj 1 Ensure that power is applied to the Crimzon ICE 2 Apply power to the target board Running a Sample Project UMO18403 0207 Crimzon In Circuit Emulator User Manual _ e ZiLOG Page 19 3 Open the sample project file File gt Open Project gt c Program Files ZiLOG ZDSII Crimzon Emulator version samples ZLX12840 IRRemote src ZLP12840100kit ver 1 zdsproj Double click irmain s in the Project Files window Open Project Settings In the General tab verify the CPU Family field is set to ZLP12840 In the General tab set the CPU type field to ZLP12840X2828 If you use Ethernet communications between the emulator and the PC a In the Debugger tab Figure 13 select ZLP12840 Crimzon_Emulator_Ethernet and then click the Communication button b The Ethernet Configure Driver dialog box appears Th
38. ly edge triggering not supported 4 Click the OK button to set the trace and event system parameters If you set trigger 1 in the Trace and Event System window then a HIGH on pin 1 of connector J5 gener ates an event in the ZDS II trace and event system If you set trigger 0 then a LOW on pin 1 of connector J5 generates an event UMO18403 0207 External Interface Connectors Crimzon In Circuit Emulator User Manual Page 30 Crimzon Package Support and Ordering Information The Crimzon ICE supports the packages listed in Table 4 Table 4 Crimzon Package Support Chip Package For OTP Programming order For In Circuit Emulation order 20 PDIP Included in ZLP128ICEO1ZEM kit Included in ZLP128ICEO1ZEM kit 20 SOIC Included in ZLP128ICEO1ZEM kit 20 PDIP to 20 SOIC adapter from Ironwood P N SOIC20 02 20 SSOP Included in ZLP128ICE01ZEM kit 20 PDIP to 20 SSOP adapter from Ironwood P N SOIC20 09 28 PDIP Included in ZLP128ICEO1ZEM kit Included in ZLP128ICEO1ZEM kit 28 SOIC Included in ZLP128ICEO1ZEM kit Included in ZLP128ICE01ZEM kit 28 SSOP Included in ZLP128ICEO1ZEM kit Included in ZLP128ICEO1ZEM kit 40 PDIP Included in ZLP128ICE01ZEM kit ZLP323ICE01ZAC 48 SSOP ZLP323ICE01ZAC ZLP323ICE01ZAC Note 20 SOIC and 20 SSOP adapters are available from Ironwood at http www ironwoodelectronics com Technical Information on the IR Development Board The IR development board shipped with the Crimzon
39. n 1 Connect a CAT 5 crossover cable from the PC to the Ethernet port on the Crimzon ICE See Figure 4 K Note You can connect the ICE to an Ethernet hub using a CAT 5 patch cable 2 Connectthe serial COM port on the PC to the SETUP serial port on the Crimzon ICE using the DB9 to DB9 serial cable See Figure 5 CAT 5 Crossover Cable PC Crimzon ICE Y DB9 to DB9 Cable Figure 4 Connecting a PC to the Crimzon ICE d A d C o gt 9 1 E a t L o DC LOA Copyright ZiLOG Inc 2003 SETUP ETHERNET USB RESET 3 3VDC 5vDC 18V Figure 5 Crimzon ICE Rear Panel AN Caution Ensure the target board is not powered on before proceeding 3 Connect a 5VDC power supply to the Crimzon ICE The 3 3VDC and 1 8VDC power LEDs should illuminate see Figure 5 If either power LED fails to illuminate or if the ICE Fail LED either blinks continuously or fails to extinguish after 15 seconds see Figure 6 there is a problem with the unit Contact ZiLOG support at http www zilog com for a replacement unit UM018403 0207 Install the Hardware Crimzon In Circuit Emulator User Manual Page 8 ZiLOG ICE Run LED ICE Fail LED Figure 6 Crimzon ICE Front Panel Setting Up Ethernet Communications The default IP address and subnet mask of the Crimzon ICE are 192 168 1 50 and 255 255 255 0 respectively To enable communication between the PC running ZDSII and the Crimzon
40. n Circuit Emulator User Manual Page 12 ZiLOG 4 Inthe panel labeled This connection uses the following items select the Internet Pro tocol TCP IP item to highlight it and click the Properties button The Internet Proto col TCP IP Properties dialog box appears Figure 10 Internet Protocol TCP IP Properties 2 E3 General N You can get lP settings assigned automatically if your network supports this capability Otherwise you need to ask your network administrator for the appropriate IP settings Obtain an IP address automatically 8 Use the following IP address IP address 192 168 1 21 Subnet mask 255 255 255 0 Default gateway Use the following DNS server addresses Preferred DNS server Alternate DNS server Figure 10 The Internet Protocol Properties Dialog 5 Enter values for the IP address and subnet mask to match those shown in Figure 10 Leave any remaining fields blank In this example an IP address of 192 168 1 21 and a subnet mask of 255 255 255 0 are being assigned to the PC These values place the PC on the same network as the Crimzon ICE unit 6 Click OK and restart the PC 7 Proceed to Running a Sample Project on page 18 Changing Crimzon ICE Settings to Match the PC 1 Connect the PC serial port to the Crimzon ICE serial port using the DB9 to DB9 serial cable 2 Launch HyperTerminal on the PC by selecting Start gt Programs gt Accessori
41. nd read emulator register contents With the ZLP12840100kit ver 1 zdsproj project open and ZDS II connected to the emulator target select View gt Debug Windows gt Registers 2 Inthe Registers window double click the value of any register and type in a new value 3 Press Enter The new value displays in red Refer to the ZDS II Crimzon User Manual UM0164 on the ZDS II CD ROM and the ZDS II online help for further information on setting and reading register values Peek Poke Memory 4 ZDSIlalso allow to set and read memory contents With the ZLP12840100kit ver 1 zdsproj project open and ZDS II connected to the emulator target select View gt Debug Windows gt Memory 5 In the Memory window double click the value you want to change and type in a new value Values begin in the second column after the Address column 6 Press Enter The new value displays in red UMO18403 0207 Running a Sample Project Crimzon In Circuit Emulator User Manual Page 24 ZiLOG Refer to the ZDS II User Manual UM0164 on the ZDS II CD ROM and the ZDS II online help for further information on setting filling and reading memory OTP Programming Once your program is running properly use the Crimzon ICE OTP Programming Module to burn your program onto a Crimzon family chip There are two ways to burn an OTP chip Bum the code in the current ZDS II project from emulator RAM onto the OTP chip e Load an
42. oard is not powered on before proceeding 2 Connect a 5VDC power supply to the Crimzon ICE The 3 3VDC and 1 8VDC LEDs should illuminate see Figure 5 If either power LED fails to illuminate or if the ICE Fail LED either blinks continuously or fails to extinguish after 15 seconds see Figure 6 there is a problem with the unit Contact ZiLOG support at http www zilog com for a replacement unit In Windows The Found New Hardware Wizard should activate automatically In the Wizard click Next Select Search for a suitable driver for my device Recommended then click Next Select Specify a location then click Next DM Pp Browse to the driver directory one of the following lt ZDSII Installation Directory gt device drivers USB lt ZDSII Installation CD gt Device Drivers USB 7 Click OK and then click Next after the appropriate driver is found 8 Click Finish to complete the installation Windows 98SE 1 Connect the Crimzon ICE to the host PC for the first time using the supplied USB cable See Figure 11 for Crimzon ICE back panel connection MA Caution Ensure the target board is not powered on before proceeding 2 Connect a 5VDC power supply to the Crimzon ICE The 3 3VDC and 1 8VDC LEDs should illuminate see Figure 5 If either power LED fails to illuminate or if the ICE Fail LED either blinks continuously or fails to extinguish after 15 seconds see Figure 6 there is a problem with the unit Contact ZiLOG sup
43. oo 2 91 92 94 109 118 119 120 126 127 213 214 256 Daytron 14 118 120 Dimensia 115 Dixi 29 52 91 Dumont 14 118 Electroband 117 Electrohome 3 5 94 118 120 128 129 130 269 Elta 91 Emerson 1 12 14 83 84 85 86 87 88 89 90 94 118 120 123 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 211 230 236 237 260 270 Envision 108 118 120 Etron 91 Fisher 50 82 153 154 155 230 Formenti 35 Fortress 39 Fujitsu 15 89 151 Funai 15 83 89 145 151 Futuretec 145 Futuretech 15 83 GE 14 20 80 81 84 102 105 106 111 115 118 120 130 156 187 231 232 239 269 Genexxa 33 Gibralter 118 UMO18403 0207 Technical Information on the IR Development Board Crimzon In Circuit Emulator User Manual Page 36 ZiLOG Table 8 Television Brands Brand Zilog Code Numbers Goldstar 14 52 78 79 94 97 109 118 119 120 123 128 129 159 160 161 228 Granada 3 14 Grand 14 Grandiente 3 Grundy 145 151 Hallmark 14 118 120 Harvard 145 Hinari 89 Hitachi 3 10 24 71 72 73 74 75 76 77 94 97 118 120 123 124 163 164 218 221 222 223 224 237 253 Hitachi Pay TV 273 IMA 145 Infinity 64 165 Janeil 235 JBL 64 165 JC Penney 46 81 94 101 108 109 111 115 118 119 120 121 130 156 161 166 167 174 187 199 239 255 JCB 117 Jensen 70 118 120 JVC 66 67 68 69 123 124 163 168 169 229 240 Kawasho 65 117 118
44. output Default all OFF SW3 Controls the pull up resistors for Port 0 Default all OFF SW4 Controls the pull up resistors for Port 2 Default all OFF SW5 Controls the pull up resistors for Port 3 Default all ON UMO18403 0207 Technical Information on the IR Development Board Crimzon In Circuit Emulator User Manual Page 34 ZiLOG Codesets Three digit codesets for the IR development board are listed in Tables 8 through 11 Table 8 Television Brands Brand Zilog Code Numbers Admiral 116 234 Adventura 235 Aiko 126 Akai 63 91 117 Alba 33 Alleron 151 A Mark 29 Amstrad 90 Amtron 145 Anam 28 29 83 105 145 Anam National 248 249 269 AOC 14 29 99 108 109 118 119 120 251 Archer 29 Audiovox 29 145 Bauer 35 Belcor 118 Bell amp Howell 116 183 230 Bradford 145 Brockwood 14 118 Candle 14 95 97 98 108 118 120 121 235 Capehart 14 Celebrity 117 Circuit City 14 Citizen 18 94 95 96 97 98 101 108 118 120 121 126 145 199 235 236 Colortyme 14 118 120 122 254 Concerto 97 118 120 Technical Information on the IR Development Board UMO18403 0207 Crimzon In Circuit Emulator User Manual Page 35 Table 8 Television Brands Brand Zilog Code Numbers Contec 49 83 Contec Cony 123 124 145 Craig 15 83 145 Crown 94 145 Curtis Mathes 94 101 108 115 118 120 125 199 230 CXC 83 145 Daew
45. port CD ROM drive One or more RS 232 communications ports Ethernet port Internet browser Internet Explorer or One or more RS 232 communications ports Netscape Internet browser Internet Explorer or Netscape gt Note Windows NT does not support USB Kit Features UMO18403 0207 Crimzon In Circuit Emulator User Manual L 4 ZiLOG Page 3 Install the Software Follow these steps to install ZDS II with the ANSI C Compiler 1 Insert the ZDS II CD into your computer s CD ROM drive DemoShield launches automatically If it does not automatically launch go to the root of the CD ROM and double click the file launch exe 2 DemoShield provides several installation choices Select Install ZDS II to install now You can install other software and accompanying documentation later 3 Follow the instructions on the screen to complete the installation To receive free technical support please register your software at http www zilog com Access the registration page by opening the Support menu at the top of the web page and clicking Product Registration Install the Hardware The Crimzon ICE and Programming System features an Ethernet interface a USB inter face and an RS 232 serial port Hardware installation consists of Installing a target Pod into a 20 or 28 PDIP socket on a target development board such as the IR development board included with the kit Connecting the Crimzon ICE to the
46. port at http www zilog com for a replacement unit UMO18403 0207 Install the Hardware Crimzon In Circuit Emulator User Manual Page 18 ZiLOG In Windows The Found New Hardware Wizard should activate automatically 3 In the Wizard click Next Select Search for the best driver for your device Recommended then click Next Select Specify a location then browse to the driver directory one of the following lt ZDSII Installation Directory gt device drivers USB lt ZDSII Installation CD gt Device Drivers USB 6 Click Next and then click Next again after the appropriate driver is found Click Finish to complete the installation Proceed to Running a Sample Project on page 18 Running a Sample Project After installing the ZDS II software and setting up the hardware you can run a sample software project to verify proper emulator operation and experiment with the trace and event system This section describes how to run the emulator in in circuit mode y Notes If you run the emulator with a target attached be aware that the emulator s voltage comparator is designed as a target power sensor not as a precision voltage measurement device If you set the Target VCC to match your tar get and the target s voltage drifts downward the power sensor may no longer detect it The emulator may therefore not connect to the target In such cases set the Target VCC voltage progressively lower until you get a good connect
47. pplications or technology described is intended to suggest possible uses and may be superseded ZiLOG INC DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION DEVICES OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT ZiLOG ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION DEVICES OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE Devices sold by ZiLOG Inc are covered by warranty and limitation of liability provisions appearing in the ZiLOG Inc Terms and Conditions of Sale ZiLOG Inc makes no warranty of merchantability or fitness for any purpose Except with the express written approval of ZiLOG use of information devices or technology as critical components of life support systems is not authorized No licenses are conveyed implicitly or otherwise by this document under any intellectual property rights Z8 Z8 Encore Z8 Encore XP Z8 Encore MC Crimzon eZ80 and ZNEO are trademarks or registered trademarks of ZiLOG Inc All other product or service names are the property of their respective owners Technical Information on the IR Development Board UM018403 0207 Ut
48. se to close the OTP Programming window Burning Code from an Existing Hex File To load an existing hex file into emulator RAM and burn an OTP 1 Connect the OTP programming module to the emulator as described in Connecting the Crimzon ICE to the OTP Programming Module Optional on page 6 2 Select the OTP chip you wish to burn and the appropriate package converter 3 Install the package converter if used into the ZIF socket on the OTP programming module 4 Install the OTP chip you wish to burn into the ZIF socket on the OTP programming adapter Match pin 1 of the chip with pin one of the ZIF socket 5 Stop any current debugging process by selecting Build Debug gt Stop Debug ging In ZDS II open the project for the code you wish to burn onto the chip Select Tools gt OTP Programming to open the OTP window Figure 16 OTP Programming UMO18403 0207 Crimzon In Circuit Emulator User Manual Page 27 Device zt 2840K2828 Hex File Pad File With C FF None E C 00 C Other Programming Option Bits 4 r Device Serialization O EPROM Protect ed Seria L1 Po 0 3 Pull ups Sequential c O PO 4 7 Pulups Pseudorandom L1P2 0 7 Pulups None LI WDT Permanently Enabled j lt Ji Status perations OTP Checkum Bum Ram Checksum Verify Read Options Read View Edit Memory Load File Figure 16 OTP Programming Window Hex File Example 8 Ifthe appropriate t
49. target pod Connecting the Crimzon ICE to the OTP programming module and Connecting the Crimzon ICE to a PC You may have to reconfigure network settings on the PC or on the Crimzon ICE before using the emulator Installing a Target Pod onto a Target Development Board Use an appropriate target pod and pin converter to connect the Crimzon ICE to the target board See Figure 1 for an illustration of the Crimzon ICE top panel connectors and Fig ure 2 for an illustration of the IR development board included with the kit The 20 28 and 40 PDIP target pods plug into the associated PDIP sockets on the target board For example if your target board has a 20 SOIC socket mate the 20 PDIP target Pod onto the 20 PDIP to 20 SOIC converter Then install the target Pod and converter assembly into the board s 20 SOIC socket UMO18403 0207 Install the Software Crimzon In Circuit Emulator User Manual Page 4 N naonn il P9 OTP Programming Target Interface D1 J5 J4 P10 e o el e e e Out In GND Target Interface Target Trigger Figure 1 Crimzon ICE Top View z z z z E z 2 x 1NBA 40 NO gd OQUos oU0s o0 o0 0 oo 0 0g toto El eA Sumo 3 2 E z 1 ae 60000000 S OSs d 9 CG 2 0 0 E b O O d 30 323
50. te basic operation of the trace and event system and burn a Crimzon OTP device using the OTP program ming module K Note The IR development board shipped with the Crimzon ICE is provided for use as a development tool only Its IR photodiode is inverted and biased to elimi nate noise interference from the long target cable When designing your own system follow the guidelines provided in the ZLP12640 Product Specification PS0244 Copyright O 2007 by ZiLOG Inc All rights reserved Crimzon In Circuit Emulator User Manual Page 2 Kit Features e Emulation and OTP Programming support for the Crimzon Family Emulation Pod and adapters for 20 and 28 Pin Packages IR Development Board Trace and Event System e Ethernet and USB Interface Up to 8MHz Clock Frequency e 2 0v to 3 6V V nn ZiLOG Developer Studio Assembler and Full ANSI C Compiler e Documentation e Sample OTP Devices Software Requirements Table 1 lists the PC requirements for running ZDS II Table 1 ZDS Il System Requirements Recommended Configuration Minimum Configuration PCrunning Windows XP Professional PCrunning Windows 98 SE or Windows NT Pentium III 500 MHz processor 4 0 SP6 128 MB RAM Pentium 11 233 MHz processor 65 MB hard disk space 96 MB RAM Super VGA video adapter 25 MB hard disk space documentation not CD ROM drive included Ethernet port Super VGA video adapter USB high speed or full speed
51. twork Dialog UM018403 0207 User Manual Page 9 Install the Hardware Crimzon In Circuit Emulator User Manual Page 10 ZiLOG 2 Inthe panel labeled LAN or High Speed Internet double click the Local Area Con nection icon The Local Area Connection Status dialog box appears Figure 8 k Local Area Connection Status R 2 E3 pu General Support Connection Status Connected Duration 00 37 56 Speed 100 0 Mbps Activity Sent a Received Packets 34 636 77 842 Close Figure 8 The Local Area Connection Status Dialog Install the Hardware UMO18403 0207 Crimzon In Circuit Emulator User Manual ZiLOG Page 11 In the Local Area Connection Status dialog box click the Properties button The Local 3 Area Connection Properties dialog box appears Figure 9 Local Area Connection Properties General Authentication Advanced Connect using BW Broadcom 440x 10 100 Integrated Controller This connection uses the following items v Bl Clientfor Microsoft Networks vi Eacfilt Driver M 9 File and Printer Sharing for Microsoft Networks L RA ivi QoS Packet Scheduler lt gt Description Allows your computer to access resources on a Microsoft network C Show icon in notification area when connected Figure 9 The Local Area Connection Properties Dialog Box UMO18403 0207 Install the Hardware Crimzon I

Download Pdf Manuals

image

Related Search

Related Contents

GRH ET CHANGEMENT ORGANISATIONNEL: QUELLE RELATION  Samsung Archive Home Entertainment System โฮมเธียเตอร์ HT-D350K คู่มือการใช้งาน  Manual Wheelchair Owner`s Manual Ergo Lite Series  ASHRAE Standards 15 and 34 – Considerations for  LASER HARP LASER HARP™  USER'S GUIDE  プレスリリース - 日本カノマックス株式会社  Cooper Lighting Metalux MC Series User's Manual  

Copyright © All rights reserved.
Failed to retrieve file