GRMON 4.1.0 issues

Hello all,

We have detected an issue when updating GRMON evaluation to version 4.1.0 (or 4.1.0.1).
When we execute our ethernet initialization script we get the following error:

Device index: greth0
EDCL ip 192.168.220.4
EDCL mac 03:00:00:00:00:00
EDCL buffer size 16 kB
Device not found!

When trying to execute any program we also encounter an error:

grmon4> run
ERROR! JTAG data invalid! AHB access did not complete, returning bad data.!
Error occurred, disconnecting (308

Unknown failure!
Debug link has disconnected!

Note that with GRMON 4.0.7 this issues does not happen and the execution works as expected.

Edit: I added a format for the GRMON messages.

Edit 2: This happens on our custom platform (METASAT). On a simple noelvmp platform, it seems to work correctly.

Thanks for your help.

Best,
Marc

Hi Marc,

Which cores are included in your design?
Could you provide the output of info sys?

Hi,

Find below the info sys output:

  cpu0       Frontgrade Gaisler  NOEL-V RISC-V Processor    
             AHB Master 0
  cpu1       Frontgrade Gaisler  NOEL-V RISC-V Processor    
             AHB Master 1
  cpu2       Frontgrade Gaisler  NOEL-V RISC-V Processor    
             AHB Master 2
  cpu3       Frontgrade Gaisler  NOEL-V RISC-V Processor    
             AHB Master 3
  greth0     Frontgrade Gaisler  GR Ethernet MAC    
             AHB Master 4
             APB: ff984000 - ff984100
             IRQ: 5
             edcl ip 192.168.220.4, buffer 16 kbyte
  ahbuart0   Frontgrade Gaisler  AHB Debug UART    
             AHB Master 6
             APB: ff986000 - ff986100
             Baudrate 115200, AHB frequency 100.00 MHz
  ahbjtag0   Frontgrade Gaisler  JTAG Debug Link    
             AHB Master 7
  edcl0      Frontgrade Gaisler  EDCL master interface    
             AHB Master 8
  dm0        Frontgrade Gaisler  RISC-V Debug Module    
             AHB Master 9
             AHB: fe000000 - ff000000
             AHB trace: 7340036 lines, 128-bit bus
             hart0: ISA rv64imafdcbph, Modes M S U VS VU, SV39
                    i, m, a, f, d, c, h, smepmp, smstateen, sscofpmf, sstc
                    svinval, zaamo, zalrsc, zba, zbb, zbc, zbkb, zbkx, zbs
                    zca, zcd, zicbom, zicfilp, zicfiss, zicntr, zicond
                    zifencei, zihpm, zimop
                    Stack pointer 0x7ffffff0
                    icache 4 * 4 kB, 32 B/line, dir,
                    dcache 4 * 4 kB, 32 B/line, dir
                    5 triggers,
                    itrace 64 lines
             hart1: ISA rv64imafdcbph, Modes M S U VS VU, SV39
                    i, m, a, f, d, c, h, smepmp, smstateen, sscofpmf, sstc
                    svinval, zaamo, zalrsc, zba, zbb, zbc, zbkb, zbkx, zbs
                    zca, zcd, zicbom, zicfilp, zicfiss, zicntr, zicond
                    zifencei, zihpm, zimop
                    Stack pointer 0x7ffffff0
                    icache 4 * 4 kB, 32 B/line, dir,
                    dcache 4 * 4 kB, 32 B/line, dir
                    5 triggers,
                    itrace 64 lines
             hart2: ISA rv64imafdcbph, Modes M S U VS VU, SV39
                    i, m, a, f, d, c, h, smepmp, smstateen, sscofpmf, sstc
                    svinval, zaamo, zalrsc, zba, zbb, zbc, zbkb, zbkx, zbs
                    zca, zcd, zicbom, zicfilp, zicfiss, zicntr, zicond
                    zifencei, zihpm, zimop
                    Stack pointer 0x7ffffff0
                    icache 4 * 4 kB, 32 B/line, dir,
                    dcache 4 * 4 kB, 32 B/line, dir
                    5 triggers,
                    itrace 64 lines
             hart3: ISA rv64imafdcbph, Modes M S U VS VU, SV39
                    i, m, a, f, d, c, h, smepmp, smstateen, sscofpmf, sstc
                    svinval, zaamo, zalrsc, zba, zbb, zbc, zbkb, zbkx, zbs
                    zca, zcd, zicbom, zicfilp, zicfiss, zicntr, zicond
                    zifencei, zihpm, zimop
                    Stack pointer 0x7ffffff0
                    icache 4 * 4 kB, 32 B/line, dir,
                    dcache 4 * 4 kB, 32 B/line, dir
                    5 triggers,
                    itrace 64 lines
  apbmst0    Frontgrade Gaisler  AHB/APB Bridge    
             AHB: ff900000 - ffa00000
  l2cache0   Frontgrade Gaisler  L2-Cache Controller - Lite    
             AHB: 00000000 - 80000000
             AHB: ffff0000 - ffff0400
             L2C: 1-ways, cachesize: 128 kB
  ahbrom0    Frontgrade Gaisler  Generic AHB ROM    
             AHB: c0000000 - c0100000
             32-bit ROM: 1 MB @ 0xc0000000
  mig0       Frontgrade Gaisler  Xilinx MIG Controller    
             AHB: 00000000 - 80000000
             SDRAM: 2048 Mbyte
  clint0     Frontgrade Gaisler  RISC-V ACLINT    
             AHB: e0000000 - e0100000
  plic0      Frontgrade Gaisler  RISC-V PLIC    
             AHB: f8000000 - fc000000
             16 contexts, 31 interrupt sources, 7 max priority
  uart0      Frontgrade Gaisler  Generic UART    
             APB: ff900000 - ff900100
             IRQ: 1
             Baudrate 38343, FIFO debug mode available
  gptimer0   Frontgrade Gaisler  Modular Timer Unit    
             APB: ff908000 - ff908100
             IRQ: 2
             16-bit scaler, 2 * 32-bit timers, divisor 100
  version0   Frontgrade Gaisler  Version and Revision Register    
             APB: ff981000 - ff981100
             Version 1024, Revision 130
  ahbstat0   Frontgrade Gaisler  AHB Status Register    
             APB: ff982000 - ff982100
             IRQ: 4
  sgmii0     Frontgrade Gaisler  XILINX SGMII Interface    
             APB: ff985000 - ff986000
  uart1      Frontgrade Gaisler  Generic UART    
             APB: ff9e0000 - ff9e0100
             IRQ: 7
             Baudrate 38343, FIFO debug mode available
  uart2      Frontgrade Gaisler  Generic UART    
             APB: ff9f0000 - ff9f0100
             IRQ: 8
             Baudrate 38343, FIFO debug mode available