Home
ZLP128ICE01ZEM/G Crimzon In-Circuit Emulator User Manual
Contents
1. GE 8 18 30 52 78 108 109 110 111 153 160 Go Video 106 107 Goldstar 2 17 31 126 161 Goodman 20 S Gradiente 168 Grundig 101 Harley 168 Davidson Harman 98 126 Kardon Harwood 35 Hinari 20 Hi Q 165 Hitachi 15 16 21 32 33 72 75 118 119 120 121 122 JC 11 12 18 72 80 108 126 158 160 161 Penney 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 UM018408 0408 Appendix B Codesets 52 Crimzon In Circuit Emulator User Manual Z 53 Table 9 VCR Brands Continued Brand Zilog Code Numbers M Wards 4 5 6 18 19 20 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 160 Technolog y 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 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 UMO18408 0408 Appendix B Codesets Crimzon In Circuit Emulator User Manual zi 54 Table 9 VCR Brands Continued Brand Zilog Code Numbers Panasonic 1 14
2. 3 Connecting Crimzon ICE to the Target Pod 6 Connecting Crimzon ICE to OTP Programming Module Optional 7 Connecting CrimzonICEtoaPC 7 Ethernet Port Connection 7 USB Port Connection 15 Sample Project 19 Collecting a Trace 22 Using an Event to Stop Execution 22 Collecting Trace After an Event 24 OTP Programming 26 Burn Code from the Current Project 26 Burn Code from an Existing Hex File 29 LED Indicators 32 External Interface Connectors 32 Using J5 Pin 3 External Trigger Out 33 Using J5 Pin 1 External TriggerIn 33 Crimzon Package Support and Ordering Information 34 Technical Information on the IR Development Board 34 IR Development Board Operation 35 Applying Power to the Board 35 Enabling the Universal Remote Control Feature 35 UM018408 0408 Table of Contents Crimzon In Circuit Emulator User Manual Key Marx uua as e e s R Senedd eae wear ae nea we R 36 Learning Circuit WA das bed SSRN RE REOR 3
3. Brand 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 Philips 25 Primestar 16 Proscan 20 21 13 UM018408 0408 Appendix B Codesets 58 Crimzon In Circuit Emulator Table 11 Satellite Brands Continued User Manual ZI Brand Zilog Code Numbers RCA 13 20 21 Realistic 7 Sierra 1 Sony 14 STS 8 9 10 11 Toshiba 12 15 Uniden 26 UM018408 0408 Appendix B Codesets 59 Schematics Figure 17 displays the layout of the 20 pin Target Pod UM018408 0408 P16 T_OPO_T_PREFI 3 T 0P1 Je GE 5 6 T 0P7 SEI Bir T_2P0 Sal 9 10 T2P2 Tos E 11 12 T2P4 13 14 tops Pe 15 16 17 18 T_0P0_T_PREF1 1719 20 T_3P2 T_3P3 FA 22 T_3P4 23 24 T_3P6 25 26 IR AMP OUT 27 SET TVCG 29 20 TT 3 a T 3Pi 33 34 Con 17x2 R3 33 P24 P23 P22 P21 P20 GND P01 P00 Pref1 36 ZLP12840 Pins gt 4 Nm Y U A All d A D I _OPO_T_PREF C2 0 tuF 5 vcc NC A U2 4iy enD SN74LVC1G34DCK 100pF R2 10K ZLP12840 28 SSOP Figure 17 20 Pin Target Pod Crimzon In Circuit Emulator Z User Manual Schematics 60 Figure 18 displays the layout of the 28 pin Target Pod UM018408 0
4. priate driver from the ZDS II installation directory or CD ROM provided with your emulator ZDS II software is available for download from www zilog com The procedure of loading the appropriate driver depends on your Windows OS version UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual Zilog Windows XP Follow the steps below to connect the Crimzon ICE to a host PC using USB Connection for Windows XP OS version 1 Connect the Crimzon ICE to the host PC using the supplied USB cable See Figure 11 for Crimzon ICE rear panel connection L 4 LAN LINK Copyright ZiLOG Inc 2003 ETHERNET USB RESET 3 3VDC 5VDC 1 8 VDC 1 04 Figure 11 Crimzon ICE Rear Panel AA Caution Ensure the target board is not powered ON 2 Connect a5 V DC power supply to the Crimzon ICE The 3 3 V DC and 1 8 V DC power LEDs should illuminate see Figure 5 on page 8 Contact Zilog support at www zilog com if there is any problem In Windows the Found New Hardware wizard should activate auto matically UM018408 0408 Introduction 3 Crimzon In Circuit Emulator User Manual Zilog 17 ICE Run LED Figure 12 Crimzon ICE Front Panel In the wizard select Install from a list or specific location Advanced click Next gt Note fthe Windows Logo testing dialog appears select Continue Anyway 4 UM018408 0408 Select Search for the best driver in these locations and include tho
5. s Settings to Match the Crimzon ICE Follow the steps below to change the PC s Ethernet settings gt Note The following instructions are for MS Windows XP If your Win dows OS is different refer to your MS Windows OS online help for details 1 Open the Windows Control Panel and double click the Network Connections icon see Figure 7 AB Network Connections Jog a File Edit View Favorites Tools Advanced Help Qax E Psach f Folders DZ Address e Network Connections NUTS o 8 Create a new connection a 1394 Connection Set up a home or small Cab office network LAN or High Speed Internet CH Local Area Connection Cab See Also 4 Network Troubleshooter Other Places D Control Panel My Network Places My Documents d My Computer Details Network Connections System Folder Figure 7 Network Connections UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual Zilog 11 2 In the panel labeled LAN or High Speed Internet double click the Local Area Connection icon The Local Area Connection Status window appears see Figure 8 General Support Connection Status Connected Duration 00 37 56 Speed 100 0 Mbps Activity Sent Si Received Packets 34 636 77 842 Figure 8 Local Area Connection Status Window UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual zilog In the Local
6. 18 py L TIED5 or 34 Pr p22 26 pX pr P22 18 pXi F 2 P H Pos ee vemr Por pat te Pa ED re Pos P20 ip ees eg LED Hmm ror Pos pos 23 enp xn xour GND Leer vwar 4 Por GND 22 po pst XIN Pot 15 P00 ET sw2 D xour 4 vec P02 21 p5r en IEN PoorPrefi 139 pag D XOUT Pot 22 p H P32 P36 123 xa XN 10 XIN poo S a 10 p33 P34 i lan Ih P31 DU P31 Pref 1833 DS Mi P32 46 p H P32 pap 11 _ 5 P36 ZLP12840 20 E iz P3366 py 12 p33 P37 KP37 PO G P34 14 p34 P35 5235 ya 4 T Sor Eer IPSOA DEFAULT ra POS pi x ES 1 1 2 OFF ce I ral G SR EN POT GND 3 4 ON P27 8 CS SDA S gt 5 6 ON SW DIP 8 SM HEADER 3X2 DEFAULT OFF R20 390 pa EN sw3 R21 Vbat md Su R22 SS R23 LED Poo 1 P20 1 1 R24 330 D10 FE Fand Prefi pa au P014 poz i P214 pz7 n P31 pzz e n e D P2299 p27 t Fan p37 E Popo gt G P23 lt pag G P33 A P04 lt pps EZ pos 5 B P05 ppg P256 p5 ES R25 330 Di c Bo gt P26 c c Vbat POT P27 S Vbat lt A Po7 E P27 gt d 2 WA LED enn NO SWDIP 8 SM ean SW DIP 8 SM 680K SW DIP 8 SM 680K DEFAULT ALL OFF Vbat DEFAULT ALL OFF DEFAULT ALL ON oe cour GO cosy ct cosy 208 coLa y DE coa y DO coi2 DO cou y ED coo E 2N3906 A K1 K2 K3 Ka K5 K6 K7 K8 J10 D D gt Ch CA C
7. In Circuit Emulator User Manual Zilog Sample Project gt Notes After installing the ZDS II software and setting up the hardware you are ready to execute the sample software project to verify proper emulator operation and to test with the Trace and Event system This section describes how to run the emulator in the in circuit mode 1 Ifyou run the emulator with a target attached the emulator 8 voltage comparator is designed to serve as a target power sensor and not as a precision voltage measurement device If you set the Target VCC to match your target and the targets voltage drifts downward the power sensor may no longer detect it The emulator may therefore not con nect to the target In such cases set the Target VCC voltage progres sively lower until a proper connection is established 2 Ifthe IR development board supplied with the kit is used see Techni cal Information on the IR Development Board on page 34 for techni cal details and Table 6 on page 39 for jumper settings The sample project ZLP12840100kit ver 1 zdsproj is included in the ZDS II sample directory located in c Program FilesNZiLOGNZDSII product version Nsam ples lt processor type demo name gt Start ZDS II for the Crimzon ICE Emulator by selecting Start gt Zilog ZDS II Crimzon Emulator software version and fol low the instructions below to run ZLP12840100kit ver 1 zdsproj the sample project 1 Ensure that the Crimzon
8. T_1P4 T1P6 T1P5 TIP T 4P1 I 4PO T 4P3 T_4P2 C2 0 1uF TAPA T 4P6 T 4P5 T T T T RESET T 4P7 d R1 Connector 10x2 6 10K 4 9 0 10 9 41 8 SN74LVC1G34DCK ZGP32300 28 SSOP Figure 19 40 Pin Target Pod Schematics Crimzon In Circuit Emulator User Manual Zilog Figure 20 and Figure 21 display the layout of the IR Development Board Ji u1 GND 2 i Vbat Vbat 5 pa cl ROWO 4 E COLO A1 WP Z e ROW1 COL1 A2 SCL SCLK ROW2 8 COL2 Poog 1 vss SDA SSSDA ROW3 z 2 COL3 Por22 2 GND 12 11 CND por 3 ACTEANAUSI TE 8501C R3 14 13 coL4 E 24 ROWS iu Em COLS pos DS 10 18 17 B Qt E ROW6 COL6 IR EM BC807 POS ROW7 20 i COL7 giad Post L GND 21 GND 1K Dos 8 PE a L23 26 25 Vbat Vbat A PORTO HEADER 13X2 R27 R4 R5 R6 1 10K 100 10K P20 20K eet p220 3 Fo P2496 5 P25 6 5 R7 P2696 1 az P27 8 TBE Besor 32 1K L PORT 2 EZ 45 2 L 1 Vbat 4 Pre lt lt H Pan 5 1K Psi P32 49 gt 24 HEADER 3X2 B ds E RT P3546 SL PHOTODIODE TM P364 L 36 pw P3702 8 R10
9. Values begin in the second column after the Address column 3 Press Enter The new value is displayed in red Refer to ZDS TI User Manual UM0164 on the ZDS II CD ROM and the ZDS II online help for further information on setting filling and reading memory UM018408 0408 Sample Project Crimzon In Circuit Emulator User Manual a CH ZIlOg 26 OTP Programming 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 1 Burn Code from the Current Project 2 Burn Code from an Existing Hex File gt Note Do not connect to the emulator when programming windowed CDIP parts See Burn Code from an Ezisting Hex File on page 29 when programming windowed CDIP parts Burn Code from the Current Project Follow the steps below to burn code from the current project built in ZDS II loaded in emulator RAM 1 Connect the OTP programming module to the emulator as described in Connecting Crimzon ICE to OTP Programming Module Optional on page 7 2 Select the OTP chip to be burned and the appropriate package con verter 3 Install the package converter if used into the ZIF socket on the OTP programming module 4 Install the OTP chip to be burned into the ZIF socket on the OTP pro gramming adapter Match pin 1 of the chip with pin 1 ofthe ZIF socket 5 In ZDS II open the project for the code to be burned onto the chip gt Note fyou ar
10. 67 8 MO 935565 00000000000000 ES ER oooooooooo amp el 9 og ac o o o o oo oto Y Ps Lo es d An d i 15 58 5 4 5824 S S 000055555555 YGS VRS Rs Es TRS 9P PA ERIT oO 00 ARS 0 07 0 07 OO o o850 08 doodaco dency WAO 5 H al Oo e oO er oo oO of 9i 200 2 2 8 8 E gt S 2 8 SNT 9300000 0000000 nas E 35 d b 56 3 5 54 oo Lecccccel llooooooooood EEEE oooooocooll8 5655009009 mim mao aloo oo o 0 oo oos sans 32223232224 RR EC WANA O20 O40 O40 O OR iii EE EE 6 mus gt y 0000005507 333222335230 seBBB 59k al oos o o o o Omo o o ooaccooooo dE eps S ad b d 2 8 00000000000 gag IRQ OO 0 0 O O 0 0 000000050009 S ase 2 s e fe A M o 8 8 929823 g EN op es oos 9 SS SKG 0 RG FO x papaga ld 58 d d d o d 5 d 6820 E ar a kaa a kx sn KS Ro DE Ze Os 3 2s o 23 0 200 g Pa Eo SLO Tt 667 5 d o d 2C y ZiLOG IR DEVELOPMENT BOARD PCA 99C0988 001 E 00000 G ooooook COPYRIGHT ZiLOG INC 2005 0000000000000 SE Figure 2 IR Development Board UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual Zilog To set up the 20 28 PDIP emulation pods for use in specific applications of Port P31 on the ZLP128ICE01ZEM G see Figure 3 and Table 2 J1 Jumper Figure 3 Location of J1 Jumper Table 2 Jumper Settings Jumper Port P31 Function J1 ON Infrared IR Amplifier J1 OFF Digital Analog UM018408 0408 Introduction Crimzon In Cir
11. Area Connection Status window click Properties but 3 ton The Local Area Connection Properties dialog box appears see Figure 9 E 2 K General Authentication Advanced Connect using HE Broadcom 440x 10 100 Integrated Controller v l Client for Microsoft Networks D a QS Eacfilt Driver al USI File and Printer Sharing for Microsoft Networks vi m El QoS Packet Scheduler ig gt Description Allows your computer to access resources on a Microsoft network This connection uses the following items C Show icon in notification area when connected Figure 9 Local Area Connection Properties Dialog Box 4 Select Internet Protocol TCP IP from the scroll down list and click Properties button The Internet Protocol TCP IP Properties dialog box appears see Figure 10 UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual Zilog 13 Le e Internet Protocol TCP IP Properties R You can getIP settings assigned automatically if your network supports this capability Otherwise you need to ask your network administrator for the appropriate IP settings AA General Obtain an IP address automatically Use the following IP address IP address 192 168 1 21 Subnet mask 255 255 255 0 Default gateway z Use the following DNS server addresses Preferred DNS server Alternate DNS server Figur
12. Normande 0 NTC 126 Onwa 83 145 Optimus 243 Optonica 37 39 192 234 Orion 15 142 260 Osaki 34 UM018408 0408 Appendix B Codesets Table 8 Television Brands Continued Crimzon In Circuit Emulator User Manual zi Brand Zilog Code Numbers 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 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 94 115 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 UM018408 0408 Appendix B Codesets 47 Crimzon In Circuit Emulator User Manual zi 48 Table 8 Television Brands Continued Brand Zilog Code Numbers SBR 52 Schneider 52 Scotch 120 Scott 83 87 89 94 118 120 123 1
13. ZLP12840 ZLP32300 IR development plat form consists of the following components Photo detector D1 e Off chip IR amplifier Q2 Q3 with related resistors used only with LP32300 part Setup jumpers J2 and J9 When using ZLP 12840 the internal on chip IR amplifier is used to amplify the signal from D1 When using ZLP32300 the off chip amplifi ers Q2 and Q3 are used to amplify the signal Jumper and Switch Settings The jumpers on the IR development board supplied with the Crimzon ICE function as follows e Ji Future use for factory testing e J2 Selects device type ZLP12840 or ZLP32300 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 e J9 3 4 Connects P37 to U1 6 SCLK e J9 5 6 Connects P27 to U1 5 SDA e J10 Connects P2 pins to the columns of the keypad UM018408 0408 Sample Project Crimzon In Circuit Emulator User Manual ZIlOg 38 e J11 Conmnects PO to the rows of the keypad e J12 Selects whether LEDs ON OFF are being controlled by P34 e J13 Selects whether CTS and RTS signals on the RS 232 inter face are being shorted Certain communication software requires these signals to be shorted e J14 Enables disables RS 232 interface Factory settings for IR development board jumpers are described in Table 5 Table 5 Default Jumper Settings IR Development Board Jumper Descr
14. on page 9 indicates emulator status If the top LED is ON the emulator is executing your system code When the top LED is off emulation has stopped If the bottom LED is ON the emulator is not functioning properly contact technical support for assistance The dual 3 3 V DC 1 8 V DC LED on the rear panel see Crimzon ICE Rear Panel on page 8 indicates the status of internal voltages Both LEDs are normally illuminated when power is connected The dual LAN LINK LED on the rear panel see Crimzon ICE Rear Panel on page 8 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 P8 P9 P10 J4 J5 on the Crimzon ICE as explained below UM018408 0408 Connectors P9 and P10 are used to connect the emulator to the tar get pod and adapter board assembly see Figure 1 on page 4 The OTP Programming connector P8 is used to connect the emu lator to the OTP programming module Connector J4 on the emulator front panel see Figure on page 4 and Figure 6 on page 9 provides a ground connection on all three pins Connector J5 on the emulator front panel see Figure 1 on page 4 provides access to the following functions Sample Project Crimzon In Circuit Emulator User Manual Pin 3 provides a HIGH external trigger out for use
15. ul 4K PORT 3 MCU PIN 1 2 3 4 5 6 TEST POINTS ps LT1061 ND ZLP12840 default OUT IN OUT a ZLP32300 IN OUT IN P36 2 os Ru 2N3904 R12 330 ba up US ka ve ci 2 ES c1 LA bier RS232 DISABLED RS232 ENABLED paur SW SPDT v mi ES DEFAULT zw P1 gt Le pitur to Vat o5 oe es 1 2 our 1 2 IN 3o T T 72 Vat o 2 x 43 trout tin 41 ________ Po7 3 4 IN 3 4 OUT ot4 urs 4 POWER ON c os RxD 8 9 Pn A tor cr o RAN R1OUT gt gt P32 ka md r o9 R 5 Vbat BATTERY 0 01uF ec ES q VDD Np S 8 J14 GND eL 4 gt gt GND d 1 J7 T DB9 FEMALE pr SHON 3 4 eee A GND 2 leader 2x2 3 SP3220EBCA Vbat En RTS CTS R13 R14 J8 10K 10K J13 1 2 Vbat HEADER 2 GND lt 3 GND Figure 20 IR Development Board UM018408 0408 Schematics Crimzon In Circuit Emulator User Manual Zilog a 5 z 3 z i ua Us J6 H Par 3 P26 ee Pr Pao P23
16. 08 0408 Sample Project Crimzon In Circuit Emulator User Manual ZzIlog 34 Crimzon Package Support and Ordering Information The Crimzon ICE supports the packages listed in Table 3 Table 3 Crimzon Package Support Chip Package For OTP Programming Order For In Circuit Emulation Order 20 PDIP Included in ZLP128ICE01ZEM kit Included in ZLP128ICEO1ZEM kit 20 SOIC Included in ZLP128ICE01ZEM kit 20 PDIP to 20 SOIC adapter from Ironwood P N SOIC20 02 20 SSOP Included in ZLP128ICEO1ZEM kit 20 PDIP to 20 SSOP adapter from Ironwood P N SOIC20 09 28 PDIP Included in ZLP128ICE01ZEM kit Included in ZLP128ICE01ZEM kit 28 SOIC Included in ZLP128ICE01ZEM kit Included in ZLP128ICEO1ZEM kit 28 SSOP Included in ZLP128ICE01ZEM kit Included in ZLP128ICEO1ZEM kit 40 PDIP Included in ZLP1281CE01ZEM kit ZLP323ICE01ZAC 48 SSOP ZLP323ICE01ZAC ZLP323ICE01ZAC gt Note 20 SOIC and 20 SSOP adapters are available from Ironwood at www ironwoodelectronics com Technical Information on the IR Development Board The IR development board shipped with the Crimzon ICE provides a uni versal remote control development platform for Zilog s ZLP12840 and ZLP32300 families of IR microcontrollers The board supports both 20 pin and 28 pin PDIP devices without adapters The adapters and convert ers described in Table 4 on page 36 provide support for other Crimzon family package types UM018408 0408 Sample Project Crim
17. 1 108118 120 121 126 145199 235 236 Colortyme 14 118 120 122 254 Concerto 97 118 120 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 Daewoo 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 UM018408 0408 Appendix B Codesets Crimzon In Circuit Emulator User Manual T Table 8 Television Brands Continued Brand Zilog Code Numbers 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 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 UM018408 0408 Appendix B Codesets 44 Crimzon In Circuit Emulator User Manual zi 45 Tabl
18. 2 Flow control None 6 When the emulator is turned on or reset a Crimzon ICE console boot up message appears in the 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 UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual TD Il fl Z lL O LI 15 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 Type help or at the emulator command prompt to see a list of available commands For information on the description of the complete Crimzon ICE commands see Appendix A Crimzon ICE Commands on page 40 8 When you have finished configuring the emulator type exit to exit the command shell 9 Press Alt F4 to exit HyperTerminal 10 Type reboot and press Return or cycle the power on the Crimzon ICE for the new settings to take effect 11 The hardware is now configured and ready for application develop ment gt Note 70 erecute a sample project see Sample Project on page 19 USB Port Connection To connect the Crimzon ICE to your PC using a USB port load the appro
19. 3 MHz processor 128 MB RAM 96 MB RAM 65 MB hard disk space 25 MB hard disk space documentation not included Super VGA video adapter Super VGA video adapter CD ROM drive CD ROM drive Ethernet port Ethernet port USB high speed or full speed port One or more RS 232 communications ports One or more RS 232 communications ports Internet browser Internet Explorer or Netscape Internet browser Internet Explorer or Netscape Software Installation Follow the steps below to install ZDS II with ANSI C Compiler 1 DemoShield program available in the ZDS II installation CD launches automatically If it does not automatically launch go to the root of the CD ROM and double click the launch exe file UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual CH ZILOQ 2 DemoShield provides several installation options to install ZDS II select Install ZDS II You can install other software and accompany ing documentation later 3 Follow the instructions on the screen to complete the installation To receive free technical support register your software at www zilog com To access the registration page open the Support menu at the top of the web page and click Product Registration Hardware Installation The Crimzon ICE and Programming System features an Ethernet inter face a USB interface and an RS 232 serial port Hardware installation consist
20. 32 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 94 118 120 123 137 192 203 205 210 234 Shogun 118 Siemens 49 Signature 116 183 266 Simpson 121 Sony 114 117 259 268 272 Soundesign 14 83 95 118 120 121 145 151 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 UM018408 0408 Appendix B Codesets Crimzon In Circuit Emulator User Manual T 49 Table 8 Television Brands Continued Brand Zilog Code Numbers 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 Universal 81 156 187 Vector 108 Research Victor 69 169 240 Video 63 Concepts 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 UM018408 0408 Appendix B Codes
21. 408 1 3 5 7 9 1 3 5 7 1 3 5 7 9 1 1 1 1 1 2 2 2 2 29 31 33 Con 17x2 T 0P1 T OPS3 0P4 0P6 T_2P0 T 2P2 T 2P5 T Prefi P4 Ut T 2P5 1 PG P25 P24 pr P26 P23 opr p27 P22 P04 P21 P05 P20 T OP A P06 P03 P07 GND XOU VCC P02 T XIN XOUT P01 XIN POO R3 33 P31 Pref1 3p 224 P32 P36 pr H P33 P37 E A P34 P35 ZLP 12840 target pins R1 10K U3 VCC NC C1 A Y GND SN74LVC1G34DCK 100pF R2 10K T 2P4 T 2P3 ZPO T 0P3 T_0PO C2 oiup ZLP12840 28 SSOP Figure 18 28 Pin Target Pod Crimzon In Circuit Emulator User Manual Schematics Crimzon In Circuit Emulator User Manual Zilog Figure 19 displays the layout of the 40 pin Target Pod UMO018408 0408 Ut T 0P1 1 40 ERI oI lag Jp TPS P25 P24 TOP T 0P6 T_2P7 ele S EETA T 2P2 T 2P0 R s ag Tot T 2P2 T_OP5 ala P21 Ce T 2P0 T 0P6 zA WA Peo 84 To T 2P5 T 1P4 P06 POS Tag T iP3 e EI P13 SE T Prefi T 0P7 P15 P12 a ae o AS 3 vec GND E30 OPE T 3P4 T_1P6 t2_ Yee P02 Tag TPI T_3P6 T_1P7 43 216 P11 58 T_1P0 P17 P10 TOP T_XOUT T XN 15 XOUT P01 Ce T 0PO T 3P1 amp XIN P00 Fog T Prefi gm TOP P31 Prefi L 1 3P6 T_3P3 18 592 La Tr P33 P37 Gon 17x2 BEER Ee Ee 20 Nc RESET p21 RESET ZLP32300 Target pins T 1P1 T 1PO T iP TIPS
22. 55 0 with gateway address 192 168 1 254 ifconfig dhcp on configures the emulator to use DHCP kill Not used mem displays memory usage information password Notused 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 UMO18408 0408 Appendix A Crimzon ICE Commands Crimzon In Circuit Emulator User Manual ZI 42 Appendix B Codesets Table 8 through Table 11 on page 58 lists the three digit codesets for the IR development board 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 248 249 269 National 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 UMO18408 0408 Appendix B Codesets Crimzon In Circuit Emulator User Manual zi 43 Table 8 Television Brands Continued Brand Zilog Code Numbers Candle 14 95 97 98 108 118 120 121 235 Capehart 14 Celebrity 117 Circuit City 14 Citizen 18 94 95 96 97 98 10
23. 7 Jumper and Switch Settings 37 Appendix A Crimzon ICE Commands iia aa RRR EA 40 Appendix B Codesets 42 Schematics cis de his ee ee x RN ee oe el n e we 60 Customer SUppOrt occccccc nnnn annann 65 UM018408 0408 Table of Contents Crimzon In Circuit Emulator User Manual Introduction gt Note This kit has been replaced by an improved version ZCRMZNICEO0IZEMG Zilog s Crimzon In Circuit Emulator ICE provides Crimzon chip family emulation with a Trace and Event system for program debugging using Zilog Developer Studio II ZDS IT development tools Use the included OTP programming module to burn your design code to OTP devices Kit Features The kit features include UM018408 0408 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 Ethernet and USB Interface Up to 8 MHz Clock Frequency 2 03 6 V Vpp ZDS II Assembler and Full ANSI C Compiler Documentation Sample OTP Devices Introduction System Reguirements Crimzon In Circuit Emulator User Manual Z LOO Table 1 lists the system requirements for running ZDS II Table 1 ZDS Il System Requirements Recommended Configuration Minimum Configuration PC running Windows XP Professional PC running Windows 98 SE Pentium III 500 MHz processor Pentium 11 23
24. 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 3 4 5 6 26 65 154 160 161 165 168 171 Shack 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 90 110 123 138 156 160 162 174 UMO18408 0408 Appendix B Codesets Crimzon In Circuit Emulator User Manual Z Table 9 VCR Brands Continued 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 2 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 Symphoni 21 168 C 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 UMO18408 0408 Appendix B Codesets 55 Crimzon In Circuit Emulator User Manual Z 56 Table 9 VC
25. A d emi m 5 9 4 5 0 4 5 o 4 5 o Ho 9 4 5 9 5 o to 9 4 4 4 4 4 ROWO lt ROWO s 2 Li K9 o Ki K12 Kis K14 Ki5 Kt6 m 6 5 En En x n n n n pr Pa 5 Leon o o o Oo o Oo o o o o gt o o o o o o 10 9 4 Header 3 va ROW1 ES 14 13 COLS DEFAULT B K17 EIS S EIS K20 5i K21 S K22 s K23 N K24 KROW1 P27 16 15 COL 1 2 ON B A aM a o o o o o Oo t o o o o o o t o o HEADER 8X2 n 4 4 4 4 4 ROW2 KROW2 DEFAULT ALL ON K25 K26 K27 K28 K29 K30 ka K32 In gt D o 6 4 9 o 4 9 9 4 5 6 l 9 o 0 1 9 o Fo ROWO ROW3 POT ROW K33 Kaa K35 gt K36 K37 K38 id K39 s GH KROWA POZ 6 amp ROWZ o o o o o o o 9 o o o o pp 4 4 4 4 4 PO ROWA BS 14 3 Row Ka1 Ka2 k43 aa Ka5 K46 Ka7 K48 eim D D Ch CA CA d a m 5 9 5 o HS 9 9 roo o Les E 19 DEFAULT ALL ON ROWS K49 Ken id Kei N K82 K53 Kai K55 m K56 CROWS A D A 0 4 5 6 4 5 6 o 6 HS 4 5 6 4 5 6 to o 4 4 4 ROWE lt ROW6 K57 K58 K59 K60 K61 K62 K63 K64 eD a Dn oo o 9 o 6 o 6 o o 9 o 9 o o 6 4 4 4 4 4 4 ROWT ROW 5 G 3 z 7 Figure 21 IR Development Board Continued UM018408 0408 Schematics Crimzon In Circuit Emulator User Manual 65 Customer Support For answers to technical questions about the product documentation or any other issues with Zilog s offerings please visit Zilog s Know
26. ESCRIBED 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 The information contained within this document has been verified according to the general principles of electrical and mechanical engineering Crimzon is a registered trademark of Zilog Inc All other product or service names are the property of their respective owners UM018407 0108 66 Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery amp Lifecycle Information ZiLOG ZLP128ICE01ZEM
27. Event System E v Enable event system When Then Program Counter Break C Event Position in Buffer Pond Port3 Iri Trigger In 5 Reset Event cora Figure 14 Trace and Event System Window 4 Click OK UMO18408 0408 Sample Project Crimzon In Circuit Emulator User Manual 24 5 Open the Trace window by selecting View gt Debug Windows gt Trace 6 In the Trace window click Clear Trace button 7 To reset the Debugger click Reset button in the toolbar or select Debug gt Reset 8 Click Go button or select Debug gt Go to run the Debugger 9 When the program counter reaches 0044 execution stops on event match 10 Click Get Frames to display the trace information Collecting Trace After an Event The Trace and Event System is also used to capture trace data after an event Set up the events as described in Using an Event to Stop Execution on page 22 In the Then section check Event Position in Buffer radio button instead of Break Use the slider bar 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 After the event selected number of cycles are left in the trace buffer Single Stepping Through a Program ZDS II provides a simple mechanism for single stepping through a pro gram Follow the steps below to single ste
28. ICE and the target board are powered ON 2 Use File gt Open Project menu option to open the sample project file located at the following path c Program FilesNZiLOGNZDSII CrimzonGP Emulator lt version gt samples ZLX12840_IRRemote src ZLP128401 00kit ver 1 zdsproj UM018408 0408 Sample Project 19 Crimzon In Circuit Emulator User Manual 3 To open the source file double click on irmain s file in the Project Files Window 4 Select Project gt Settings 5 In the General tab set the CPU Family field to 2LP 12840 and the CPU field type to ZLP12840X2828 6 Follow either of the below options to connect the emmulator and the PC Ifyou are using Ethernet communications between the emulator and the PC Inthe Debugger tab see Figure 13 on page 21 select EthernetEmulator from the debug tool area and click Setup button The Ethernet Configure Driver dialog box appears The 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 Click OK Ifyou are using USB communications between the emulator and the PC Inthe Debugger tab see Figure 13 on page 21 select USBEmulator from the debug tool area and click Setup but ton The USB Configure Driver dialog box appears The Serial Number field displays a serial number for the USB interface Click OK UM018408 0408 Sample Project Crimzon I
29. ICE to the OTP programming module so that you can burn your code onto the OTP chip 1 Connect the 40 circuit ribbon cable from the Crimzon ICE OTP Pro gramming connector P8 to connector P8 on the ICE OTP program mer 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 28 SOIC 20 28 SSOP 20 28 PDIP chip pack ages After installing the OTP chip into the ZIF socket or programming adapter you can program the chip using the instructions provided in OTP Programming on page 26 Connecting Crimzon ICE to a PC You can connect the Crimzon ICE to a host PC using either an Ethernet or USB port To connect the Crimzon ICE to a host PC using Ethernet see Ethernet Port Connection on page 7 To connect the Crimzon ICE to a host PC using USB port see USB Port Connection on page 15 Ethernet Port Connection Follow the steps below to connect the Crimzon ICE to a host PC using Ethernet 1 Connect a CAT 5 crossover cable from the PC to the Ethernet port on the Crimzon ICE see Figure 4 on page 8 gt Note You can connect the ICE to an Ethernet hub using a CAT 5 patch cable UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual Zilog 2 Connect the serial COM port on the PC to the SETUP serial port on the Crimzon ICE using the DB9 to DB9 serial cable se
30. Option Bits area 10 Select None button in the Method panel of Device Serialization to leave the serial number blank 11 To load a serial number Select Sequential or Pseudorandom button in the Method panel This determines how the serial number is incremented on subsequent burns 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 In the Address field enter the address of the serial number 12 Click Blank Check to verify that the OTP chip is actually blank 13 Click Burn to program the OTP chip with the contents of emulator RAM The OTP chip content value is also verified 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 Close to close the OTP Programming window UM018408 0408 Sample Project Crimzon In Circuit Emulator User Manual Burn Code from an Existing Hex File Follow the steps below to load an existing hex file into emulator RAM and burn an OTP chip 1 Comnect the OTP programming module to the emulator as described in Connecting Crimzon ICE to OTP Programming Module Optional on page 7 Select the OTP chip to be burned and the appropriate package con verter Install the package converter if used into the ZIF socket on the OTP programming module Install the OTP chip to
31. R Brands Continued Brand Zilog Code Numbers Toshiba 19 26 28 32 38 64 99 123 162 Totevision 18 160 161 Unitech 160 Vector 12 126 158 162 163 Research Victor 12 104 105 158 Video 12 77 158 162 163 Concepts Vid 18 160 eosonic 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 UMO18408 0408 Appendix B Codesets Table 10 Cable Brands Continued Crimzon In Circuit Emulator User Manual 57 Brand Zilog Code Numbers 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 Samsung 26 15 Scientific Atlanta 3 4 27 28 Signal 15 SL Marx 15 Starcom 10 Stargate 15 Teleview 15 Tocom 8 17 TV86 20 Unika 12 United Artists 7 UM018408 0408 Appendix B Codesets Crimzon In Circuit Emulator Table 10 Cable Brands Continued User Manual Brand Zilog Code Numbers Universal 12 11 Viewstar 20 19 Zenith 3 32 33 Table 11 Satellite Brands Zilog Code Numbers
32. Zilog Crimzon In Circuit Emulator User Manual UM018408 0408 Copyright 2008 by Zilog Inc All rights reserved Crimzon In Circuit Emulator User Manual zilog Revision History Each instance in the revision history table reflects a change to this docu ment from its previous revision For more details refer to the correspond ing pages and appropriate links in the following table Revision Page Date Level Description Number April 2008 08 Added note to Introduction Replaced 1 9 and Figure 6 and Figure 12 17 January 07 Updated Table 1 Sample Project 2 19 2008 Using an Event to Stop Execution 22 and and Collecting Trace After an Event 24 sections September 06 Updated Figure 13 Figure 15 and zT 27 2007 Connecting Crimzon ICE to OTP and 7 Programming Module Optional July 2007 05 Updated as per Zilog templates and All Style Guide April 2007 04 Updated document product line by i adding G February 03 Added note under section Burn Code 29 2007 from an Existing Hex File UMO18408 0408 Revision History Crimzon In Circuit Emulator User Manual Z LOO Table of Contents IntrOducllOn ii LEE a RE CA Rn 1 Kit Features 1 System Requirements 2 Software Installation 2 Hardware Installation 3 Connecting Target Pod
33. be burned into the ZIF socket on the OTP pro gramming adapter Match pin 1 of the chip with pin 1 of the ZIF socket gt Note Stop any current debugging process by selecting Build gt Debug Stop Debug or press Shift FS to stop debugging S UM018408 0408 In ZDS II open the project for the code to be burned onto the chip Sample Project Crimzon In Circuit Emulator User Manual Zilog 30 6 Select Tools gt OTP Programming to open the OTP window see Figure 16 OTP Device ZGP323XXX2832 Hex File Programming Option Bits 19 EPROM Protect 1 Po 0 3 Pults ups 2 Po 4 7 Pults ups 15 P2 0 7 Pulis ups 14 WOT Permanently Enabled Stetus Pad File With C FF None C 00 C Other Device Serialization Method C Sequential G c C Pseudorendom c C None Operations Blank Check OTP Checkum Bum Ram Checksum Verity Read Options Read Load File Figure 16 OTP Programming Window Hex File Example UM018408 0408 7 Select the appropriate target device from the Device drop down menu 8 Inthe Hex File section click button and select the hex file to be programmed on to the OTP chip 9 Ifyou do not want to pad the hex file select None button in the Pad File With panel Otherwise select FF 00 or Other button If you select the Other button type the hex value to pad the file with in the text field provided with Other 10 Clic
34. cuit Emulator User Manual CH ZIlog The jumper settings provided in Table 2 on page 5 applies to the 20 28 PDIP emulation pods shipped along with the following e 7LP128P2X10ZAC G Rev A or later ZLP128ICE01ZEM Rev G or later e ZLP128ICE01ZEMG Rev A or later gt Note For ZLP128ICE0IZEM Rey F or earlier releases refer to the documen tation shipped with the kit for the emulation pods If you have any ques tion contact Zilog technical support at http support zilog com support custom_login asp Connecting Crimzon ICE to the Target Pod After installing the appropriate target pod and converter if required onto the target development board connect the Crimzon ICE to the target pod as follows For 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 For 20 PDIP and 28 PDIP target pods Connect the 34 circuit cable from P10 on the emulator to P16 on the target pod Emulator connector P9 is not used UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual Connecting Crimzon ICE to OTP Programming Module Optional After developing and debugging your software follow the steps below to connect the Crimzon
35. e 10 Internet Protocol Properties Dialog 5 Enter the IP address and subnet mask to match those displayed in Figure 10 on page 13 Leave the remaining fields blank In this exam ple 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 connect the PC to the same network as the Crimzon ICE unit 6 Click OK and restart the PC gt NDE To execute a sample project see Sample Project on page 19 UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual Zilog eg 14 Changing Crimzon ICE Settings Follow the steps below to change the Crimzon ICE Settings 1 Connect the serial port of the PC to the Crimzon ICE serial port using the DB9 to DB9O serial cable 2 Launch HyperTerminal on the PC by selecting Start gt Programs Accessories Communications gt HyperTerminal The Con nection Description dialog box appears 3 Enter the name for a new connection in the Connection Description dialog box and click OK to open the Connect To dialog box 4 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 5 A COM Properties dialog appears Enter the following port settings and click OK HyperTerminal should automatically attempt a connec tion Otherwise select Call gt Connect Bits per second 57600 Data bits 8 Parity None Stop bits
36. e 8 Television Brands Continued Brand Zilog Code Numbers HitachiPay 273 TV 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 120 Kenwood 108 118 120 128 129 Kloss 36 98 235 Kloss 170 171 241 Novabeam 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 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 UM018408 0408 Appendix B Codesets Crimzon In Circuit Emulator User Manual Z 46 Table 8 Television Brands Continued Brand Zilog Code Numbers Marants 165 52 64 108 118 120 165 179 Matsui 91 Megatron 14 120 Memorex 14 50 91 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 97 100 107 108 109 118 119 120 129 185 254 269 Nikkai 33 34 Nikko 14 120 126
37. e Figure 5 CAT 5 Crossover Cable Crimzon PC ICE DB9 to DB9 Cable Figure 4 Connecting a PC to the Crimzon ICE U U x z a z 4 a ETHERNET RESET 3 3 vDC 5VDC 1 8V0C 1 0A Copyright ZiLOG Inc 2003 Figure 5 Crimzon ICE Rear Panel UN Caution Ensure that the target board is not powered ON 3 Connect a5 V DC power supply to the Crimzon ICE The 3 3 V DC and 1 8 V DC power LEDs must illuminate see Figure 5 Contact Zilog support at www zilog com if there is any problem UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual Zilog ICE Run 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 ZDS Il and the Crimzon 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 For more details see Changing the PC s Settings to Match the Crimzon ICE on page 10 In a networked environment set the Crimzon ICE IP address and subnet mask to match the network setup For more details see Changing Crim zon ICE Settings on page 14 UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual Zilog 10 Changing the PC
38. e currently in debugging mode click Build gt Debug Stop Debug or press Shift F5 to stop debugging 6 In ZDS II connect to the emulator by clicking the Connect to Target Po button UM018408 0408 Sample Project Crimzon In Circuit Emulator User Manual Zilog 7 Select Tools gt OTP Programming to open the OTP window see Figure 15 Device ES 2840K2864 Hex File C FF EM C 00 Pad File with e None C Other Connected to Ethernet Emulator FW Version 2 10 Programming Option Bits Device Serialization C EPROM Protect r Method pr Serial Number Size CIPO 0 3 Pullups Sequential E Bye C Byte PO 47 Pull C Pseudorandom L Po 4 7 Pull ups c C 2 Byte C 4Byte O F2 0 7 Pul ups f None J L wor Permanently Enabled r Senal Number r Address 1 lt lil gt foo og m Status Operations L Bum Ram Checksum Verify Read View Edit Memory Load File Blank Check OTP Checkum Close UM018408 0408 Figure 15 OTP Programming Window ZDS Il Current Project Example Sample Project 27 Crimzon In Circuit Emulator User Manual 8 Click Ram Checksum button to calculate the checksum of the data in emulator RAM Use this to compare with the OTP checksum after burning 9 Select the option bits to be programmed in the Programming
39. ebugging 15 Click Break eh button and Stop Debugging to exit the debug ses sion Collecting a Trace Follow the steps below to obtain a sample trace l Collect a simple trace by starting the program stopping it and view ing the trace buffer Click Go button in the toolbar wait a moment and then click Break button The Trace buffer acts as a ring buffer that continuously fills and then overwrites itself until you stop execution Select the Trace window by selecting View gt Debug Windows gt Trace and 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 UM018408 0408 Program counter position with mask Data on PortO state of its pins with mask Sample Project Crimzon In Circuit Emulator User Manual Zilog 23 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 Follow the steps below to setup and execute an event 1 Select Tools gt Trace and Event System The Trace and Event Sys tem window appears see Figure 14 2 Check Enable event system check box and in the Then section check Break radio button 3 In the When section check Program Counter check box and set Program Counter to 0044 and Mask to FFFF Trace and
40. ets Crimzon In Circuit Emulator User Manual Z 50 Table 8 Television Brands Continued Brand Zilog Code Numbers 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 12 Dynamics Audio 158 Dynamics Audiovox 161 Beaumark 160 Broksonic 159 Broksonic 167 Bush 20 UMO18408 0408 Appendix B Codesets Crimzon In Circuit Emulator User Manual Z Table 9 VCR Brands Continued Brand Zilog Code Numbers 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 8 17 78 108 153 163 166 160 Mathes Cybernex 160 Daewoo 74 114 115 123 167 169 170 162 Daytron 74 115 DBX 12 158 Dumont 112 Dynatech 21 Electroho 4 161 171 me Electroph 161 onic 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 UMO18408 0408 Appendix B Codesets Crimzon In Circuit Emulator User Manual Z Table 9 VCR Brands Continued Brand Zilog Code Numbers
41. imzon In Circuit Emulator User Manual Zilog 36 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 Reenter 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 signals for key press detection and the eight port 0 output pins as row signals for the key scanning signal This con figuration provides 64 keys The key matrix is provided in Table 4 See Figure 2 on page 4 for key locations Table 4 IR Development Board Key Matrix K1 K2 K3 K4 K5 K6 K7 K8 SURMODE TTHOLD YELLOW RED GREEN BLUE TTOFF TT ON SUR ON FRONT CENTER REAR DELAY DELAY DELAY UP DN K9 K10 K11 K12 K13 K14 K15 K16 DISC TAPE TUNER TELEVISI VIDEO 1 VIDEO AUDIO TEST ON 2 K17 K18 K19 K20 K21 K22 K23 K24 UP ARROW DOWN LEFT RIGHT DSP MOD DSP O PIP SWAP ARROW ARROW ARROW E N K25 K26 K27 K28 K29 K30 K31 K32 REC STOP PLAY PAUSE REW FF AV K33 K34 K35 K36 K37 K38 K39 K40 TV SAT DVD 1 2 3 CH K41 K42 K43 K44 K45 K46 K47 K48 VCR AMP AUX 4 5 6 GUIDE CH UM018408 0408 Sample Project Crimzon In Circuit Emulator User Manual 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
42. in trigger ing a device such as a logic analyzer or oscilloscope Pin 3 is under software control and can be activated through the ZDS II Trace and Event system The trigger can be set to toggle or pulse Pin 1 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 before executing the code When the set up event occurs pin 3 of connector J5 goes HIGH and stays HIGH as long as the event is active Longer the event window longer the trigger out stays HIGH Using J5 Pin 1 External Trigger In The Crimzon ICE external trigger in feature can be enabled as follows e With the ZLP12840100kit ver 1 zdsproj project open in ZDS II as described in Sample Project on page 19 select Tools gt Trace and Event System Inthe Trace and Event System window select an Event entry In the When section check Trigger In box Select either 0 or 1 to trigger on LOW or HIGH respectively edge triggering not supported Click OK 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 generates 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 UM0184
43. iption 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 IN for connection ZLP12840 J2 IR Amplifier 5 6 Connect external IR amplifier OUT for ZLP12840 J9 IR Amplifier 1 2 IN to allow P37 to enable OUT for external IR Amplifier ZLP12840 J9 I C Interface 3 4 IN to connect P37 to SCLK of IN EEPROM J9 UC Interface 5 6 IN to connect P27 to SDA of IN EEPROM J10 All Keypad 1 16 Connect keypad column 0 7 IN to P20 P27 J11 All Keypad 1 16 Connect keypad row 0 7 to IN P00 P07 J13 RTS CTS 1 2 Connect RTS and CTS OUT UM018408 0408 Sample Project Crimzon In Circuit Emulator User Manual 39 Table 5 Default Jumper Settings IR Development Board Continued Jumper Description Pins Configuration Default Setting J14 RS232_EN 1 2 IN to enable Rx OUT OUT to disable Rx tri state J14 RS232_SHDN 34 IN to disable Tx tri state IN OUT to enable Tx Table 6 lists the functions of the four eight position DIP switches avail able on the IR development board Table 6 IR Development Board DIP Switch Settings Switch Description SW2 Controls the connection of eight LEDs to port 0 when it is configured as 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 Por
44. k Load File to load the hex file into emulator RAM Sample Project Crimzon In Circuit Emulator User Manual 11 Click Ram Checksum to calculate the checksum of the data in emu lator RAM Use this to compare with the OTP checksum after burn ing 12 Select the option bits to program in the Programming Option Bits area 13 Select None button in the Method panel of Device Serialization to leave the serial number blank 14 To load a serial number Select Sequential or Pseudorandom button This determines how the serial number is incremented on subsequent burns 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 Inthe Address field enter the address of the serial number 15 Click Blank Check to verify that the OTP chip is actually blank 16 Click Burn to program the OTP chip with the contents of emulator RAM The OTP chip contents is also verified 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 check sum calculated earlier 18 Click Close to close the OTP Programming window UM018408 0408 Sample Project Crimzon In Circuit Emulator User Manual LED Indicators There are three sets of dual LED indicators on the Crimzon ICE as described below 1 The dual ICE RUN LED on the front panel see Crimzon ICE Front Panel
45. ledge Base at http www zilog com kb For any comments detail technical questions or reporting problems please visit Zilog s Technical Support at http support zilog com UMO18408 0408 Customer Support Crimzon In Circuit Emulator User Manual 3M ieee d em A Z lLO U A Warning DO NOT USE IN LIFE SUPPORT LIFE SUPPORT POLICY ZILOG S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION As used herein Life support devices or systems are devices which a are intended for surgical implant into the body or b support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user A critical component is any component in a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness Document Disclaimer 02008 by Zilog Inc All rights reserved Information in this publication concerning the devices applications 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 D
46. n Circuit Emulator User Manual Zilog 21 Project Settings E Configuration Dee ej h General S Debugger ils Assembler fi Linker 3 Commands a Sis Objects and Libraries Target Name Sis Address Spaces O2 P12840 ZDS Default 3 Warnings ZLP12840K2864 Project 5s Output 32 Debugger Setup Add Copy Delete Debug Tool Current EthemetEmulator e Setup Cancel Help Figure 13 Project Settings Debugger Tab 7 Inthe Debugger tab click Setup button from target area Configure Target window appears 8 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 set the Voltage drop down menu to the voltage appropriate for the connected target 9 In Clock Source section select the Internal radio button if the emu lator is not connected to a target and set the Clock Frequency to 7 5 MHz UM018408 0408 Sample Project Crimzon In Circuit Emulator User Manual If the emulator is connected to a target select the External radio but ton and the appropriate frequency In the Programming Option Bits section ensure that none of the options are selected Click OK Click OK in the Project Settings window and you will be prompted to rebuild the affected files click Yes to rebuild the project You can also rebuild later by pressing F7 Click Go button to connect to the target and start d
47. p through a program 1 Reset the program to main by either clicking Reset icon or by selecting Debug gt Reset Set the Reset to main option by select ing Tools gt Options In the Options window select the Debugger tab and select the Reset to symbol main check box 2 Tostep through the program one instruction at a time use F11 or click Go button in the Debug toolbar or select Build gt Debug gt Step Into UM018408 0408 Sample Project Crimzon In Circuit Emulator User Manual sb pe rion Z l U Vj 25 Peek Poke Registers Follow the steps below to read the emulator register contents 1 ZDS II makes it easy for you to set and read emulator register con tents With the ZLP12840100kit ver 1 zdsproj project open and ZDS II connected to the emulator target select View 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 is displayed in red Refer to ZDS TI User Manual UM0164 on the ZDS II CD ROM and the ZDS II online help for more information on setting and reading register values Peek Poke Memory Follow the steps below to set and read the peek poke memory contents 1 With the ZLP12840100kit ver 1 zdsproj project open and ZDS II connected to the emulator target select View gt Debug Windows Memory 2 In Memory window double click the value you want to change and type in a new value
48. s of the following Connecting Target Pod Connecting Crimzon ICE to the Target Pod Connecting Crimzon ICE to OTP Programming Module Optional Connecting Crimzon ICE to a PC You have to reconfigure network settings on the PC or on the Crimzon ICE before using the emulator Connecting Target Pod Use an appropriate target pod and pin converter to connect the Crimzon ICE to the target board Figure 1 on page 4 displays the Crimzon ICE top panel connectors and Figure 2 on page 4 displays the IR development board included with the kit The 20 28 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 UM018408 0408 Introduction Crimzon In Circuit Emulator User Manual Zilog P9 OTP Programming Target Interface D1 J5 J4 P10 l ee e e e ei Out In GND Target Interface Target Trigger Figure 1 Crimzon ICE Top View 2 zm 2 a 2 z 2 QNO ven J40 NO Oz El 3 E E 2 El Boo Bods ooo a O slo os ooe o o oO OMR o o 9 og go AMOJ El R 6 58 d 568 d 59 5 dd
49. se locations in the search Browse to one of the following driver directories lt ZDS II Installation Directory gt device drivers USB lt ZDS II Installation CD gt Device Drivers USB Click Next Select the appropriate driver and click Next Click Finish to complete the installation Introduction Crimzon In Circuit Emulator User Manual zilo g 18 Windows 2000 Windows 98SE Follow the steps below to connect the Crimzon ICE to a host PC using USB Connection for Windows 2000 Windows 98SE OS version 1 Connect the Crimzon ICE to the host PC using the supplied USB cable See Figure 11 on page 16 for Crimzon ICE rear panel connec tion UN Caution Ensure the target board is not powered ON 2 Connect a5 V DC power supply to the Crimzon ICE The 3 3 V DC and 1 8 V DC power LEDs should illuminate see Figure 5 on page 8 Contact Zilog support at www zilog com if there is any problem In Windows the Found New Hardware wizard must activate auto matically 3 In the wizard click Next 4 Select Search for a suitable driver for my device Recommended click Next 5 Select Specify a location click Next 6 Browse to one of the following driver directories lt ZDS II Installation Directory device drivers USB lt ZDS II Installation CD gt Device Drivers USB 7 Click Next 8 Select the appropriate driver and click Next 9 Click Finish to complete the installation UM018408 0408 Introduction Crimzon
50. t 3 Default all ON UM018408 0408 Sample Project Crimzon In Circuit Emulator User Manual Zit 40 Appendix A Crimzon ICE Commands Table 7 lists the Crimzon ICE Commands Table 7 Crimzon ICE Commands Command Description and Options Displays available emulator command shell options bpool Displays buffer pool date Displays current date debugport Configures the TCP port usage debugport displays current settings 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 commands UMO18408 0408 Appendix A Crimzon ICE Commands Crimzon In Circuit Emulator User Manual Zilog 41 Table 7 Crimzon ICE Commands Continued Command Description and Options ifconfig Configures the emulator network interface Entering ifconfig with no options lists current configuration The following command options are available e specifies IP address e s specifies 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 2
51. zon In Circuit Emulator User Manual For information on Schematics for IR development board see Schematics on page 60 IR Development Board Operation Three digit codesets enable the IR development board to be used as a remote controller for a variety of devices The codeset tables are provided in Appendix B Codesets on page 42 Applying Power to the Board Insert the two AAA 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 You can also apply an external 3 0 V DC power supply to the board between terminals J7 Vbat and J8 Gnd The board supports a voltage range of 2 0 V DC to 3 6 V DC Match ZDS II project settings to ensure proper operation Enabling the Universal Remote Control Feature Follow the steps below to enable a universal remote control 1 To change 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 AUXI1 2 To change a code CODE is the three digit number for the code selected from Table 8 on page 42 through Table 11 on page 58 press and hold the device key for three seconds LED D2 stays ON for three seconds and then turns OFF 3 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 UM018408 0408 Sample Project Cr
Download Pdf Manuals
Related Search
Related Contents
書類をポケットに入れるファイル myStudy User Guide for Teaching Staff Télécopie pleine page - Z.ONE – ZONE DATSUN.FR Visualização PRIMERGY F200 ラックマウント変換機構取扱説明書 fx2n-232if rs232c interface block hardware manual PROFINET Systembeschreibung CR_01_27 janvier13_AA_.docx Copyright © All rights reserved.
Failed to retrieve file