GRMON3-UM
June 2019, Version 3.1.0
3 www.cobham.com/gaisler
3.8.1. GRMON thread options ...................................................................................... 32
3.8.2. GRMON thread commands .................................................................................. 32
3.9. Forwarding application console I/O .................................................................................. 33
3.10. EDAC protection ........................................................................................................ 34
3.10.1. Using EDAC protected memory .......................................................................... 34
3.10.2. LEON3-FT error injection .................................................................................. 34
3.11. FLASH programming .................................................................................................. 35
3.11.1. CFI compatible Flash PROM .............................................................................. 35
3.11.2. SPI memory device ........................................................................................... 36
3.12. Automated operation ................................................................................................... 37
3.12.1. Tcl commanding during CPU execution ................................................................ 37
3.12.2. Communication channel between target and monitor ............................................... 37
3.12.3. Test suite driver ............................................................................................... 37
4. Graphical user interface ........................................................................................................... 39
4.1. Overview .................................................................................................................... 39
4.2. Starting GRMON GUI .................................................................................................. 39
4.3. Connect to target .......................................................................................................... 40
4.3.1. Debug link ........................................................................................................ 40
4.3.2. Options ............................................................................................................ 41
4.3.3. Argument contribution ........................................................................................ 41
4.3.4. Configurations ................................................................................................... 41
4.3.5. Connect ............................................................................................................ 41
4.4. Launch configurations ................................................................................................... 41
4.4.1. Target image setup ............................................................................................. 42
4.4.2. Launch properties ............................................................................................... 43
4.5. Views ......................................................................................................................... 44
4.5.1. CPU Registers View ........................................................................................... 44
4.5.2. IO Registers View .............................................................................................. 45
4.5.3. System Information View .................................................................................... 47
4.5.4. Terminals View ................................................................................................. 47
4.5.5. Memory View ................................................................................................... 48
4.5.6. Disassembly View .............................................................................................. 49
4.5.7. Messages View .................................................................................................. 50
4.6. Target communication ................................................................................................... 51
4.6.1. Memory view update .......................................................................................... 51
4.7. C/C++ level debugging .................................................................................................. 51
4.8. Limitations .................................................................................................................. 51
5. Debug link ............................................................................................................................. 52
5.1. UART debug link ......................................................................................................... 52
5.2. Ethernet debug link ....................................................................................................... 53
5.3. JTAG debug link .......................................................................................................... 53
5.3.1. Xilinx parallel cable III/IV ................................................................................... 55
5.3.2. Xilinx Platform USB cable .................................................................................. 55
5.3.3. Altera USB Blaster or Byte Blaster ....................................................................... 57
5.3.4. FTDI FT4232/FT2232 ......................................................................................... 58
5.3.5. Amontec JTAGkey ............................................................................................. 59
5.3.6. Actel FlashPro 3/3x/4/5 ....................................................................................... 59
5.3.7. Digilent HS1 ..................................................................................................... 59
5.4. USB debug link ........................................................................................................... 59
5.5. GRESB debug link ....................................................................................................... 61
5.5.1. AGGA4 SpaceWire debug link ............................................................................. 61
5.6. User defined debug link ................................................................................................. 62
5.6.1. API .................................................................................................................. 62
6. Debug drivers ......................................................................................................................... 64
6.1. AMBA AHB trace buffer driver ...................................................................................... 64
6.2. Clock gating ................................................................................................................ 64
6.2.1. Switches ........................................................................................................... 64
6.3. DSU Debug drivers ....................................................................................................... 64