Advertisement

Quick Links

ICE Emulator for 8051

TRACE32 Online Help
TRACE32 Directory
TRACE32 Index
TRACE32 Documents ......................................................................................................................
ICE In-Circuit Emulator .................................................................................................................
ICE Target Guides ......................................................................................................................
ICE Emulator for 8051 .............................................................................................................
WARNING ..............................................................................................................................
Quick Start ............................................................................................................................
Troubleshooting ...................................................................................................................
FAQ ........................................................................................................................................
Configuration ........................................................................................................................
8051
80152
Basics ....................................................................................................................................
General SYStem Settings and Restrictions .......................................................................
SYStem.Options ...................................................................................................................
ICE Emulator for 8051
©1989-2019 Lauterbach GmbH
1
1
3
4
7
8
12
12
13
13
13
13
13
14
15
15
16
17
17
18
18
18
21
22
23
24
25
25
26
26

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ICE Emulator and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Lauterbach ICE Emulator

  • Page 1: Table Of Contents

    TRACE32 Online Help TRACE32 Directory TRACE32 Index  TRACE32 Documents ........................ ICE In-Circuit Emulator .........................  ICE Target Guides ........................ICE Emulator for 8051 ......................WARNING ..........................Quick Start ..........................Troubleshooting ........................FAQ ............................Configuration ........................8051 80152 80C152JA DIL...
  • Page 2 Adapter M582-C552 Module M592 Module S517-C535 Module 80152 Module MCL580 Support ..........................Compilers 3rd-Party Tool integrations Realtime Operation Systems Emulation Frequency ......................Emulation Modules ......................Module Overview Order Information Physical Dimensions ......................Adapter ..........................©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 3: Warning

    ICE Emulator for 8051 Version 06-Nov-2019 P:000072 \\KEILS\KEILS\sieve+6F ... MIX E::w.d.l addr/line code label mnemonic comment P:00006E 351D addc a,1D ; a,primz P:000070 F51F 1F,a ; k,a while ( k <= SIZE ) P:000072 C3 P:000073 E520 a,20 P:000075 9413...
  • Page 4: Quick Start

    A basic setup file includes the following parts: Set cpu-type and -mode Set system options Select dualport mode (optional) Set mapper (optional) Select frequency (optional) Activate the emulator Load application file (optional) Set breakpoints (optional) Start application Stop application (optional) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 5 The current CPU frequency can be displayed in the counter window. vco.clock 20. ; input clock to the EXTAL pin of the cpu is set ; to 20 MHz (only necessary if internal clock is ; used) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 6 Application can be started with giving a break address. For example ”go main” starts the application and stops at symbol main. ; run application Stop application (optional) Application can be breaked manually by using th BREAK command. break ;break application manually ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 7: Troubleshooting

    Troubleshooting No Information available. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 8: Faq

    ROM/FLASH. Address ranged with "MAP.UPDATEONCE" will read the specified address range only once after the core stopped at a breakpoint or manual break. "MAP.CONST" will read the specified address range only once per SYStem.Mode command (e.g. SYStem.Up). ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 9 If port pins are used as additional address lines for banking purposes, the 8051 Ports address lines must be synchronized to the regular addresses. In other case, nobody can predict when the port pins are valid. Refer to the manufactures 8051 Ref: 0049 manual. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 10 Schmitt-Trigger input like the CPU has. In case of Program problems, it is recommended to check the RESET line: Are there spikes, heavy Execution noise or is the falling or rising slope of RESET slower than 10 us. Ref: 0064 ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 11 Nevertheless the emulator and the analyzer are able to trigger and trace on the access type (e.g. read bit direct) and on the internal addresses of byte direct and bit direct accesses. https://www.lauterbach.com/faq/8051tir.txt ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 12: Configuration

    26-pin connector on the module. :: :: :: :: :: :: :: :: :: :: Con A Con B Jumper C no Piggy-Back not used not used closed OKI-85C154VS connected open closed MHS-80C51P32 open connected open ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 13: 80C152Ja Dil

    80C152JA,80C152JB, Opfetch via P5/P6, P5/P6 of target open Pos B: 80C152JB, Opfetch via P0/P2, P5/P6 connected to target C515C For proper operation all switches of DIPSWITCH S101 must be closed and all switch of DIPSWITCH S100 must be open. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 14: C505C

    C505C A/D3 (Port63) pin 5: C505C A/D4 (Port64) pin 6: C505C A/D5 (Port65) pin 7: C505C A/D6 (Port66) pin 8: C505C A/D7 (Port67) For emulation the A/D unit of the C515C must be supplied. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 15: Basics

    H8051 C501 C502 C503 The emulation head can stay in 6 modes. The modes are selected by the SYStem.Up or the SYStem.Mode command. Format: SYStem.Mode <mode> <mode>: ResetDown ResetUp AloneInt AloneExt EmulInt EmulExt ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 16: System.clock

    RESET mode. The probe is not supplied by the target. When running without target, the target voltage is simulated by an internal pull-up resistor. SYStem.Clock Clock generation Format: SYStem.Clock <option> <option>: High Variable frequency 1…35 MHz. Low, Mid, 2.5, 5.0 or 10.0 MHz. High ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 17: System.cpu

    No Dualport access, when user program is running. If DUMMY Cycle is active and the access mode FAST or ADVANCED is selected, sometimes wrong data values can appear in the trace of DUMMY cycles. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 18: General System Settings And Restrictions

    It is not possible to modify the bits PDE and PDS by an emulator command while the emulation is stopped. A modification is only possible in a user program using two special commands following immediately after each other. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 19 (including burst mode), before the break sequence takes place. Interrupts during Single To prevent the execution of interrupts from internal sources during Step assembler and HLL single stepping, the commands SETUP.IMASKASM and SETUP.IMASKHLL must be used. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 20 T2 compare 2 1 1 0 1 T2 overflow 1 1 1 0 *) Within the 83C581 mode, check flags RI, TI and IFE to decide weather a SIO 0 or E2PROM interrupt has occurred. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 21: Special I/O-Register Module Mcl580

    1 0 0 1 Derivative Int5 1 0 1 0 Derivative Int6 1 0 1 1 Derivative Int7 1 1 0 0 Derivative Int8 1 1 0 1 Derivative Int9 1 1 1 0 ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 22: Special I/O-Register Module 517E

    2 1 0 0 1 external int 3 1 0 1 0 external int 4 1 0 1 1 external int 5 1 1 0 0 external int 6 1 1 0 1 ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 23: Internal Memory

    @r0,a The breakpoint list commands list only one memory class: ; list program breakpoints b.l x: ; list breakpoints in external data memory b.l d: ; list breakpoints in direct addressed mem. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 24: System.line

    EA OFF EBEN-line is always off. Only the following combinations of LINE EA and LINE EBEN are allowed: LINE EA LINE EBEN Opfetch via always P0,P2 always P5,P6,P0,P2 always always P5,P6 target bustype ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 25: System.line

    CPU makes a dummy cycle before the data access with the address of the next opcode), or the prestore address is the address of a dualport access while access mode Fast or Advanced. Switch DUMMY off decreases the really number of cycles counting in the counter window. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 26: System.options

    When IOSTOP is switched off, all internal IO devices keep running while emulation stops. If IOSTOP is active and EA="1" and the program memory is mapped external, a Data window shows not the correct memory contents, but the program is still running correct. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 27: System.option Dma

    EPROM must be removed from the target. It’s not possible to run a program from the external program memory. Do not connect the NC pins with any signal. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 28: System.option Testclock Clock Error Check

    The clock test circuit is active. Clock fails will be detected by the emulator system. The emulator changes to reset state. No clock check. The external clock may be switched off, but no trace of program and data is possible. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 29: Exception Control

    No activation of any exception line. eXception.Enable Enable exception Format: eXception.Enable RES [ON | OFF] Format: eXception.Enable OFF Format: eXception.Enable ON Enables the RES line. Enables all exception line. Disables all exception lines. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 30: Exception.trigger

    Trigger on INT0 line. INT1 Trigger on INT1 line. Trigger on P line. Trigger on RES line. Trigger on T0 line. Trigger on T1 line. Trigger on all exception lines. No trigger on any exception lines. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 31: Exception.pulse

    T0 <width> <period> Format: eXception.Pulse T1 <width> <period> Format: eXception.Pulse OFF INT0 Stimulate INT0 line. INT1 Stimulate INT1 line. Stimulate RES line. Stimulate T0 line. Stimulate T1 line. No stimulation on any exception line. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 32: Banked Target Systems

    ; reset mapper map.mirror p:0x0--0x03fff p:0x10000 ; mirror for common area map.mirror p:0x0--0x03fff p:0x20000 map.mirror p:0x0--0x03fff p:0x30000 map.bank 0x4000--0x7fff ; set area of banked eprom system.bankfile banksel.bnk ; load bank file system.up ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 33 ; load bank file system.up This example selects the bank by internal port 3 bit 2 and 4: ; bank switching program input: r0,r1 ; address ; bank ; read/write ; program/data usable: r7,a,b,psw ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 34 700h ;subroutine to write byte to target pop dph ;system setting the bank register pop dpl ;in the target ;return The next examples shows the map and load commands for translated bank numbers: ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 35 /ext /p /nc ; load file from BL51 (KEIL) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 36: Memory Access Routines

    Memory Access Routines Addr Function Address Data Result 700H MemWrite DPTR 715H MemRead DPTR ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 37: Memory Classes

    Memory Classes Access Class Description Program External Data External or Program Internal direct access Internal indirect access Internal bit addressing Program emulation memory access External Data emulation memory access CPU-access Emulation memory access ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 38: State Analyzer

    Address constant for a internal bit write cycle read DIRWRBYTE Address constant for a internal byte write cycle read DUMMY Discard fetch eXternal, XDATA EXTREAD or EXTWRITE EXTernalREAD External data read cycle EXTernalWRITE External data write cycle ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 39: 80152 Keywords For The Trigger Unit

    80152 Keywords for the Trigger Unit Input Event Meaning Analyzer hardware ECC8 HA120 SA120 DMACycle DMA cycle For not CPU-specific keywords, see non-declarable input variables “ICE/FIRE Analyzer Trigger Unit Programming Guide” (analyzer_prog.pdf). ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 40: Keywords For The Display

    If DUMMY is off two "intack" cycles appear, otherwise three cycles are shown in the analyzer list window. While multiplication and division, a pseudo cycle "MULDIV" appears in the analyzer list window. ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 41: Port Analyzer

    Port 2 30 .. 37 Port 3 40 .. 47 Port 4 50 .. 57 Port 5 X0 .. X7 Port 6 or free channels Y0 .. Y7 Port 7 or free channels ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 42: Additional Trace Channels

    V G G G G G G G G G G V V G = GND, V = +5V, P50--P57, ! = internal use - = AVREF-, S = AVSS, D = AVDD , + = AVREF+ X = NC ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 43: Module M592

    G G G G G G G G G G G G G G = GND, X= NC, V = +5 V (max. 20 mA) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 44: Module Mcl580

    G G G G G 7 6 5 4 3 2 1 0 G = GND, PX0--PX7, PY0--PY7 ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 45: Support

    Code Confidence Ltd Windows TOOLS CODE CONFIDENCE Code Confidence Ltd Linux TOOLS EASYCODE EASYCODE GmbH Windows ECLIPSE Eclipse Foundation, Inc Windows RHAPSODY IN MICROC IBM Deutschland GmbH Windows RHAPSODY IN C++ IBM Deutschland GmbH Windows ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 46: Realtime Operation Systems

    Undo Software Linux TA INSPECTOR Vector Windows VECTORCAST UNIT Vector Software Windows TESTING VECTORCAST CODE Vector Software Windows COVERAGE Realtime Operation Systems Company Product Comment CMX Systems Inc. CMX-RTX ARM Germany GmbH RTX51/-tiny ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 47: Emulation Frequency

    22.0+ LA-6570 83C515A 18.0+ 18.0+ 18.0+ 18.0+ 18.0+ 18.0+ LA-6568 83C515B-4 12.0+ 12.0+ 12.0+ 12.0+ 12.0+ 12.0+ LA-6570 83C517A 18.0+ 18.0+ 18.0+ 18.0+ 18.0+ 18.0+ LA-6510 83C51FB 16.0+ 16.0+ 16.0+ 16.0+ 16.0+ 16.0+ ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 48 18.0+ 18.0+ 18.0+ 18.0+ LA-6570 C503 18.0+ 18.0+ 18.0+ 18.0+ 18.0+ 18.0+ LA-6520 C504 30.0+ 30.0+ 30.0+ 28.6 30.0+ 30.0+ LA-6578 C515C 10.0 10.0+ 10.0+ LA-6520 COM20051 16.0+ 16.0+ 16.0+ 16.0+ 16.0+ 16.0+ ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 49: Emulation Modules

    80CL410 PLCC44 8344 DIL40 83C51FB DIL40 83C528 DIL40 83C550 DIL40 87C51 DIL40 87C52 DIL40 C501 DIL40 C502 DIL40 8031 PLCC44 8032 PLCC44 8051 PLCC44 LA-6520 8052 PLCC44 80C154 PLCC44 80C31 PLCC44 80C32 PLCC44 ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 50 COM20051 PLCC44 LA-6522 80C51GB PLCC68 80C152JA DIL48 80C152JA PLCC68 80C152JB PLCC68 LA-6530 LA-6530 80C152JC DIL48 80C152JC PLCC68 80C152JD PLCC68 80C154 DIL40 80C31 DIL40 LA-6512 80C52 DIL40 83C154 DIL40 87C51 DIL40 LA-6549 80C552 PLCC68 ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 51 PLCC44 87C652 DIL40 87C652 PLCC44 87C654 DIL40 87C654 PLCC44 89C851 DIL40 89C851 PLCC44 AT89C51 DIL40 AT89C51 PLCC44 80C592 PLCC68 LA-6555 83C592 PLCC68 80C515 PLCC68 LA-6561 83C515B-4 PLCC68 LA-6560 80C517 PLCC84 LA-6562 80C537 PLCC84 ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 52 PLCC44 LA-6564 C503 PLCC44 LA-6565 80C515 PLCC68 LA-6566 80C517 PLCC84 LA-6578 C515C ET80-QF14 LA-6567 80C517A PLCC84 80C515A PLCC68 LA-6568 83C515B-4 PLCC68 LA-6575 C503 PLCC44 LA-6582 83CL782 DIL40 LA-6580 83CL580 QFP64 LA-6584 83CL580 VSO56 ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 53: Order Information

    Order Information ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 54: Physical Dimensions

    Physical Dimensions Dimension LA-6510 M-8051-DIL40 cable (400) SIDE VIEW TOP VIEW (dimensions define position of socket to target) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 55 Dimension LA-6520 M-8051-PLCC cable (400) SIDE VIEW (dimensions define position of socket to target) TOP VIEW ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 56 Dimension LA-6522 M-8051GB-PLCC cable (400) SIDE VIEW (dimensions define position of socket to target) TOP VIEW ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 57 Dimension LA-6530 M-80152-JA/JB cable (400) 80C152JB SIDE VIEW TOP VIEW ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 58 Dimension LA-6512 M-80154-DIL40 80154 Piggy-B. cable (400) SIDE VIEW (dimensions define position of socket to target) TOP VIEW ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 59 Dimension LA-6514 M-80154-PLCC 80154 Piggy-B. cable (400) SIDE VIEW (dimensions define position of socket to target) TOP VIEW ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 60 Dimension LA-6550 M-80582-B cable (400) 80C582E SIDE VIEW TOP VIEW ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 61 Dimension LA-6551 A-80582-C552 SIDE VIEW TOP VIEW (all dimension in mm) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 62 Dimension LA-6552 A-80582-C652 SIDE VIEW TOP VIEW (all dimension in mm) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 63 Dimension LA-6555 M-80592 cable (400) SIDE VIEW (dimensions define position of socket to target) TOP VIEW ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 64 Dimension LA-6560 M-80517 cable (400) 80C515/7-Bondout SIDE VIEW TOP VIEW ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 65 Dimension LA-6570 M-80517A cable (400) 80C517A-Bondout SIDE VIEW TOP VIEW ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 66 Dimension LA-6561 A-80517-515 SIDE VIEW TOP VIEW (all dimension in mm) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 67 Dimension LA-6562 A-80517-517 SIDE VIEW TOP VIEW (all dimension in mm) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 68 Dimension LA-6563 A-80517-C502 SIDE VIEW PIN 1 TOP VIEW (all dimension in mm) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 69 Dimension LA-6564 A-80C517-C503 SIDE VIEW TOP VIEW (all dimension in mm) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 70 Dimension LA-6565 M-80535-PLCC cable (400) SIDE VIEW TOP VIEW (dimensions define position of socket to target) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 71 Dimension LA-6566 M-80537-PLCC cable (400) SIDE VIEW TOP VIEW (dimensions define position of socket to target) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 72 Dimension LA-6578 M-C515C cable (400) SIDE VIEW (dimensions define position of socket to target) TOP VIEW ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 73 Dimension LA-6567 M-83517A-PLCC cable (400) SIDE VIEW TOP VIEW (dimensions define position of socket to target) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 74 Dimension LA-6568 M-83515A-PLCC cable (400) SIDE VIEW TOP VIEW (dimensions define position of socket to target) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 75 Dimension LA-6575 M-C503-PLCC cable (400) SIDE VIEW TOP VIEW (dimensions define position of socket to target) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 76 Dimension LA-6580 M-85CL000 cable (400) SIDE VIEW PIN 1 TOP VIEW ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 77 Dimension LA-6582 A-85CL782 SIDE VIEW PIN 1 TOP VIEW (all dimension in mm) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 78 Dimension LA-6584 A-85CL580 TOP VIEW (all dimension in mm) SIDE VIEW ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...
  • Page 79: Adapter

    Adapter Socket CPU Adapter ET80-QF14 YA-1131 ET80-EYA-QF14 Emul. Adapter for YAMAICHI socket ET080-QF14 C515C SIDE VIEW TOP VIEW (all dimensions in mm) ©1989-2019 Lauterbach GmbH ICE Emulator for 8051...

Table of Contents