R EM MICROELECTRONIC - MARIN SA EME66xx Hardware Description EM66xx IN-CIRCUIT EMULATOR HARDWARE DESCRIPTION Version 2.8 October 2005 Copyright © 2005, EM Microelectronic-Marin SA 1 www.emmicroelectronic.com EME66xx R Hardware Description Copyright © 2005, EM Microelectronic-Marin SA 2 www.emmicroelectronic.com EME66xx Hardware Description EM66xx Emulator hardware description......................................................................................................4 1.1. Warning ....................................................................................................................................................4 1.2. Front panel ...............................................................................................................................................5 1.2.1. ICE connector pin-out .......................................................................................................................6 1.2.2. LCD Connector pin-out ** .................................................................................................................6 1.3. Rear Panel ...............................................................................................................................................7 1.4. Switch settings .........................................................................................................................................8 2. General operational points........................................................................................................................ 12 2.1. Using external clock .............................................................................................................................. 12 2.2. Option Registers ................................................................................................................................... 12 2.3. Watchdog timers ................................................................................................................................... 12 2.4. Synchronous and asynchronous modes............................................................................................... 12 3. Configuration resistors.............................................................................................................................. 13 3.1. Port Configuration ................................................................................................................................. 13 3.2. Pull-up and Pull-down Resistor placement. .......................................................................................... 14 4. Default configurations ............................................................................................................................... 15 4.1. EM66xx ................................................................................................................................................. 15 4.2. EM6603 / EM6605 ................................................................................................................................ 16 4.3. EM6604 ................................................................................................................................................. 17 4.4. EM6607 ................................................................................................................................................. 18 4.5. EM6617 ................................................................................................................................................. 19 4.6. EM6620 ................................................................................................................................................. 20 4.7. EM6621, EM6622, EM6625, EM6626 ................................................................................................. 21 4.8. EM6640 ................................................................................................................................................. 22 4.9. EM6680 ................................................................................................................................................. 23 5. EM66xx emulator upgrade procedure ...................................................................................................... 24 1. Copyright © 2005, EM Microelectronic-Marin SA 3 www.emmicroelectronic.com EME66xx Hardware Description 1. EM66xx Emulator hardware description 1.1. Warning When connecting or disconnecting the EM66xx emulator to the target system or when connecting headers or LCD’s to the connectors on the front panel it is essential that the emulator is powered off. Failure to do this could result in damage to the emulator hardware, which would require the system being returned to EM Microelectronic for repair. Please also be aware that when Port pins are set to input, any voltage greater that the V I/O level that has been set (See Below) can also damage the emulator. This includes transitory switching spikes as well as sustained over voltage conditions. It is recommended that any high levels driven onto the emulator port pins for sustained periods should be set to approximately 10 percent below the set V I/O level. So for example, if V I/O is set to 3.0V then to drive a high on to PortB the recommended level would be around 2.7V. Alternatively V I/O can be set above the switching level applied to the emulator to say 3.3V in the above example. Copyright © 2005, EM Microelectronic-Marin SA 4 www.emmicroelectronic.com EME66xx Hardware Description 1.2. Front panel ON/OFF PIN 40 PIN 40 PIN 1 PIN 1 RESET SVLD LCD CONNECTOR HALT ICE CONNECTOR DEBUG BREAK RESET The RESET switch will perform a hardware reset to the entire emulator, however it will not reinitialise peripheral RAM or trace and program memory. It will set peripheral registers to their reset values as specified in the respective microcontroller data sheets. The SVLD (Supply Voltage Level Detect) switch will return a failing result during software control of the SVLD peripheral, i.e. simulating a battery or supply low condition. The four green LED’s indicate the following conditions. HALT LED will light when a HALT instruction is executed. DEBUG LED will light when connection to the host is made and the core is in a BREAK state. When the core is running this LED will go out. BREAK LED will light when the connection to the host has been made. If this LED in not illuminated then there is no communication with the monitor. RESET LED will light when a hardware reset is performed. Copyright © 2005, EM Microelectronic-Marin SA 5 www.emmicroelectronic.com EME66xx Hardware Description 1.2.1. PIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 SIGNAL PORTA 0 PORTA 1 PORTA 2 PORTA 3 PORTB 0 PORTB 1 PORTB 2 PORTB 3 PORTC 0 PORTC 1 PORTC 2 PORTC 3 PORTD 0 PORTD 1 PORTD 2 PORTD 3 RESET IN GROUND STROBE / RESET OUT ADC Din 1.2.2. PIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ICE connector pin-out PIN 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 SIGNAL BUZZER ADC VGND CLOCK OUT ADC VREF PORTS 3 ADC Cin PORTS 0 ADC Bin GROUND OSC IN PORTS 1 / SWB CLK VIOSET PORTS 2 / SWB DATA PORTE 0 PORTE 1 PORTE 2 PORTE 3 PIN 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 SIGNAL COL 13 COL 14 COL 15 COL 16 COL 17 COL 18 COL 19 COL 20 COL 21 COL 22 COL 23 COL 24 COL 25 COL 26 COL 27 COL 28 COL 29 COL 30 COL 31 COL 32 ADC Ain LCD Connector pin-out ** SIGNAL NO CONNECTION NO CONNECTION ROW 4 ROW 3 ROW 2 ROW 1 GROUND NO CONNECTION COL 1 COL 2 COL 3 COL 4 COL 5 COL 6 COL 7 COL 8 COL 9 COL 10 COL 11 COL 12 Copyright © 2005, EM Microelectronic-Marin SA 6 www.emmicroelectronic.com EME66xx Hardware Description 1.3. Rear Panel 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 S3 V I/O S4 VLCD RS-232 POWER The V I/O adjustment allows the user to change the output drive level and input switching level of the V66xx emulator. Thus, if it is required that the emulator operate in a system where the supply voltage is 0 to 3 volts, then the inputs and outputs can be easily configured for this. The input switching level is CMOS compatible and is around 0.5Vdd. So if V I/O is set to 3v then when input a Port will change from a logic 0 to a logic 1 at about 1.5V. In output mode a logic 0 will be approximately 0V and a logic 1 will be at approximately 3.0V. In order to set V I/O it is necessary to do the following. Set an output line to drive a logic 1, e.g. PortB-1. Then connect a voltmeter between PortB-1 and Ground (emulator side), turning the V I/O with a pot trimmer will cause the output on the port pin to change, until the required level is obtained. It is possible to vary the output drive between 1.5V and 5.5V. Adjustment of the LCD drive levels are also possible using the VLCD trimmer pot. The output levels can be set using a similar method to that outlined above, i.e. by setting a particular LCD column line high and measuring with a voltmeter. The VLCD level can also be changed dynamically such that when display data is being updated and the emulator is in RUN mode, it is possible to vary VLCD and observe what is happening to the contrast on the display. The POWER supply of the emulator is 12V DC/1A Copyright © 2005, EM Microelectronic-Marin SA 7 www.emmicroelectronic.com EME66xx Hardware Description 1.4. Switch settings When switch settings are changed an emulator hardware reset should be performed or the emulator should be powered off then on again. SWITCH S4-1 S4-2 S4-3 S4-4 S4-5 S4-6 S4-7 S4-8 S3-1 S3-2 S3-3 S3-4 S3-5 S3-6 S3-7 S3-8 FUNCTION RESERVED RESERVED RS-232 BAUD RATE (19.2K / 9.6K) WATCHDOG ENABLE BREAK PERIPHERY RESERVED RESERVED RESERVED CORE CLOCK OSCILLATOR 0 OSCILLATOR 1 CLOCK DIVIDER CLOCK DIVIDER RESERVED RESERVED INTERNAL BUZZER DEFAULT RESERVED RESERVED 19.2K ENABLED DISABLED RESERVED RESERVED RESERVED DISABLED INTERNAL OSCILLATOR DIVIDED BY 1 DIVIDED BY 1 RESERVED RESERVED DISABLED POSITION UP UP UP UP UP UP UP UP UP UP UP UP UP UP UP UP Note the following: During BREAK, if switch S4-5 is in the up position the core will stop execution of instructions but the peripheral components such as timers and serial interfaces will continue to run. If this switch is set down then all peripheral functions will stop when the Core BREAKs. Switch S4-4 enables or disable the internal watchdog timer. This will also be disabled on BREAK if S4-5 is in the down position. Switch S3-1 will output the internal core clock out to the target system if required. However, this switch should not be put into the down position on a no load situation. Switch S3-8 will route the buzzer tone to an internal buzzer. Switches S3-4 and S3-5 can be set to give a core clock frequency which is a division of the fundamental oscillator fitted in the emulator. The following table shows the frequencies available for the EM66xx microcontrollers: S3-4 UP DOWN UP DOWN S3-5 UP UP DOWN DOWN DIVISOR 1 2 4 8 EM6605 1000kHz 1000.00 500.00 250.00 125.00 EM6640 600kHz 600.00 EM66xx 32.768kHz 32.768 On the EM6625 / EM6626, Peripheral Clock is automatically divided to 32kHz: EM6625 / EM6626 base clock S3-2 S3-3 S3-4 S3-5 DIVISOR U23 / 32,768KHz U53 / 4,096 MHz UP UP UP UP 1 32,768kHz DOWN DOWN UP DOWN 2 32 kHz DOWN DOWN DOWN UP 1 64 kHz DOWN DOWN DOWN DOWN 4 128 kHz It’s possible to emulate the metal option “MDeb” by using the switch S3-7. CK[11] is used as debouncer clock when the switch is up, whereas CK14 is used when it’s down. Copyright © 2005, EM Microelectronic-Marin SA 8 www.emmicroelectronic.com EME66xx Hardware Description Switches S3-2 and S3-3 can be set to select the clock mode. The following table shows the three available modes. The default mode is the internal oscillator. S3-2 S3-3 SELECTION EM6640 EM66xx UP UP INTERNAL OSCILLATOR DOWN UP EXTERNAL CLOCK UP DOWN NOT AVAILABLE DOWN DOWN SYNTHESISER For the EM6607, Use the following table to set the input port A reset Combination option. Option A B C D S3-6 S3-7 Function Up Down Up Down Up Up Down Down No Inputs Reset Reset = PA0 * PA1 Reset = PA0 * PA1 * PA2 Reset = PA0 * PA1 * PA2 * PA*3 For the EM6x80, Two ways is available on the emulator to select the desired RC clock frequency. The first solution is by hardware switches which represent the metal option present on the EM6680. S3-6 is used to enable the switches metal option when it’s down. Use the following table to select the core clock value: Pos. 1 2 3 4 5 6 7 8 9 10 S3-6 Down Down Down Down Down Down Down Down Down Down S3-5 Down Down Up Up Up Down Down Up Up Up S3-4 Down Up Down Up Up Down Up Down Up Up S3-3 Up Up Up Up Up Down Down Down Down Down S3-2 Up Up Up Up Up Down Down Down Down Down S3-7 X X X UP Down X X X Up Down RC Frequency 512kHz 256kHz 128kHz 32kHz 64kHz 800kHz 400kHz 200kHz 50kHz 100kHz System clock is automatically set to base frequency like 32 or 50kHz. The second solution is to keep each S3-6, S3-3, S3-4 in up position and to work only with the register RegMFP1 to adjust the desired RC frequency. If one of the switches is down it force a condition which cannot modify by the register. The following table is showing the possible selection: RegMFP1[3] RegMFP1[2] RegMFP1[1] RegMFP1[0] Opt[7] Opt[6] Opt[5] Opt[4] 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 Frequency of RCclk Unit 32.00 64.00 128.00 256.00 512.00 50.00 100.00 200.00 400.00 800.00 kHz kHz kHz kHz kHz kHz kHz kHz kHz kHz RegMFP1[3] bit selects the base frequency, 512kHz or 800kHz. RegMFP1[2:0] bit select the frequency divider rate, 1, 2, 4, 8, 16. When the RC frequency is changed the system clock, sysClk, will be automatically close as possible to 32/50 kHz thanks to frequency dividers. It’s possible to modify the RC CPU frequency on the fly from 32 to 800kHz. Copyright © 2005, EM Microelectronic-Marin SA 9 www.emmicroelectronic.com EME66xx Hardware Description A special Power on Reset switch is implemented on the EME6680 emulator to be able to generate a POR of the device without disconnect the EME6680 from the PC. The Controller is fully reset like a POR, but you don’t need to reconnect the emulator and reload the software on it. Have a look on the following drawing to see where is situated the Switch for POR. ADC(PA4) SVLD POR Switch PA0 PA1 PA2 PA3 PA4 PA5 PA5 PA4 PA3 PA2 PA1 PA0 The following switches are used to select different metal options on EM6682. Switches S4-6 S4-7 S4-8 S3-6 Options Counter update option SVLD level selection Power check selection RC frequency selection mode S3-7 S3-8 Metal option for frequency selection Power check level selection Up pos. RC EM6681 After POR Register option as EM6580 32/50kHz Level 5 Down pos. RC/2 EM6680 After Reset Metal option as EM6680 64/100kHz Level 9 The ADC/SVLD levels are the following when Vbat is 3V. LEVEL 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Copyright © 2005, EM Microelectronic-Marin SA EM6681 0.36 0.49 0.49 0.58 0.68 0.77 0.829 0.922 1.02 1.11 1.2 1.3 1.39 1.48 1.57 1.66 10 EM6680 0.5 0.65 0.8 0.95 1.1 1.25 1.4 1.55 1.7 1.85 2 2.15 2.30 2.45 2.60 2.75 www.emmicroelectronic.com EME66xx Hardware Description The two following tables show the metal mask option of the EM6680 which are implemented in register like the EM6580. @ addr. 121 decimal = 79 hex. Reset R/W Description 0 R/W Debouncer clock select “0” = ck[11], “1”=ck[14] 0 R/W Must be kept to “0” 0 R/W Counter Clock source 7 selection "0" PA3/PA4, "1" RCclk/2 0 Opt[0] 0 R/W No effect Note: PA4 Pull resistor is located on the EME66xx PCB at location R24 and R8. (Detail on page 22) Register RegMFP0 Bit Name 3 Opt[3] 2 Opt[2] 1 Opt[1] The ADC/SVLD Voltage level option is not implemented on the emulator, But to used Bit of the following register are use for emulate some specific metal options. Bit3 of RegMFP2 is used to select the SCR timing value, IF ‘0’ is set the EM6680 timing value are used, if ‘1’ the EM6580 timing value are set. Bit2 of RegMFP2 is used to select the length of the counter, If ‘0’ value is set the 10 bits counter is used, if ‘1’ the 9 bits counter is used. Register RegMFP2 Bit Name 3 Opt[11] 2 Opt[10] 1 0 Opt[9] Opt[8] @ addr. 123 decimal = 7D hex. Reset R/W Description 3 R/W SCR Timing selection (not implemented on EM6580 silicon) 2 R/W Counter length selection ‘0’ is 10bits ‘1’ is 9bits (not implemented on EM6580 silicon) ? R/W not used 0 R/W ADC/SVLD voltage level#15: "0" 2.75v, "1" 3v (not implemented on the emulator) Keep Guard: The RegMFPX Registers cannot be used in final ROM version software for EM6680, All three registers are metal option on the EM6680. Please contact EMMicroeletronic for more details. Copyright © 2005, EM Microelectronic-Marin SA 11 www.emmicroelectronic.com EME66xx Hardware Description 2. General operational points. 2.1. Using external clock An external clock can be used to control the EM66xx core (see previous table for switches selection). The clock signal must be between 0 to 5Volts and a 50% duty cycle. 2.2. Option Registers The EM66xx range of microcontrollers has two methods of customising functions; mask options and option registers. In the emulator only some of these functions are directly implemented. For example the selection of pull-up and pulldown resistors at port pins is implemented directly on the emulator system board as outlined in the following section. The pull resistors can be disable by software ( if the register exist in the memory map of the EM66xx microcontrollers). However those functions that are internal (i.e. those not associated with I/O) such as interrupt edge selection, debouncer selection, etc, are implemented by manipulation of the corresponding option register as they would be in the normal operation of a microcontroller. Those option registers that change I/O characteristics still exist within the emulator and can be written and read as normal, but they will perform no function otherwise. The exception to this is the EM6622 emulation system, which due to system constraints, does not implement those option registers that change pull-up and pulldown selects. Reading these registers will always produce a value of ‘1111’ on the data bus no matter what the written value was. 2.3. Watchdog timers Only the logic watchdog is implemented in the EM66xx emulation system. This watchdog will generate a reset signal to the core every 2.5 - 3.5 seconds at a system clock of 32.768khz. If the watchdog is enabled on the emulator and the system is running in asynchronous mode then the core will be reset periodically. This will also be the case when the emulator is in BREAK mode, resulting in all internal registers being set to their default values as defined in the specification for each microcontroller. If the watchdog switch is enabled and the emulator is in synchronous mode then during a BREAK the watchdog will not generate a reset since all peripheral timing functions are statically timed with the core. If the watchdog is disabled and the core is running asynchronously then no reset will be generated however all other timers will be active as normal during a BREAK. The other watchdog in the EM range of microcontrollers is the analogue watchdog, which supervises the oscillator. If oscillation stops then a reset will be generated (see the appropriate microcontroller specification). This function is not implemented in the emulator. 2.4. Synchronous and asynchronous modes As outlined above, if the switch enabling synchronous mode is activated then all peripheral functions will stop when the Core BREAKs. This is a useful feature if one wishes to examine the contents of counter registers for example. The exception to this is if a LCD controller is being emulated. Since a frame the emulator for the display generates clock then if the periphery is running synchronously with the core then the frame clock will also stop and the display will fade. It is recommended that when using the LCD controller that the periphery is run asynchronously from the core with the logic watchdog disabled. Copyright © 2005, EM Microelectronic-Marin SA 12 www.emmicroelectronic.com EME66xx Hardware Description 3. Configuration resistors. 3.1. Port Configuration The table below gives the reference designators on the emulator PCB of the pull-up and pulldown resistors for the port configurations on the EM66xx emulator. Any value can be fitted to give the desired configuration, but since these are 1206 SMD resistors it recommended that only EM Microelectronic personnel or someone qualified in SMD fabrication should attempt configuration. Configuration PortA PortB PortC PortD PortE Serial Port PA0 PA1 PA2 PA3 PB0 PB1 PB2 PB3 PC0 PC1 PC2 PC3 PD0 PD1 PD2 PD3 PE0 PE1 PE2 PE3 PS0 PS1 PS2 PS3 Copyright © 2005, EM Microelectronic-Marin SA Pull-up Pull Down R2 R1 R3 R4 R6 R5 R7 R8 R10 R9 R11 R12 R14 R13 R15 R16 R149 R150 R151 R152 R35 R37 R36 R34 R18 R17 R19 R20 R22 R21 R23 R24 R26 R25 R27 R28 R30 R29 R31 R32 R153 R154 R155 R156 R39 R41 R40 R38 13 www.emmicroelectronic.com EME66xx Hardware Description 3.2. Pull-up and Pull-down Resistor placement. The following representation shows the positions of the configuration resistors given in the table above. Reference designators are also shown on the silk screen of the PCB. R R R R R R R R R R R R 13 29 30 14 150 154 153 149 35 39 34 38 R R R R R R R R R R R R 15 31 32 16 151 155 156 152 36 40 37 41 R R R R R R R R R R R R 1 17 18 2 5 21 22 6 9 25 10 26 R R R R R R R R R R R R 19 3 20 4 7 23 24 8 11 27 12 28 Copyright © 2005, EM Microelectronic-Marin SA 14 www.emmicroelectronic.com EME66xx Hardware Description 4. Default configurations Outlined below are each of the resistors and placements for the default configurations of each of the EM microcontrollers supported. 4.1. EM66xx PortA PortB PortC PortD PortE Pull-Down Pull-Down Pull-Down Pull-Down Pull-Down R R R R 29 30 154 153 R R R R 31 32 155 156 R R R R R R 17 18 21 22 25 26 R R R R R R 19 20 23 24 27 28 Level shifters PortA PortB PortC PortD PortE STRB RESET Copyright © 2005, EM Microelectronic-Marin SA U60, U61, U62, U63 U8, U9, U11, U12 U14, U15 U16, U17 U55, U56, U57, U58 U18 U19 15 www.emmicroelectronic.com EME66xx Hardware Description 4.2. EM6603 / EM6605 PortA PortB PortC PortD Pull-Down Pull-Down Pull-Down Pull-Up R R 13 14 R R 15 16 R R R R R R 17 18 21 22 25 26 R R R R R R 19 20 23 24 27 28 Level shifters PortA PortB PortC PortD STRB RESET U60, U61, U62, U63 U8, U9, U11, U12 U14, U15 U16, U17 U18 U19 Jumpers JP19 & JP20 on Pos. 1-2 JP30–JP35 on Pos. 1-2 Oscillator U23 3,2768MHz Copyright © 2005, EM Microelectronic-Marin SA 16 www.emmicroelectronic.com EME66xx Hardware Description 4.3. EM6604 PortA Pull-Down PortB = PortC CMOS Output PortC = PortB PC0 : Pull-up PC1 : CMOS Output PC2 : CMOS Output PC3 : CMOS Output R R R 17 18 6 R R 19 20 Level shifters PortA PortB PortC STRB RESET U60, U61, U62, U63 U14 U8, U9, U11, U12 U18 U19 Jumpers JP19 & JP20 on Pos. 1-2 JP30–JP35 on Pos. 1-2 Oscillator U23 3,2768MHz Caution: Keep guard that the Port B and the Port C are inverted on the EME6604 due to a hardware constraint. Copyright © 2005, EM Microelectronic-Marin SA 17 www.emmicroelectronic.com EME66xx Hardware Description 4.4. EM6607 PortA PortB PortC PortD PortE Pull-Down Pull-Down Pull-Down Pull-Up Pull-Down R R R R 13 14 154 153 R R R R 15 16 155 156 R R R R R R 17 18 21 22 25 26 R R R R R R 19 20 23 24 27 28 Level shifters PortA PortB PortC PortD PortE STRB RESET U60, U61, U62, U63 U8, U9, U11, U12 U14, U15 U16, U17 U55, U56, U57, U58 U18 U19 Jumpers JP19 & JP20 on Pos. 1-2 JP30–JP35 on Pos. 1-2 ADC PAD8 on Pos. U54 Oscillator U23 32,768KHz SVLD Level implemented on the emulator are (01=1.3V), (10=2V),(11=2.3V). Use the input called SVLD on the ICE board to modify the SVLD level. Copyright © 2005, EM Microelectronic-Marin SA 18 www.emmicroelectronic.com EME66xx Hardware Description 4.5. EM6617 PortA PortB PortC SWB Pull-Down Pull-Down Pull-Down CMOS Output R R R R R R 17 18 21 22 25 26 R R R R R R 19 20 23 24 27 28 Level shifters PortA PortB PortC SWB STRB RESET U60, U61, U62, U63 U8, U9, U11, U12 U14, U15 U6 U18 U19 Jumpers JP19 & JP20 on Pos. 1-2 JP30–JP33 on Pos. 1-2 JP34 & JP35 on Pos. 2-3 ADC PAD8 on Pos. U54 Oscillator U23 3,2768MHz Copyright © 2005, EM Microelectronic-Marin SA 19 www.emmicroelectronic.com EME66xx Hardware Description 4.6. EM6620 PortA PortB Pull-Down Pull-Down R R R R 17 18 21 22 R R R R 19 20 23 24 Level shifters PortA PortB STRB U60, U61, U62, U63 U8, U9, U11, U12 U18 Jumpers JP19 & JP20 on Pos. 1-2 JP13 on Pos. 1-2 Oscillator U23 3,2768MHz Copyright © 2005, EM Microelectronic-Marin SA 20 www.emmicroelectronic.com EME66xx Hardware Description 4.7. EM6621, EM6622, EM6625, EM6626 PortA PortB Serial Port Pull-Down Pull-Down Pull-Down R R R R 17 18 21 22 R R R R 19 20 23 24 R R 39 38 R R 40 41 Level shifters PortA PortB Serial Port STRB RESET U60, U61, U62, U63 U8, U9, U11, U12 U6, U7, U50 U18 U19 Jumpers JP19 & JP20 on Pos. 1-2 JP13 on Pos. 1-2 Oscillator U23 U53 3,2768MHz 4,096 MHz Copyright © 2005, EM Microelectronic-Marin SA 6621/22/25/26 6625/26 21 www.emmicroelectronic.com EME66xx Hardware Description 4.8. EM6640 PortA Pull-Down PortB Pull-Down PortC = PortE Pull-Down R R 154 153 R R 155 156 R R R R 17 18 21 22 R R R R 19 20 23 24 Level shifters PortA PortB PortC STRB RESET U60, U61, U62, U63 U8, U9, U11, U12 U55, U56, U57, U58 U18 U19 Jumpers JP19 & JP20 on Pos. 1-2 JP13 on Pos. 1-2 Synthesiser U53 SPG8640AN Copyright © 2005, EM Microelectronic-Marin SA 22 www.emmicroelectronic.com EME66xx Hardware Description 4.9. EM6580, EM6680, EM6682 Pull-Down PortA bit 0 R28 PortA bit 1 R27 PortA bit 2 R25 PortA bit 3 R26 PortA bit 4 R24 (default) PortA bit 5 R23 Note: R24 or R8 not both at the same time. Pull-Up R2 R1 R3 R4 R8 R5 R R R R R R 1 2 5 22 25 26 R R R R R R 3 4 23 24 27 28 Level shifters PortA PortB PortC STRB RESET U60, U61, U62, U63 U8, U9, U11, U12 U14,U15 U18 U19 Jumpers JP19 & JP20 on Pos. 1-2 JP30-JP35 on Pos. 1-2 ADC PAD8 on Pos. U54 Oscillator U23 U53 4.096MHz 8MHz ADC PA4 ExtVcheck on Din SVLD on Ain (SVLD value level 4 1.10V in the emulator instead 1.20V) Copyright © 2005, EM Microelectronic-Marin SA 23 www.emmicroelectronic.com EME66xx Hardware Description 5. EM66xx emulator upgrade procedure When changing from one emulator system to another or upgrading the emulator the following procedure should be performed. 1. Switch off power and remove power cable and RS-232 cable at the rear of the system. 2. Remove the four retaining screws on the front panel. 3. Remove front panel. 4. Slide emulator system board forward and out of the housing. 5. At the rear of the board is located an 8 pin DIP module at U42. 6. Carefully remove this device from its socket and replace it with the new ROM. 7. Slide board back into housing and replace front panel with retaining screws. 8. Reconnect power and RS-232 cables. 9. Switch on system and ensure that when the monitor connects to the emulator that both the DEBUG and BREAK LED’s are illuminated. 10. The emulator should now be upgraded. EM Microelectronic-Marin SA (EM) makes no warranty for the use of its products, other than those expressly contained in the Company's standard warranty which is detailed in EM's General Terms of Sale located on the Company's web site. EM assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of EM are granted in connection with the sale of EM products, expressly or by implications. EM's products are not authorized for use as components in life support devices or systems. © EM Microelectronic-Marin SA, 10/05, Rev. 2.8 Copyright © 2005, EM Microelectronic-Marin SA 24 www.emmicroelectronic.com