TRACE32 Training... Training FIRE Emulator... Training FIRE Basics... 1

Size: px
Start display at page:

Download "TRACE32 Training... Training FIRE Emulator... Training FIRE Basics... 1"

Transcription

1 Training FIRE Basics TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Training... Training FIRE Emulator... Training FIRE Basics... 1 System Architecture... 5 Host Interfaces 6 Parallel Interface 6 USB Interface 6 PODBUS Interface (PODBUS Ethernet Interface) 7 Starting-up the TRACE32-FIRE... 8 System Settings 8 Mapper 15 Initialize the Special Function Registers 22 Download the Program 22 Initialize the Registers 22 Start-Up File 23 TRACE32 GUI Main Menu Bar and Accelerators 26 Main Tool Bar 27 Window Area 28 Command Line 31 Command Structure 31 Command Examples 32 The Online Help for a specific Command 33 Standard Parameter Syntax 34 Message Line 35 Softkeys 36 State Line 37 Registers Display the CPU Registers 38 Colored Display of changed Registers 39 Modify the Contents of a CPU Register 40 Display the Special Function Registers 41 Tree Display 41 Full Display 42 Training FIRE Basics 1

2 Details about a Single SFR 43 The PER Definition File 44 Modify a Special Function Register 45 Data and Program Memory Run-time Memory Access 46 Display a Hex Dump 47 Data Dump Dialog Box 51 Dump Window 53 Indirect Dump 56 Modify Memory 57 Display a Source Listing 58 Changing Code Lines 60 Breakpoints Implementation 61 Software Breakpoints 61 On-chip Breakpoints 62 On-chip Breakpoints (Overview) 64 Hardware Breakpoints 65 Breakpoint Types 66 Program Breakpoints 66 Read/Write/Access Breakpoints as Onchip 67 Read/Write/Access Breakpoints as Hardware 68 Auto Implementation of Breakpoints 69 How to use the different Breakpoint Implementations Software Breakpoints 70 Hardware Breakpoint/Address Selectors 70 On-chip Breakpoints 71 Breakpoint Handling Break.Set Dialog Box 72 The HLL Check Box 73 Implementations 75 Actions 76 Options 80 Data Breakpoints 83 Advanced Breakpoints 85 Counter 86 Condition 88 CMD 90 TASK 93 Display a List of all Set Breakpoints 95 Delete Breakpoints 96 Enable/Disable Breakpoints 96 Training FIRE Basics 2

3 Store Breakpoint Settings 97 Debugging Basic Debug Control 98 Flag Memory Read Flag 101 Write Flag 103 Document your Results Print your Results 105 Save your Results to a File 107 Training FIRE Basics 3

4 Training FIRE Basics Version 22-Mar-2018 Training FIRE Basics 4

5 System Architecture FIRE System Controller provides the connection to the host system (LPT, ISA-Card, Ethernet, USB) runs the FIRE system software FIRE Port Analyzer allows to sample the port states and to trigger on the port states provides 64 k trace memory, 64 channels, 20 ns time stamp state mode, latch mode, timing mode, transient mode FIRE Emulation Controller provides all CPU indepenent emulator functions (VCO, Pulse Generator, Universal Counter) provides the trace memory (64 k frames) provides the trigger unit FIRE Emulation Memory 1, 2 or 4 MByte dual-ported emulation memory 1, 2 or 4 MByte address selector/flags memory FIRE Probe provides the CPU dependent debugger, trace and trigger features Mapper, Dualport Controller Target Adapter BGA/QFP adapter Training FIRE Basics 5

6 Host Interfaces Parallel Interface The software runs on PC. Symbol and debug information is handled on the PC. Executable T32m<cpu>.exe (e.g. t32m166.exe) PC Printer Port (LPTx:) standard parallel cable parallel Parallel Interface TRACE32-FIRE USB Interface The software runs on PC. Symbol and debug information is handled on the PC. Executable T32m<cpu>.exe (e.g. t32m166.exe) PC USB Connector standard USB cable USB Interface TRACE32-FIRE Training FIRE Basics 6

7 PODBUS Interface (PODBUS Ethernet Interface) The software can run in the PODETH box. Symbol and debug information is handled in the PODETH box. The main task of the host is to display the information and to accept the commands. Executable T32win.exe (former t32w95.exe). on the host system. Symbol and debug informtion is handled on the host. Requires Bootflash V4.0. Executable T32m<cpu>.exe. Ethernet 10/100 BaseT, Twisted Pair Ethernet HUB PC or Workstation PODETH PODBUS PODBUS Interface TRACE32-FIRE Training FIRE Basics 7

8 Starting-up the TRACE32-FIRE Starting up the RISC emulator is done in the following steps: 1. Set the system settings and activate the emulator 2. Configure the mapper 3. Download the program 4. (Set PC and SP) System Settings Select the used CPU SYStem.CPU Select CPU access mode Training FIRE Basics 8

9 Select the System Mode AloneInt Emulator is working in stand-alone mode. The internal (emulator) clock is used and all lines to the target are blocked. Command: SYStem.Mode AloneInt Is also used as Standalone Reset: AloneExt The emulator is working in stand-alone mode. The external (target) clock is used and all lines to the target are blocked. EmulInt EmulExt The emulator works with access to the target system and uses the internal (emulator) clock. Command: SYStem.Mode EmulInt The emulator works with access to the target system and uses the external (target) clock. Command: SYStem.Mode EmulExt Is also used as In Target Reset: SYStem.ModeI <mode> Select operation mode Training FIRE Basics 9

10 Set-up the Realtime Memory Access The realtime memory access allows access to the memory while the CPU is executing the program. The main advantages of the realtime memory access on TRACE32-FIRE are: to read memory/variables while the program is running to write memory/variables while the program is running to set trigger programs while the program is running to display the flag memory while the program is running But this memory accesses should not have an effect on the realtime behavior. Training FIRE Basics 10

11 Dual-port Access Via the FIRE controller the memories within the FIRE can be read or written to while the CPU is executing the program. This means for the user: Read and write access to the emulation memory Trigger programming Read access to the flag memory There is no effect on the realtime behavior or the effect is very small. FIRE Controller Flag Memory Address Selector Memory Emulation Memory Dual-port access Debug Monitor/ On-Chip Debug Support Emulation CPU Target Internal/External Mapping Dualport Controller TimeRequest Timeout for the dualport access. After the specified time the attempt to do a dualport access will be aborted and an error message will be displayed. Training FIRE Basics 11

12 Access via the CPU Support Some CPUs supports memory read and write while the CPU is executing the program (SH7055, ST10, MCS12). Memory access via on-chip debug support FIRE Controller Dual-port access to Address-Selector and Flag Memory Debug Monitor/ On-Chip Debug Support Flag Memory Address Selector Memory Emulation Memory Emulation CPU Target Internal/External Mapping Dualport Controller Via the CPU support, the target/emulation memory can be read or written to while the CPU is executing the program. Trigger Programming and the read access to the Flag Memory are done via the dual-port access. This means for the user: Read and write access to the target/emulation memory Trigger programming Read access to the flag memory while the CPU is executing the program. The effect on the realtime behavior is very small. Advantages: small effect to the real-time behavior, access to the target memory. Training FIRE Basics 12

13 CPU Access For the CPU access the program execution is stopped for a moment to read or write to memory. Memory access via short CPU stop FIRE Controller Address Selector Memory Dual-port access to Address-Selector Memory Debug Monitor/ On-Chip Debug Support Emulation CPU Target Internal/External Mapping Dualport Controller This means the user has: Read and write access to the target memory Trigger Programming via CPU access while the CPU is executing the program. The effect on the realtime behavior is big and depends on the CPU. Advantages: access to the target memory, higher speed SYStem.CpuAccess SYStem.MemoryAccess Select CPU access mode Select memory access mode Both access modes are independent from each other. If both access modes are enabled, TRACE32-FIRE selects always the less intrusive one. Training FIRE Basics 13

14 For all CPU specific settings refer to Help FIRE Target Manual. System Settings should be done in a batch job on command level. STORE <filename> SYSTEM automatically converts the setting in the System window to a batch file. Training FIRE Basics 14

15 Mapper Memory Usage The FIRE-RAM is a 64-bit memory. For a 32-bit CPU there a 2 different ways to use this memory: 32-bit emulation/overlay memory 32-bit address selector memory 32-bit emulation/overlay memory 32-bit flag memory Memory Size The block size for the mapper depends on the size of the FIRE-SRAM/ZRAM: Module Size 1M + 1M 2M + 2M 4M + 4M 8M + 8M 16M + 16M Block Size 256K 256K 512K 1M 2M The FIRE-ARAM supports only 1 block: Module Size 1M + 1M 4M + 4M Block Size 1M 4M Training FIRE Basics 15

16 1 MByte block 0x0--0xffff 1 MByte block 0x x11ffff 1 MByte block 0x x22ffff 1 MByte block 0x x33ffff MAP.state State display Access time of the emulation memory Type of the emulation memory Number of used blocks Number of available blocks Size of the used address selector/flag memory Size of the available address selector/flag memory Size of the used address emulation memory Size of the available emulation memory Training FIRE Basics 16

17 Activate the Memory By default (no mapping is done or after MAP.RESET) the emulator always sees the target memory. Commands for Memory Allocation: MAP.RESet Resets the mapper MAP.Ram [<range>] [/<option>] Allocate emulation memory MAP.ReadFlag [<range>] [/<option>] MAP.WriteFlag [<range>] [/<option>] MAP.NoFlag [<range>] [/<option>] Allocate flag memory for read accesses Allocate flag memory for write accesses Free flag memory For some CPUs the on-chip ROM/FLASH or on-chip RAM is automatically replaced by emulation memory (e.g. H8S). In this case Address Selector Memory/Flag Memory is also available. For more information refer to your target guide Help FIRE Target Manual. If Address Selector Memory is used, the complete memory can only be used as Address Selector Memory. If Flag Memory is used, the complete memory can only be used as Flag Memory. Memories can not be mapped independently. If emulation memory is mapped, address selector or flag memory can only be mapped for the same memory range. Training FIRE Basics 17

18 After the memory allocation you have to decide where you want to use emulation memory and where you want to use target memory. MAP.Intern [<range>] MAP.Extern [<range>] Use emulation memory Use target memory - default If emulation memory is mapped, the emulation memory will be located parallel to the target memory. Emulation CPU Emulation Memory Target Memory Memory Write Cycles Emulation CPU At memory read cycles the mapper decides which data are used by the CPU Emulation Memory Target Memory Memory Read Cycles Training FIRE Basics 18

19 Examples Examples 1 (PowerPC860) MAP.RESet MAP.Ram 0x0--0xfffff MAP.Intern 0x0--0xfffff ; reset mapper ; allocate emulation memory ; memory accesses in the range from ; 0x0--0xfffff are done to overlay/ ; emulation memory Examples 2 (H8S) MAP.RESet MAP.Ram 0x0--0x3ffff MAP.Ram 0x x3ffff MAP.Intern 0x0--0x3ffff MAP.Intern 0x x3ffff ; reset mapper ; allocate emulation memory ; memory accesses in the range from ; 0x0--0x3ffff and 0x x3ffff ; are done to overlay/emulation memory Overlay/emulation memory is automatically mapped for the on-chip memory Training FIRE Basics 19

20 Examples 3 (ARM7) MAP.RESet MAP.Ram 0x0--0x1ffff MAP.Ram 0x xffff MAP.Ram 0xA xffff MAP.Ram 0xB xffff MAP.Ram 0xC xffff MAP.Ram 0xD xffff MAP.Ram 0xE xffff MAP.Ram 0xF xffff ; reset mapper ; allocate emulation memory For the complete address range the target memory is valid memory. The emulation memory exists parallel to the target memory. All write accesses to the target memory are also visible in the emulation memory. This mapping provides: Memory/variable read access via the dual-port access Trigger programming via the dual-port access Access to the Flag memory via the dual-port access while the CPU is executing the program Realtime write accesses are only possible by using CPUAccess Mode. Training FIRE Basics 20

21 Examples 4 (PowerPC860) MAP.RESet MAP.Ram 0x0--0xfffff MAP.ReadFlag 0x0--0xfffff MAP.Intern 0x0--0xfffff ; reset mapper ; allocate emulation memory ; allocate flag memory ; memory accesses in the range from ; 0x0--0xfffff are done to overlay/ ; emulation memory Examples 5 (PowerPC860) MAP.RESet MAP.Ram 0x0--0xfffff MAP.WriteFlag 0x0--0xfffff MAP.Intern 0x0--0xfffff ; reset mapper ; allocate emulation memory ; allocate flag memory ; memory accesses in the range from ; 0--0fffff are done to overlay/ ; emulation memory Training FIRE Basics 21

22 Examples 6 (H8S) MAP.RESet MAP.Ram 0x0--0x3ffff MAP.Ram 0x x3ffff MAP.Intern 0x0--0x3ffff MAP.Intern 0x x3ffff MAP.ReadFlag 0x0--0x3ffff MAP.ReadFlag 0x x3ffff MAP.ReadFlag 0xffdc00--0xfffbff ; reset mapper ; allocate emulation memory ; memory accesses in the range from ; 0--0fffff are done to overlay/ ; emulation memory ; allocate flag memory ; allocate flag memory for on-chip ; memory Initialize the Special Function Registers Main task of this step is to prepare the memories, so that the program can be loaded with the next step. Data.Set [<address> <range>] %<format> /<option> Initialize SFRs Download the Program Data.LOAD.<subcommand> <filename> </option> Compiler specific load command Compiler-specific load command can be found in the FIRE Target Guide. Menu: Help FIRE Target Guide, section Compiler. Initialize the Registers Register.Set <register> <value> Set register Training FIRE Basics 22

23 Start-Up File It is recommanded to write a batch job to setup the RISC emulator TRACE32-FIRE to guarantee a proper start-up sequence. Default extension for a batch job is.cmm. Example for H8S: SYStem.RESet MAP.RESet MAP.Ram 0x0--0x3ffff MAP.Ram 0x x3ffff MAP.Intern 0x0--0x3ffff MAP.Intern 0x x3ffff SYStem.CPU H8S2338 SYStem.CPU EXP16M16 SYStem.Mode AloneInt ; Reset system settings and mapper ; Allocate emulation memory ; memory accesses in the range from ; 0x0--0x3ffff and ; 0x x3ffff are done ; to overlay/emulation memory ; Select CPU and CPU mode ; Activate the emulator in ; stand-alone mode Data.Set 0x0fffed1 0x0fc Data.LOAD.Ubrof iarh8s.dbg WinPOS 0% 0% 100% 50% Data.List WinPOS 0% 50% 50% 50% Var.Frame /Locals /Caller WinPOS 50% 50% 50% 50% Var.Watch Var.AddWatch ast Var.AddWatch flags ; Load the user program ; Open a few windows ENDDO A first example for a start up batch job can be found in the FIRE Target Guide. Menu: Help FIRE Target Guide, section Quick Start. Training FIRE Basics 23

24 Run the Start-up File DO <filename> [<parlist>] Start a batch file If a batch file t32.cmm exists, this batch file is automatically executed, when the TRACE32 software is started. The software looks for this file in: the working directory the system directory Training FIRE Basics 24

25 TRACE32 GUI Main Menu Bar + Accelerators Main Tool Bar Local Buttons Local Popup Menu The structure and functionality of the GUI is defined by the file t32.men in the TRACE32 system directory. TRACE32 allows you to modify the GUI so it will better fit to your requirements. Training FIRE Basics 25

26 Main Menu Bar and Accelerators The main menu bar provides all important TRACE32 functions sorted by groups. For often used commands accelerators are defined. Accelerators A user specific menu can be defined very easily: MENU.AddMenu <name> <command> MENU.RESet Add a user menu Reset menu to default Menu.AddMenu "Set PC to main" "Register.Set pc main" Menu.AddMenu "Set PC to main, ALT+F10" "Register.Set pc main" ; User menu with accelerator User Menu For more complex changes to the main menu bar refer to the training section: Menu Programming Training FIRE Basics 26

27 Main Tool Bar The main tool bar provides fast access to often used commands. The user can add his own buttons very easily: MENU.AddTool <tooltip text> <tool image> <command> MENU.RESet Add a button to the toolbar Reset menu to default MENU.AddTool "Set PC to main" "PM,X" "Register.Set PC main" User specific button Information on the <tool image> can be found in Help -> TRACE32 Documents -> IDE User Interface -> -> IDE Reference Guide -> MENU -> Programming Commands -> TOOLITEM. For more complex changes to the main tool bar refer to the training section: Menu Programming Training FIRE Basics 27

28 Window Area Save Page Layout No information about the page layout is saved when you exit TRACE32. To save the window layout use the Store Window to command in the Window menu. Store Windows to generates a batchfile, that allows you to reactivate the current page- and window-configuration at any time. Batchfile for page- and window-configuration: ; And Mon Jan 19 13:06: B:: TOOLBAR ON STATUSBAR ON WINPAGE.RESET WINPAGE.CREATE P000 WINCLEAR WINPOS W000 B::d.l WINPOS W001 B::v.f /l /c WINPOS W002 B::v.l %m %r %t WINPAGE.CREATE P001 WINCLEAR WINPOS W005 B::A.T d.0--7 WINPOS W004 B::T.L WINPAGE.SELECT P000 ENDDO Training FIRE Basics 28

29 Training FIRE Basics 29 Run the batchfile to reactivate the stored page- and window-configuration

30 Modify Window The Window Header displays the command which was executed to open the window By clicking with the right mouse button to the window header, the command which was executed to open the window is re-displayed in the command line and can be modified there Training FIRE Basics 30

31 Command Line Command line Command Structure Device Prompt Selects the command set used by the TRAC32: no device prompt E:: B:: F:: TRACE32-IDE command set for TRACE32-ICE command set for TRACE32-ICD (Debugger) command set for TRACE32-FIRE (RISC Emulator) Training FIRE Basics 31

32 Command Examples Data Data.dump Data.List Data.LOAD Command group to display, modify memory Displays a hex dump Displays a source listing Loads code to the target memory Break Break.Set Break.List Break.Delete Command group to set, list, delete breakpoints Sets a breakpoint Lists all set breakpoint Deletes a breakpoint Each command can be abbreviated. The significant letters are always written in upper case letters. Data.dump 0x x2000 /Byte Option Subcommand Command group Parameter Training FIRE Basics 32

33 The Online Help for a specific Command Enter the command to the command line. Add one blank. Push F1 to get the on-line help for the specified command. Training FIRE Basics 33

34 Standard Parameter Syntax RADIX.<mode> Define parameter syntax The RADIX defines the input format for numeric values. RADIX.Decimal RADIX.Hex Number base is decimal and C-like operators are used Number base is hex and C-like operators are used (default) Examples: Decimal Hex Data.dump d 100h Data.dump d 100d Data.dump 0x h 100h To see the currently used parameter syntax, enter RADIX. to the command line. Training FIRE Basics 34

35 Message Line Message Area Message Line Message line for system and error messages Message Area window for the display of the last system and error messages Training FIRE Basics 35

36 Softkeys The softkey line allows to enter a specific command step by step. Select the command group Select the subcommand Angle brackets request an entry from the user. Here e.g. the entry of an <address> or a <range>. Get a display of all options Select an option Training FIRE Basics 36

37 State Line Symbolic and absolute address at the blue cursor State of the system Debug mode Training FIRE Basics 37

38 Registers Display the CPU Registers Training FIRE Basics 38

39 Colored Display of changed Registers Register.view /SpotLight The registers changed by the last step are marked in dark red. The registers changed by the step before the last step are marked a little bit lighter. This works up to a level of 4. If SpotLight is ON, the SpotLight feature is automatically on for: 1.) all Variable windows 2.) the Register window this includes also register bits 3.) the Peripheral window 4.) the hll stack frame 5.) all Data.dump windows The SpotLight feature will be only valid for windows, which will be opend after activating this feature. Register.view [/<option>] SETUP.Var %SpotLight Display CPU registers Switch the option SpotLight on for all Variable windows, the Register window, the Peripheral window, the HLL Stack Frame window and all Data.dump windows Training FIRE Basics 39

40 Modify the Contents of a CPU Register By double clicking to the register contents a Register.Set command is automatically displayed in the command line. Enter the new value and press Return to modify the register contents. Register.Set <register> <value> Modify CPU register Training FIRE Basics 40

41 Display the Special Function Registers TRACE32 supports a free configurable window to display/manipulate configuration registers and the on-chip peripheral registers at a logical level. Predefined peripheral windows are available for most standard CPUs. Tree Display The individual configuration registers/on-chip peripherals are organized by TRACE32 in a tree structure. On demand, details about a selected register can be displayed. Training FIRE Basics 41

42 Full Display Sometimes it might be useful to expand the tree structure from the start. Use the right mouse and select Show all PER.View, "Clocks and Power Control" PER.View, "*" ; Display the functional unit ; "Clocks and Power Control" in ; expanded mode ; Display all functional units in ; expanded mode The following command sequence can be used to save the contents of all configuration registers/on-chip peripheral registers to a file. PRinTer.FileType ASCIIE PRinTer.FILE Per.lst WinPrint.Per.view, "*" ; Select ASCII ENHANCED as output ; format ; Define Per.lst as output file ; Save contents of all ; configuration registers/on-chip ; periperal registers to the ; specified file Training FIRE Basics 42

43 Details about a Single SFR The address, bit position and the full name of the selected item are displayed in the state line; the full name of the selected item is taken from the CPU manual. Training FIRE Basics 43

44 The PER Definition File The layout of the PER window is described by a PER definition file. The definition can be changed to fit to your requirements using the PER command group. The path and the version of the actual PER definition file can be displayed by using: VERSION.SOFTWARE PER.view <filename> [<tree-search-item>] Display the configuration registers/on-chip peripherals PER.view C:\T32\perarm9t.per ; Use the peripheral file perarm9t.per ; instead of the default PER definition ; file Training FIRE Basics 44

45 Modify a Special Function Register You can modify the contents of a configuration/on-chip peripheral register: By pressing the right mouse button and selecting one of the predefined values from the pulldown menu. By a double-click to a numeric value. A PER.Set command to change the contents of the selected register is displayed in the command line. Enter the new value and confirm it with return. PER.Set.simple <address> <range> [<%format>] <string> Data.Set <address> <range> [<%format>] <string> Modify configuration register/on-chip peripheral Modify memory PER.Set.simple D:0xF87FFF10 %Long 0x00000b02 Training FIRE Basics 45

46 Data and Program Memory Depending on the setting of the mapper target memory or emulation memory is displayed and can be modified. Run-time Memory Access TRACE32-FIRE allows display and modification of memory, while the CPU is executing the program. The way the memory access is done depends on the settings in the system window: Training FIRE Basics 46

47 Display a Hex Dump Address Training FIRE Basics 47

48 Address Range If you enter an address range, only the specified address range will be displayed. This is useful if a memory area close to an I/O area should be displayed and you do not want the development tool to generate read cycles for the I/O area. Conventions for address ranges: <start address>--<end address> <start address>..<end address> <start address>++<offset_in_byte> Training FIRE Basics 48

49 Symbol or Label Use i to select any symbol name or label from the internal symbol data base. By default an oriented display is used (line break at 2 x ). A small arrow indicates, where the selected dump area starts. Training FIRE Basics 49

50 HLL Expression If HLL is ON and the entered variable is a pointer the address range where the pointer is pointing to is displayed Training FIRE Basics 50

51 Data Dump Dialog Box Display Width Default is the data bus width of the CPU Run-time Update default: the Dump window is only updated, when the program execution is stopped Realtime update of the Dump window is switched ON. Realtime update is done depending on the settings of MemAccess and CPUAccess in the System window If CPUAccess is used the red S in the state line indicates, that the system is no longer running in realtime (each update takes between 1-100ms) Training FIRE Basics 51

52 Other Options Other options Track: (see section Indirect dump) Oriented: By default an oriented display is used (line break at 2 x ). If Orient is OFF, the Dump window starts at the given address. Oriented display No oriented display Ascii: By default ASCII characters are displayed together with the hex. memory contents. Spotlight: The option Spotlight can be used to highlight the memory locations that changed while single stepping. The memory location changed by the last step is marked in dark red. The memory location changed by the step before the last step is marked a little bit lighter. This works up to a level of 4. Training FIRE Basics 52

53 Dump Window Find With the Find button a Find in Memory Dialog Box is opened, that allows to search a specific data in a specified memory range. Training FIRE Basics 53

54 Modify With the Modify Button a Modify Memory Dialog Box is opened, that provides a number of operations to modify or test memory. Operation Fill Pattern Test Copy Compare Sum Fill the specified memory range with the user defined data (see also Data.Set command). Fill the specified memory range with a predefined pattern (see also Data.PATTERN command). Test the specified memory range (see also Data.Test command). Copy data from one memory range to another (see also Data.COPY command). Compare the specified memory ranges (see also Data.ComPare command). Build the checksum over the specified memory range (see also Data.SUM command). Training FIRE Basics 54

55 Display Width Check Boxes Switch ON/OFF the run-time memory access Switch ON/OFF the track option Switch the hex display ON/OFF Switch the ASCII display ON/OFF Training FIRE Basics 55

56 Indirect Dump Indirect dump indexed by register R1 With the track option the address indexed by the current contents of register R1/SP is always displayed in the middle of the window and is highlighted Data.dump [<address> <range>] [/<option> ] Data.View %<format> [<address> <range>] [/<option>] Display a memory dump Display a detailed dump Training FIRE Basics 56

57 Modify Memory By double clicking to a data field a Data.Set command is automatically displayed in the command line, you can enter the new value and confirm it with return. Data.Set [<address> <range>] %<format> /<option> Modify memory Training FIRE Basics 57

58 Display a Source Listing Displays Source listing around the PC If the debug mode Mixed is active a mixed source listing is displayed. If the HLL mode is active only the hll lines are displayed. Training FIRE Basics 58

59 Displays Source listing of the selected Function Select the function you want to display Data.List [<address>] [/<option>] Data.ListAsm [<address>] [/<option>] Data.ListHll [<address>] [/<option>] Data.ListMix [<address>] [/<option>] Display source listing Display source listing in assembler Display source listing in hll Display source listing in assembler and hll Training FIRE Basics 59

60 Changing Code Lines TRACE32 provides its own assembler. Use Assemble here to enter new assembler code Use Modify here to modify the current assembler code Data.Assemble [<address>] <mnemonic> Assemble code line Training FIRE Basics 60

61 Breakpoints Implementation Software Breakpoints The original instruction at the breakpoint address is patched by a special instruction (usually TRAP) to stop the program and return the control to the Debug Monitor or BDM/JTAG interface. This method requires RAM/emulation memory at the break positions.the number of software breakpoints is unlimited. Training FIRE Basics 61

62 On-chip Breakpoints Most CPUs have an onchip trigger unit, that provides on-chip breakpoints. TRACE32-FIRE uses by default software breakpoints on instructions. The on-chip breakpoints can be used to: To set breakpoints to ROM, FLASH or EEPROM. This is only necessary if the target memory is not replaced by emulation memory. To set an on-chip breakpoint to an instruction you can change the default implementation for a specific memory range to onchip MAP.BOnchip <address_range> To set an on-chip breakpoint to an instruction you can select the implementation Onchip explicitly. Training FIRE Basics 62

63 To set breakpoints on Read/Write Accesses Training FIRE Basics 63

64 On-chip Breakpoints (Overview) The following list gives an overview of the usage of the on-chip breakpoints by TRACE32-FIRE: CPU Family On-chip breakpoints: Total amount of available on-chip breakpoints. Instruction breakpoints: Number of on-chip breakpoints that can be used to set program and spot breakpoints into ROM/FLASH/EEPROM. Read/Write breakpoints: Number of on-chip breakpoints that can be used as read or write breakpoints. Data breakpoint: Number of onchip data breakpoints that can be used to stop the program when a specific data value is written to an address or when a specific data value is read from an address. CPU Family On-chip Breakpoints Instruction Breakpoints Read/Write Breakpoints Data Breakpoints MPC800/500 4 Instruction / 2 Data ARM7 2 (Reduced to 1 if software breakpoints are used) 2/1 2/1 2 H8S SH MCS Training FIRE Basics 64

65 Hardware Breakpoints Hardware breakpoints are memory based breakpoints. They use the address selector memory and can be used to set Read/Write breakpoints. Training FIRE Basics 65

66 Breakpoint Types Breakpoint Type Program Read, Write, ReadWrite Implementation Software (Default) Onchip Onchip (Default) Hardware Program Breakpoints Set a program breakpoint by double clicking with the left mouse button to the instruction The program stops before the instruction marked by the breakpoint is executed. Disable the program breakpoint by a double click to the red program breakpoint indicator. The program breakpoint indicator becomes grey. Training FIRE Basics 66

67 Read/Write/Access Breakpoints as Onchip The number of on-chip breakpoints is always limited. CPU stops shortly after the write access Advantages: Read/Write/Access breakpoints can be set to address ranges, even if it is not possible to map Address Selector Memory to this locations (e.g. ports) Training FIRE Basics 67

68 Read/Write/Access Breakpoints as Hardware Read/Write/Access breakpoints should be used as hardware breakpoints: if the number of on-chip breakpoints is exceeded if the on-chip breakpoints are not suitable (e.g. no exact range possible) Read/Write/Access breakpoints as hardware breakpoints requires address selector memory at the break location. Implementation Hardware has to be selected Training FIRE Basics 68

69 Auto Implementation of Breakpoints Program Breakpoint Software Breakpoint On-chip Breakpoint (after MAP.BOnchip <range>) Read/Write/Access Breakpoint On-chip Breakpoint Hardware The auto implementation can be changed by Break.SELect <brktype> <impl> Breakpoint implementation The implementation of the Read and Write Breakpoints is changed to Hardware Training FIRE Basics 69

70 How to use the different Breakpoint Implementations Software Breakpoints Program Realization: The original instruction at the breakpoint address is patched by a special instruction to stop the program and to return control to the Debug Monitor or BDM/JTAG interface. This method requires RAM/emulation memory at the break position. Advantage: unlimited number of breakpoints Hardware Breakpoint/Address Selectors Read Write Realization: These breakpoints are realized by programming the FIRE trigger unit. Break.Program IF ReadBreak&&Read Break.Program IF WriteBreak&&Write for the Read breakpoint for the Write breakpoint This means, that Read and Write breakpoints can only be set, if it is possible to map address selector memory to the break address. These trigger programs are not visible for the user. Advantage: unlimited number of single breakpoints and breakpoint ranges Training FIRE Basics 70

71 On-chip Breakpoints Program Realization: The onchip trigger unit is programmed to set these breakpoints. Advantage: program breakpoints to ROM/FLASH Disadvantage: limited number of breakpoints Read Write Realization: The onchip trigger unit is programmed to set these breakpoints. Advantage: easy combination of read/write breakpoints and data in the Break dialog box Advantage: read/write breakpoints can also be set to addresses where it is not possible to map address selector memory e.g. ports (CPU specific) Disadvantage: limited number of breakpoints Training FIRE Basics 71

72 Breakpoint Handling Break.Set Dialog Box or Training FIRE Basics 72

73 The HLL Check Box (asm breakpoint) HLL The entered address/label is marked by the selected breakpoint. The address range used by the entered HLL expression is marked by the selected breakpoint. Single Address HLL check box OFF Training FIRE Basics 73

74 Complete Variable HLL check box ON HLL-Expression HLL check box ON Training FIRE Basics 74

75 Implementations Implementation Implementation Auto Soft HARD On-chip Use predefined implementation for the breakpoint. Implement breakpoint as software breakpoint. Implement breakpoint as hardware breakpoint. The resources for the hardware breakpoints are provided by the TRACE32 development tool. Hardware breakpoints are not available for most CPUs. Implement breakpoint as on-chip breakpopint. The resources for onchip breakpopints are provided by the CPU. Training FIRE Basics 75

76 Actions By default the program execution is stopped when a breakpoint is hit (action stop). TRACE32 provides the following additional reactions on a breakpoint hit: Action (debugger) stop Spot Alpha Beta Charly Delta Echo Stop program execution (default). If a breakpoint is combined with the action Spot, the program execution is stopped shortly at a breakpoint hit to update the screen. As soon as the screen is updated, the program execution continues. Set an Alpha breakpoint. Set a Beta breakpoint. Set a Charly breakpoint. Set a Delta breakpoint. Set an Echo breakpoint. Training FIRE Basics 76

77 Alpha, Beta, Charly, Delta and Echo breakpoint are only used in very special cases. For this reason no description is given in the general part of the training material. Training FIRE Basics 77

78 Example for the Action Spot The information displayed on the screen is by default only updated, when the CPU stops the program execution and switches to the debug mode. The action spot can be used to turn a breakpoint into a watchpoint. The CPU stops the program execution at the watchpoint, switches to debug mode, updates the screen and restarts the program execution automatically. This takes ms depending on the speed of the debug interface and the amount of information displayed on the screen. Example 1: Update the screen whenever the program executes the instruction sieve\17. A spotpoint is active and the system is no longer running in realtime Training FIRE Basics 78

79 Example 2: Update the screen whenever the program writes to flags[3] A spotpoint is active and the system is no longer running in realtime Training FIRE Basics 79

80 Options Options Temporary DISable DISableHIT ON: Set a temporary breakpoint. All temporary breakpoints are deleted the next time the CPU stops the program execution. OFF: Set a permanent breakpoint (default). OFF: Breakpoint is enabled (default). ON: Set breakpoint, but disabled. ON: Disable the breakpoint when the breakpoint is hit. Training FIRE Basics 80

81 Example for the Option Temporary Sets a temporary breakpoint Start the program with Go All temporary breakpoints are automatically deleted after the next program stop Training FIRE Basics 81

82 Example for the Option DISableHit Disable the program breakpoint at the function entry to sieve, after the breakpoint was hit. As soon as the breakpoint is hit, it is disabled Training FIRE Basics 82

83 Data Breakpoints The DATA field offers the possibility to combine a Read/Write breakpoint with a specific data value. This is only possible if your CPU provides data breakpoints. Example: Stop the program execution if a 1 is written to flags[3]. Training FIRE Basics 83

84 If a HLL expression is used TRACE32 gets the information if the data is written via a byte, word or long access from the symbol information. If an address or symbol is used the user has to specify the access width. Training FIRE Basics 84

85 Advanced Breakpoints If the advanced button is pushed additional input field are appended to the Break.Set dialog box to provide advanced breakpoint features Advanced breakpoint input fields Training FIRE Basics 85

86 Counter Allows to stop the program execution on the n th hit of a breakpoint. Software Counter If the CPU does not provide debug counters, the counter is implemented as a software counter. Example: Stop the program execution after the function sieve was entered times. Training FIRE Basics 86

87 The Counter is implemented by software. When the breakpoint is reached, the CPU is stopped for a moment to increment the counter. The current counter value is visible in the Break.List window. If the counter has reached its final value the program execution is permanently The red S indicates, that the system is no longer running in realtime Training FIRE Basics 87

88 Condition The program execution is stopped at the breakpoint only if the defined condition is true. Example: Stop the program execution on a write to flags[3] only if flags[12] is equal to 0 when the breakpoint is hit. When the breakpoint is reached, the CPU is stopped for a moment, the condition is checked and the program execution continues when the condition is not true. Due to this the program is not longer running in real time. The red S indicates, that the program is no longer running in realtime Training FIRE Basics 88

89 Conditions not in HLL Syntax It is also possible to write register-based or memory-based conditions. Examples: Stop the program executions on a write to address flags if Register R11 is equal to 1. Switch HLL OFF ; stop the program execution at a write to the address flags if the ; register R11 is equal to 1 Break.Set flags /Write /CONDition Register(R11)==1 ; stop program execution at a write to the address flags if the long ; at address D:1000 is larger then Break.Set flags /Write /CONDition Data.Long(D:1000)>12345 Training FIRE Basics 89

90 CMD The field CMD allows to specify 1 or more commands that are executed when the breakpoint is hit. Example: Write the contents of flags[12] to a file whenever the write breakpoint at flags[12] is hit. OPEN #1 outflags.txt /Create ; open the file for writing The specified command(s) is executed whenever the breakpoint is hit. With RESUME ON the program execution will continue after the execution of the command(s) is finished. The cmd field in the Break.List window informs the user which command(s) is associated with the breakpoint. R indicates It is recommanded to set RESUME to OFF, if CMD starts a PRACTICE script with the command DO commands are used that open processing windows like Trace.STATistic.Func, Trace.Chart.sYmbol or CTS.List because the program execution is restarted before these commands are finished. Training FIRE Basics 90

91 The state of the debugger toggles between going and stopped close #1 ; close the file when you are done Display the result: Training FIRE Basics 91

92 Example for Data, Condition and CMD It is also possible to combine the advanced features. Example: Write the contents of flags[3] to a file when a 0 is written to flags[3] when flags[12] is equal to 1. Training FIRE Basics 92

93 TASK The program execution is stopped at the breakpoint only if the specified task is running. Example: Stop the program execution at thread_0_entry\16 only if thread0 is running. When the breakpoint is hit, the CPU is stopped for a moment to check if the specified task s running. If not, the program execution continues.if yes, the program execution is stopped. Due to this the program is no longer running in real time. Training FIRE Basics 93

94 The red S indicates, that the program is no longer running in realtime Training FIRE Basics 94

95 Display a List of all Set Breakpoints address types impl action options data count condition cmd (command) R (resume) task Physical address of the breakpoint Type of the breakpoint Implementation of the breakpoint or disabled Action selected for the breakpoint Option defined for the breakpoint Data value that has to be read/written to stop the program execution by the breakpoint Current value/final value of the counter that is combined with a breakpoint Condition that has to be true to stop the program execution by the breakpoint Commands that should be executed after the breakpoint hit R ON: continue the program execution after the defined commands were executed Name of the task for a task-related breakpoint Symbolic address of the breakpoint Break.List [/<option>] List all breakpoints Training FIRE Basics 95

96 Delete Breakpoints Break.Delete <address> <address range> [/<type>] [/<implem.>] [/<option>] Var.Break.Delete <hll-expression> [/<type>] [/<implem.>] [/<option>] Delete breakpoint Delete hll breakpoint Enable/Disable Breakpoints Break.ENable [<address> <address range>] [/<option>] Break.DISable [<address> <address range>] [/<option>] Enable breakpoint Disable breakpoint Training FIRE Basics 96

97 Store Breakpoint Settings // AndT32 Fri Jul 04 13:17: B:: BREAK.RESET B.S func4 /P /DISABLEHIT B.S sieve /P V.B.S \\diabp555\global\flags[3]; /W /DATA.BYTE 0x1; ENDDO STOre <filename> Break Generate a batch for breakpoint settings Training FIRE Basics 97

98 Debugging Basic Debug Control There are local buttons in the Data.List window for all basic debug commands Step Single stepping e.g. Step 10. Over Next The Call is executed in real time but for the user it seems to be only one step over the call. Next sets a temporary breakpoint to the next assembler or hll line and starts then the program execution. This command is useful to overstep a subroutine call or to leave a loop. Program Counter With Next a temporary breakpoint is set to the next written code line, here e.g. to leave the loop Training FIRE Basics 98

99 Return Return sets a temporary breakpoint to the last instruction of a function and then starts the program execution. After pressing Return the program execution is stopped at the last instruction of the function Up This command is used to return to the function that called the current function. For this a temporary breakpoint is set at the instruction directly after the function call. Press Up to return to the function that called the current function Display the hll stack to see the function nesting Training FIRE Basics 99

100 Step <count> Step.Over Step.Change <expression> Step.Till <boolean _expression> Var.Step.Change <hll_expression> Var.Step.Till <boolean _hll_expression> Single step Step over call Step until <expression> changes Step until <boolean _expression> becomes true Step until <hll_expression> changes Step until <boolean _hll_expression> becomes true Go [<address> <label>] Go.Next Go.Return Go.Up [<level> <address>] Start program execution Run program until the next code line is reached Run program until the end of the hll function is reached Run program until it returns to the caller function Training FIRE Basics 100

101 Flag Memory Read Flag MAP.ReadFlag Map read flag MAP.RESet MAP.Ram 0--0xfffff MAP.ReadFlag 0--0xfffff MAP.Intern 0--0xfffff ; reset mapper ; allocate emulation memory ; allocate flag memory ; memory accesses in the range from ; 0--0fffff are done to overlay/ ; emulation memory The ReadFlag can be used for Code coverage: The Flag system can not decide, if a prefetched instruction is executed or not. Short skips are not detected as not executed code. Prefetches at the end of a functions sets some flag bits in the next function Training FIRE Basics 101

102 Not-fetched instructions are bold printed on a yellow background Training FIRE Basics 102

103 Write Flag MAP.WriteFlag Map write flag MAP.RESet MAP.Ram 0--0xfffff MAP.WriteFlag 0--0xfffff MAP.Intern 0--0xfffff ; reset mapper ; allocate emulation memory ; allocate flag memory ; memory accesses in the range from ; 0--0fffff are done to overlay/ ; emulation memory FLAG.ListVar [<addressrange>] [<item>] Code-coverage variables Training FIRE Basics 103

104 The Write Flag can also be used for stack depth analysis: Training FIRE Basics 104

105 Document your Results Print your Results Requires a printer configuration in the file config.t32. E.g. for Windows PRINTER=WINDOWS For other host platform refer to the host platform specific section of the Installation Guide. Print a Hardcopy of the TRACE32 Application Window Training FIRE Basics 105

106 Print the Contents of a Specific Window Select the Print item in the window manager menu to print the window contents. Print any Result To print more complex results e.g over several pages: WinPrint.<command> Pre-command for complex outputs WinPrint.Data.dump 0x x1fff WinPrint.Trace.List (-1000.)--(-500.) Training FIRE Basics 106

107 Save your Results to a File Select the Output Format for the File Switch the File radio button to ON PRinTer.FileType <format> Select file format Training FIRE Basics 107

108 Open the File for Printing Print 1 output to 1 file WinPrint.Data.dump 0x xfff Training FIRE Basics 108

109 Print n outputs to n files If the file name includes a number, this number is automatically incremented after each output. WinPrint.Data.dump 0x xfff Go Break WinPrint.Data.dump 0x xfff The number within the file name is automatically incremented Training FIRE Basics 109

110 Print n outputs to 1 file PRinTer.OPEN [<filename>] PRinTer.CLOSE Open permanent output file for results Close permanent output file for results PRinTer.OPEN outpd WinPrint.Data.dump 0x xfff Go Break WinPrint.Data.dump 0x xfff PRinTer.CLOSE Training FIRE Basics 110

111 Reset Output to Printer Switch the Printer radio button to ON Training FIRE Basics 111

TRACE32 Training... Training ICE Emulator... Training ICE Basics... 1

TRACE32 Training... Training ICE Emulator... Training ICE Basics... 1 Training ICE Basics TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Training... Training ICE Emulator... Training ICE Basics... 1 System Architecture TRACE32-ICE... 4 Module Structure 4 SCU32

More information

TRACE32 Debugger Getting Started... ICD Tutorial About the Tutorial... 2

TRACE32 Debugger Getting Started... ICD Tutorial About the Tutorial... 2 ICD Tutorial TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Debugger Getting Started... ICD Tutorial... 1 About the Tutorial... 2 Working with the Debugger... 3 Set up the Program Environment

More information

TRACE32 Training...! Training ICD In-Circuit Debugger...! Training ICD Basics... 1

TRACE32 Training...! Training ICD In-Circuit Debugger...! Training ICD Basics... 1 Training ICD Basics TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Training...! Training ICD In-Circuit Debugger...! Training ICD Basics... 1 System Concept... 5 Basic Configuration TRACE32-ICD

More information

Training Simulator and Demo Software

Training Simulator and Demo Software Training Simulator and Demo Software TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Training... Training Simulator and Demo Software... 1 About the Demo... 2 Starting the TRACE32 Simulator...

More information

Debugger Basics - SMP Training

Debugger Basics - SMP Training Debugger Basics - SMP Training TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Training... Debugger Training... Debugger Basics - SMP Training... 1 History... 4 System Concept... 5 On-chip

More information

Integration for CodeBlocks

Integration for CodeBlocks Integration for CodeBlocks TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... 3rd Party Tool Integrations... Integration for CodeBlocks... 1 Overview... 2 Supported Code::Blocks versions...

More information

Debugger Basics - Training

Debugger Basics - Training Debugger Basics - Training TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Training... Debugger Training... Debugger Basics - Training... 1 History... 4 System Concept... 5 On-chip Debug Interface

More information

NEW CEIBO DEBUGGER. Menus and Commands

NEW CEIBO DEBUGGER. Menus and Commands NEW CEIBO DEBUGGER Menus and Commands Ceibo Debugger Menus and Commands D.1. Introduction CEIBO DEBUGGER is the latest software available from Ceibo and can be used with most of Ceibo emulators. You will

More information

FIRE Emulator for H8S and H8/300H

FIRE Emulator for H8S and H8/300H FIRE Emulator for H8S and H8/300H TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... FIRE In-Circuit Emulator... FIRE Target Guides... FIRE Emulator for H8S and H8/300H... 1 WARNING...

More information

_ V Intel 8085 Family In-Circuit Emulation. Contents. Technical Notes

_ V Intel 8085 Family In-Circuit Emulation. Contents. Technical Notes _ V9.12. 225 Technical Notes Intel 8085 Family In-Circuit Emulation This document is intended to be used together with the CPU reference manual provided by the silicon vendor. This document assumes knowledge

More information

Simulator for H8/300, H8/300H and H8S

Simulator for H8/300, H8/300H and H8S Simulator for H8/300, H8/300H and H8S TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... TRACE32 Instruction Set Simulators... Simulator for H8/300, H8/300H and H8S... 1 TRACE32 Simulator

More information

ICE/FIRE Analyzer Programming Dialog

ICE/FIRE Analyzer Programming Dialog ICE/FIRE Analyzer Programming Dialog TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... FIRE In-Circuit Emulator... ICE Analyzer System... FIRE Analyzer Programming... ICE/FIRE Analyzer

More information

TRACE32 Getting Started... ICD In-Circuit Debugger Getting Started... ICD Introduction... 1

TRACE32 Getting Started... ICD In-Circuit Debugger Getting Started... ICD Introduction... 1 ICD Introduction TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Getting Started... ICD In-Circuit Debugger Getting Started... ICD Introduction... 1 Introduction... 2 What is an In-Circuit

More information

_ V Renesas R8C In-Circuit Emulation. Contents. Technical Notes

_ V Renesas R8C In-Circuit Emulation. Contents. Technical Notes _ V9.12. 225 Technical Notes Renesas R8C In-Circuit Emulation This document is intended to be used together with the CPU reference manual provided by the silicon vendor. This document assumes knowledge

More information

TRACE32 Documents... TRACE32 Instruction Set Simulators... Simulator for Z TRACE32 Simulator License Quick Start of the Simulator...

TRACE32 Documents... TRACE32 Instruction Set Simulators... Simulator for Z TRACE32 Simulator License Quick Start of the Simulator... Simulator for Z80+ TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... TRACE32 Instruction Set Simulators... Simulator for Z80+... 1 TRACE32 Simulator License... 3 Quick Start of the

More information

Development Tools. 8-Bit Development Tools. Development Tools. AVR Development Tools

Development Tools. 8-Bit Development Tools. Development Tools. AVR Development Tools Development Tools AVR Development Tools This section describes some of the development tools that are available for the 8-bit AVR family. Atmel AVR Assembler Atmel AVR Simulator IAR ANSI C-Compiler, Assembler,

More information

API for TRACE32 Instruction Set Simulator

API for TRACE32 Instruction Set Simulator API for TRACE32 Instruction Set Simulator TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... TRACE32 Instruction Set Simulators... API for TRACE32 Instruction Set Simulator... 1 Overview...

More information

Programming in the MAXQ environment

Programming in the MAXQ environment AVAILABLE The in-circuit debugging and program-loading features of the MAXQ2000 microcontroller combine with IAR s Embedded Workbench development environment to provide C or assembly-level application

More information

FR Family MB Emulator System Getting Started Guide

FR Family MB Emulator System Getting Started Guide FR Family MB2198-01 Emulator System Getting Started Guide Doc. No. 002-05222 Rev. *A Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 http://www.cypress.com Copyrights Copyrights Cypress

More information

Renesas 78K/78K0R/RL78 Family In-Circuit Emulation

Renesas 78K/78K0R/RL78 Family In-Circuit Emulation _ Technical Notes V9.12.225 Renesas 78K/78K0R/RL78 Family In-Circuit Emulation This document is intended to be used together with the CPU reference manual provided by the silicon vendor. This document

More information

TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... NS NS32000 Monitor... 1

TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... NS NS32000 Monitor... 1 NS32000 Monitor TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... NS32000... NS32000 Monitor... 1 Brief Overview of Documents

More information

OS Awareness Manual Sciopta

OS Awareness Manual Sciopta OS Awareness Manual Sciopta TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... OS Awareness Manuals... OS Awareness Manual Sciopta... 1 History... 2 Overview... 2 Brief Overview of

More information

EPROM/FLASH Simulator

EPROM/FLASH Simulator EPROM/FLASH Simulator TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... EPROM/FLASH Simulator... 1 Introduction... 4 Basics 4 Warning 4 Configuration... 5 ICD Configuration for ROM

More information

RTOS Debugger for ThreadX

RTOS Debugger for ThreadX RTOS Debugger for ThreadX TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... RTOS Debuggers... RTOS Debugger for ThreadX... 1 Overview... 3 Brief Overview of Documents for New Users...

More information

DOMAIN TECHNOLOGIES INC. Users Guide Version 2.0 SB-USB2. Emulator

DOMAIN TECHNOLOGIES INC. Users Guide Version 2.0 SB-USB2. Emulator INC. Users Guide Version 2.0 SB-USB2 Emulator Table of Contents 1 INTRODUCTION... 3 1.1 Features... 3 1.2 Package Contents... 4 1.3 Related Components... 4 2 INSTALLATION... 4 3 INTEGRATION WITH LSI LOGIC

More information

PRACTICE Script Language User s Guide

PRACTICE Script Language User s Guide PRACTICE Script Language User s Guide TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... PRACTICE Script Language... PRACTICE Script Language User's Guide... 1 Why Use PRACTICE Scripts...

More information

MPLAB SIM. MPLAB IDE Software Simulation Engine Microchip Technology Incorporated MPLAB SIM Software Simulation Engine

MPLAB SIM. MPLAB IDE Software Simulation Engine Microchip Technology Incorporated MPLAB SIM Software Simulation Engine MPLAB SIM MPLAB IDE Software Simulation Engine 2004 Microchip Technology Incorporated MPLAB SIM Software Simulation Engine Slide 1 Welcome to this web seminar on MPLAB SIM, the software simulator that

More information

H8 C-SPY. User Guide WINDOWS WORKBENCH VERSION

H8 C-SPY. User Guide WINDOWS WORKBENCH VERSION H8 C-SPY User Guide WINDOWS WORKBENCH VERSION COPYRIGHT NOTICE Copyright 1998 IAR Systems. All rights reserved. No part of this document may be reproduced without the prior written consent of IAR Systems.

More information

RTOS Debugger for Linux - Run Mode

RTOS Debugger for Linux - Run Mode RTOS Debugger for Linux - Run Mode TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... RTOS Debuggers... RTOS Debugger for Linux... RTOS Debugger for Linux - Run Mode... 1 Debugging

More information

ARM-ETM Programming Dialog

ARM-ETM Programming Dialog ARM-ETM Programming Dialog TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... ARM/CORTEX/XSCALE... ARM-ETM Programming

More information

TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... MCS08... MCS08 Debugger... 1

TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... MCS08... MCS08 Debugger... 1 MCS08 Debugger TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... MCS08... MCS08 Debugger... 1 Brief Overview of Documents

More information

RTOS Debugger for RTX-ARM

RTOS Debugger for RTX-ARM RTOS Debugger for RTX-ARM TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... RTOS Debuggers... RTOS Debugger for RTX-ARM... 1 Overview... 2 Brief Overview of Documents for New Users...

More information

RTOS Debugger for QNX - Run Mode

RTOS Debugger for QNX - Run Mode RTOS Debugger for QNX - Run Mode TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... RTOS Debuggers... RTOS Debugger for QNX - Run Mode... 1 Basic Concepts... 2 pdebug... 2 Switching

More information

This chapter introduces how to use the emulator of TOPICE quickly.

This chapter introduces how to use the emulator of TOPICE quickly. Quick Starting Summarization This chapter introduces how to use the emulator of TOPICE quickly. Compiling Source and Debugging Creating a New Project Select main menu Project, then choose the submenu New

More information

DEVELOPMENT OF A DEBUG MODULE FOR A FPGA-BASED MICROCONTROLLER. Rainer Bermbach, Martin Kupfer

DEVELOPMENT OF A DEBUG MODULE FOR A FPGA-BASED MICROCONTROLLER. Rainer Bermbach, Martin Kupfer DEVELOPMENT OF A DEBUG MODULE FOR A FPGA-BASED MICROCONTROLLER Rainer Bermbach, Martin Kupfer University of Applied Sciences Braunschweig/Wolfenbuettel, Germany Abstract: Description of the development

More information

CHAPTER ASSEMBLY LANGUAGE PROGRAMMING

CHAPTER ASSEMBLY LANGUAGE PROGRAMMING CHAPTER 2 8051 ASSEMBLY LANGUAGE PROGRAMMING Registers Register are used to store information temporarily: A byte of data to be processed An address pointing to the data to be fetched The vast majority

More information

General Commands Reference Guide M

General Commands Reference Guide M General Commands Reference Guide M TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... General Commands... General Commands Reference Guide M... 1 History... 7 MACHINE... 8 MACHINE.select

More information

EMUL251 TM -PC Windows. User Guide. Copyright ICE Technology

EMUL251 TM -PC Windows. User Guide. Copyright ICE Technology EMUL251 TM -PC Windows User Guide Copyright ICE Technology EMUL251 -PC Windows EMUL251 -PC Windows User Guide Copyright 1995 E-Mail: sales@icetech.com.com URL: http://www.icetech.com All rights reserved

More information

Simulator for HC08/MSC08

Simulator for HC08/MSC08 Simulator for HC08/MSC08 TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... TRACE32 Instruction Set Simulators... Simulator for HC08/MSC08... 1 TRACE32 Simulator License... 3 Quick

More information

Changing the Embedded World TM. Module 3: Getting Started Debugging

Changing the Embedded World TM. Module 3: Getting Started Debugging Changing the Embedded World TM Module 3: Getting Started Debugging Module Objectives: Section 1: Introduce Debugging Techniques Section 2: PSoC In-Circuit Emulator (ICE) Section 3: Hands on Debugging a

More information

ZAP Cross Debuggers for Motorola Microcontrollers

ZAP Cross Debuggers for Motorola Microcontrollers ZAP Cross Debuggers for Motorola Microcontrollers ZAP is a family of full-featured C and assembly language source-level debuggers designed to give Motorola embedded microcontroller developers a consistent

More information

ARM Application Note for MXC Chips

ARM Application Note for MXC Chips ARM Application Note for MXC Chips TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... ARM/CORTEX/XSCALE... ARM Application

More information

RTOS Debugger for FreeRTOS

RTOS Debugger for FreeRTOS RTOS Debugger for FreeRTOS TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... RTOS Debuggers... RTOS Debugger for FreeRTOS... 1 Overview... 2 Brief Overview of Documents for New Users...

More information

Section 1 AVR Studio User Guide

Section 1 AVR Studio User Guide Section 1 AVR Studio User Guide 1.1 Introduction Welcome to AVR Studio from Atmel Corporation. AVR Studio is a Development Tool for the AVR family of microcontrollers. This manual describes the how to

More information

RTOS Debugger for ChibiOS/RT

RTOS Debugger for ChibiOS/RT RTOS Debugger for ChibiOS/RT TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... RTOS Debuggers... RTOS Debugger for ChibiOS/RT... 1 Overview... 3 Brief Overview of Documents for New

More information

_ V ST STM8 Family On-Chip Emulation. Contents. Technical Notes

_ V ST STM8 Family On-Chip Emulation. Contents. Technical Notes _ V9.12. 225 Technical Notes ST STM8 Family On-Chip Emulation This document is intended to be used together with the CPU reference manual provided by the silicon vendor. This document assumes knowledge

More information

API for Auxiliary Processing Unit

API for Auxiliary Processing Unit API for Auxiliary Processing Unit TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... Misc... API for Auxiliary Processing Unit... 1 Introduction... 3 Release Information 3 Features

More information

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission.

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission. INTRODUCTION This manual will guide you through the first steps of getting the SE-8051ICD running with the Crossware 8051 Development Suite and the Atmel Flexible In-System Programming system (FLIP). The

More information

Trace Getting Started V8.02

Trace Getting Started V8.02 Trace Getting Started V8.02 1. Introduction This paper helps the user to entirely exploit the trace and troubleshoot most often situations that the developer is confronted with while debugging the application.

More information

8086 Interrupts and Interrupt Responses:

8086 Interrupts and Interrupt Responses: UNIT-III PART -A INTERRUPTS AND PROGRAMMABLE INTERRUPT CONTROLLERS Contents at a glance: 8086 Interrupts and Interrupt Responses Introduction to DOS and BIOS interrupts 8259A Priority Interrupt Controller

More information

RTOS Debugger for MicroC/OS-III

RTOS Debugger for MicroC/OS-III RTOS Debugger for MicroC/OS-III TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... RTOS Debuggers... RTOS Debugger for MicroC/OS-III... 1 Overview... 2 Brief Overview of Documents

More information

OMEN Alpha / issue 4. Technical Documentation

OMEN Alpha / issue 4. Technical Documentation OMEN Alpha / issue 4 Technical Documentation OMEN Computers - - - https://github.com/osmibity - - - Page: 1 INTRODUCTION == The OMEN Alpha computer kit is a low-cost computer trainer, based on the Intel

More information

TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... Blackfin... Blackfin Debugger General Note...

TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... Blackfin... Blackfin Debugger General Note... Blackfin Debugger TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... ICD In-Circuit Debugger... Processor Architecture Manuals... Blackfin... Blackfin Debugger... 1 General Note...

More information

DoCD IP Core. DCD on Chip Debug System v. 6.02

DoCD IP Core. DCD on Chip Debug System v. 6.02 2018 DoCD IP Core DCD on Chip Debug System v. 6.02 C O M P A N Y O V E R V I E W Digital Core Design is a leading IP Core provider and a System-on-Chip design house. The company was founded in 1999 and

More information

Visual Profiler. User Guide

Visual Profiler. User Guide Visual Profiler User Guide Version 3.0 Document No. 06-RM-1136 Revision: 4.B February 2008 Visual Profiler User Guide Table of contents Table of contents 1 Introduction................................................

More information

TRACE32 Training... Training Menu... 1

TRACE32 Training... Training Menu... 1 Training Menu TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Training... Training Menu... 1 Customizing the TRACE32 PowerView GUI... 2 The Menu Programming Editor 4 Customizing the Main Menubar

More information

P&E Microcomputer Systems, Inc. PKGPPCNEXUS

P&E Microcomputer Systems, Inc. PKGPPCNEXUS P&E Microcomputer Systems, Inc. PKGPPCNEXUS Quick Start Guide for the PHYTEC phycore-mpc5554 Rapid Development Kit Visit us on the web: www.pemicro.com 2006 P&E Microcomputer Systems, Inc. All Rights Reserved

More information

An Introduction to Komodo

An Introduction to Komodo An Introduction to Komodo The Komodo debugger and simulator is the low-level debugger used in the Digital Systems Laboratory. Like all debuggers, Komodo allows you to run your programs under controlled

More information

General Commands Reference Guide G

General Commands Reference Guide G General Commands Reference Guide G TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... General Commands... General Commands Reference Guide G... 1 History... 3 GLOBALON... 4 GLOBALON

More information

DQ8051. Revolutionary Quad-Pipelined Ultra High performance 8051 Microcontroller Core

DQ8051. Revolutionary Quad-Pipelined Ultra High performance 8051 Microcontroller Core DQ8051 Revolutionary Quad-Pipelined Ultra High performance 8051 Microcontroller Core COMPANY OVERVIEW Digital Core Design is a leading IP Core provider and a System-on-Chip design house. The company was

More information

Keil uvision development story (Adapted from (Valvano, 2014a))

Keil uvision development story (Adapted from (Valvano, 2014a)) Introduction uvision has powerful tools for debugging and developing C and Assembly code. For debugging a code, one can either simulate it on the IDE s simulator or execute the code directly on ta Keil

More information

Small Computer Monitor User Guide

Small Computer Monitor User Guide Small Computer Monitor User Guide Monitor version 0.5 for the Z80 CPU Software and Documentation by Stephen C Cousins Edition 0.5.0 CONTENTS OVERVIEW...3 Conventions... 3 Serial port... 4 RC2014 systems...

More information

PICMICRO C-SPY. User Guide

PICMICRO C-SPY. User Guide PICMICRO C-SPY User Guide COPYRIGHT NOTICE Copyright 1998 IAR Systems. All rights reserved. No part of this document may be reproduced without the prior written consent of IAR Systems. The software described

More information

EMUL-AVR-PC. User Guide

EMUL-AVR-PC. User Guide EMUL-AVR-PC User Guide Nohau Corporation 51 E. Campbell Ave. Campbell, CA 95008 PH: (408) 866-1820 Fax: (408) 378-7869 E-mail: support@nohau.com www.nohau.com EMUL AVR PC User Guide Edition 1, July 24,

More information

file://c:\documents and Settings\degrysep\Local Settings\Temp\~hh607E.htm

file://c:\documents and Settings\degrysep\Local Settings\Temp\~hh607E.htm Page 1 of 18 Trace Tutorial Overview The objective of this tutorial is to acquaint you with the basic use of the Trace System software. The Trace System software includes the following: The Trace Control

More information

Suite56 DSP Simulator

Suite56 DSP Simulator nc. Suite56 DSP Simulator User s Manual, Release 6.3 DSPS56SIMUM/D Document Rev. 3.0, 07/1999 nc. Suite56, OnCe, and MFAX are trademarks of Motorola, Inc. Motorola reserves the right to make changes without

More information

Small Computer Monitor User Guide

Small Computer Monitor User Guide Small Computer Monitor User Guide Monitor version 0.3 for the Z80 CPU Software and Documentation by Stephen C Cousins Edition 0.3.0 CONTENTS OVERVIEW... 3 Conventions... 3 Serial Port... 4 RC2014 Systems...4

More information

Getting started with the PowerPC tools:

Getting started with the PowerPC tools: Getting started with the PowerPC tools: Compiler, IDE and debugger This Application Note describes how to get started with the Cosmic Toolchain for PowerPC. Using one of the examples provided with the

More information

EUROScope lite 16FX Reference Manual

EUROScope lite 16FX Reference Manual lite 16FX Reference Manual June 2007 EUROS Embedded Systems GmbH Campestraße 12 D-90419 Nuremberg Germany Fon: +49-911-300328-0 Fax: +49-911-300328-9 Web: www.euros-embedded.com email: support@euros-embedded.com

More information

ICE Performance Analyzer User s Guide

ICE Performance Analyzer User s Guide ICE Performance Analyzer User s Guide TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... ICE In-Circuit Emulator... ICE Analyzer System... ICE Performance Analyzer User's Guide...

More information

MicroConverter. QuickStart Development System

MicroConverter. QuickStart Development System MicroConverter For product information, visit our web page at www.analog.com/microconverter One Technology Way, P.O. Box 9106, Norwood MA. 02062-9106, USA. atel. (781) 329-4700, Fax. (781) 326-8703 QuickStart

More information

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, CISC and RISC processors etc. Knows the architecture and

More information

RTOS Debugger for CMX

RTOS Debugger for CMX RTOS Debugger for CMX TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... RTOS Debuggers... RTOS Debugger for CMX... 1 Overview... 2 Brief Overview of Documents for New Users... 3

More information

USER MANUAL NATHANIEL THWAITES-MCGOWAN

USER MANUAL NATHANIEL THWAITES-MCGOWAN USER MANUAL NATHANIEL THWAITES-MCGOWAN ABBREVIATIONS Whilst this document is aimed at readers with a Computer Science background, this list of acronyms is intended to help those without the required depth

More information

Intro to MS Visual C++ Debugging

Intro to MS Visual C++ Debugging Intro to MS Visual C++ Debugging 1 Debugger Definition A program used to control the execution of another program for diagnostic purposes. Debugger Features / Operations Single-Stepping 100011101010101010

More information

Tools Basics. Getting Started with Renesas Development Tools R8C/3LX Family

Tools Basics. Getting Started with Renesas Development Tools R8C/3LX Family Getting Started with Renesas Development Tools R8C/3LX Family Description: The purpose of this lab is to allow a user new to the Renesas development environment to quickly come up to speed on the basic

More information

ALD Assembly Language Debugger Copyright (C) Patrick Alken

ALD Assembly Language Debugger Copyright (C) Patrick Alken ALD Assembly Language Debugger 0.1.7 Copyright (C) 2000-2004 Patrick Alken To run type ald help Commands may be abbreviated. If a blank command is entered, the last command is repeated. Type `help '

More information

IAR C-SPY Hardware Debugger Systems User Guide. for Renesas E30A/E30 Emulators

IAR C-SPY Hardware Debugger Systems User Guide. for Renesas E30A/E30 Emulators IAR C-SPY Hardware Debugger Systems User Guide for Renesas E30A/E30 Emulators COPYRIGHT NOTICE Copyright 2007 2009 IAR Systems AB. No part of this document may be reproduced without the prior written consent

More information

Integration for CodeWright

Integration for CodeWright Integration for CodeWright TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... 3rd Party Tool Integrations... Integration for CodeWright... 1 Overview... 2 Brief Overview of Documents

More information

Megawin 8051 OCD ICE

Megawin 8051 OCD ICE Megawin User Manual This document information is the intellectual property of Megawin Technology Co., Ltd. 1 Contents 1 Introduction... 3 Features... 3 Description... 3 2 Hardware Setup... 4 3 Software

More information

Application Note C++ Debugging

Application Note C++ Debugging Application Note C++ Debugging TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... High-Level Language Debugging... Application Note C++ Debugging... 1 Sample Code used by This Application

More information

Application Note for the SNOOPer Trace

Application Note for the SNOOPer Trace Application Note for the SNOOPer Trace TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... Trace Analysis... Trace Application Notes... Application Note for the SNOOPer Trace... 1

More information

Assembly Programming in Atmel Studio 7 Step by Step Tutorial

Assembly Programming in Atmel Studio 7 Step by Step Tutorial Assembly Programming in Atmel Studio 7 Step by Step Tutorial Sepehr Naimi BIHE University 12/1/2017 Contents Introduction... 2 Downloading and Installing Atmel Studio... 3 Opening Atmel Studio... 3 Creating

More information

CS+ for CA,CX V

CS+ for CA,CX V R20UT3895EJ0100 Rev. 1.00 Oct.5, 2016 Chapter 1. Target Devices... 2 Chapter 2. User's Manuals... 3 Chapter 3. Keywords When Uninstalling the Product... 4 Chapter 4. Changes... 5 Chapter 5. Points for

More information

TRACE32 Training... Training Hexagon-ETM... Hexagon-ETM Training... 1

TRACE32 Training... Training Hexagon-ETM... Hexagon-ETM Training... 1 Hexagon-ETM Training TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Training... Training Hexagon-ETM... Hexagon-ETM Training... 1 Introduction Hexagon ETM... 4 Off-chip Trace Port 4 TRACE32

More information

embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.0 Revision: 0 Date: September 18, 2017

embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.0 Revision: 0 Date: September 18, 2017 embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.0 Revision: 0 Date: September 18, 2017 A product of SEGGER Microcontroller GmbH & Co. KG www.segger.com

More information

ICE Emulator for MC68000 and MC6830X

ICE Emulator for MC68000 and MC6830X ICE Emulator for MC68000 and MC6830X TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... ICE In-Circuit Emulator... ICE Target Guides... ICE Emulator for MC68000 and MC6830X... 1 Warning...

More information

CROSSWARE 7 V8051NT Virtual Workshop for Windows. q Significantly reduces software development timescales

CROSSWARE 7 V8051NT Virtual Workshop for Windows. q Significantly reduces software development timescales CROSSWARE 7 V8051NT HIGHLIGHTS q Significantly reduces software development timescales q Enables debug and verification without hardware q Allows programmers to simulate complete target system 8051 Virtual

More information

Course Introduction. Purpose: Objectives: Content: 27 pages 4 questions. Learning Time: 20 minutes

Course Introduction. Purpose: Objectives: Content: 27 pages 4 questions. Learning Time: 20 minutes Course Introduction Purpose: This course provides an overview of the Direct Memory Access Controller and the Interrupt Controller on the SH-2 and SH-2A families of 32-bit RISC microcontrollers, which are

More information

CPE 323: Laboratory Assignment #1 Getting Started with the MSP430 IAR Embedded Workbench

CPE 323: Laboratory Assignment #1 Getting Started with the MSP430 IAR Embedded Workbench CPE 323: Laboratory Assignment #1 Getting Started with the MSP430 IAR Embedded Workbench by Alex Milenkovich, milenkovic@computer.org Objectives: This tutorial will help you get started with the MSP30

More information

OS Awareness Manual OSEK/ORTI

OS Awareness Manual OSEK/ORTI OS Awareness Manual OSEK/ORTI TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... OS Awareness Manuals... OS Awareness for OSEK/ORTI... OS Awareness Manual OSEK/ORTI... 1 History...

More information

Onchip/NOR FLASH Programming User s Guide

Onchip/NOR FLASH Programming User s Guide Onchip/NOR FLASH Programming User s Guide TRACE32 Online Help TRACE32 Directory TRACE32 Index TRACE32 Documents... FLASH Programming... Onchip/NOR FLASH Programming User's Guide... 1 Introduction... 4

More information

M16C R8C PC7501 Emulator Debugger V Release Notes

M16C R8C PC7501 Emulator Debugger V Release Notes M16C R8C PC7501 Emulator Debugger V.1.03.00 Release Notes This document describes the notes of this debugger, and please read before you start to use this debugger. And also, please refer to the High-performance

More information

Description of the Simulator

Description of the Simulator Description of the Simulator The simulator includes a small sub-set of the full instruction set normally found with this style of processor. It includes advanced instructions such as CALL, RET, INT and

More information

Contents. Cortex M On-Chip Emulation. Technical Notes V

Contents. Cortex M On-Chip Emulation. Technical Notes V _ Technical Notes V9.12.225 Cortex M On-Chip Emulation Contents Contents 1 1 Introduction 2 2 Access Breakpoints 3 3 Trace 5 4 NXP LPC 5 4.1 Boot and Memory Remapping 5 4.2 LPC17xx Startup 5 4.1 LPC11A02/04

More information

Debugging in Small Basic is the process of analysing a program to detect and fix errors or improve functionality in some way.

Debugging in Small Basic is the process of analysing a program to detect and fix errors or improve functionality in some way. How to Debug Introduction Debugging in Small Basic is the process of analysing a program to detect and fix errors or improve functionality in some way. In order to debug a program it must first compile

More information

Microcontrollers. Microcontroller

Microcontrollers. Microcontroller Microcontrollers Microcontroller A microprocessor on a single integrated circuit intended to operate as an embedded system. As well as a CPU, a microcontroller typically includes small amounts of RAM and

More information

Using the KD30 Debugger

Using the KD30 Debugger ELEC3730 Embedded Systems Tutorial 3 Using the KD30 Debugger 1 Introduction Overview The KD30 debugger is a powerful software tool that can greatly reduce the time it takes to develop complex programs

More information

embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.1 Revision: 0 Date: May 3, 2018

embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.1 Revision: 0 Date: May 3, 2018 embos Real-Time Operating System Document: UM01025 Software Version: 3.1 Revision: 0 Date: May 3, 2018 A product of SEGGER Microcontroller GmbH www.segger.com 2 Disclaimer Specifications written in this

More information

BASIC INTERFACING CONCEPTS

BASIC INTERFACING CONCEPTS Contents i SYLLABUS UNIT - I 8085 ARCHITECTURE Introduction to Microprocessors and Microcontrollers, 8085 Processor Architecture, Internal Operations, Instructions and Timings, Programming the 8085-Introduction

More information