Hello,
I'm trying to use GNU tools to debug kernel modules with j-link. I have downloaded actual beta version of driver for linux (4.22a) and now I'm trying to do some progress.
Unfortunately I'm hanging just at the beginning. When I try to connect to JLinkGDBServer with gdb (target remote :2331) I'm getting following messages
Display All
Command continue never ends. I have found many "howtos" for kernel debugging with JTAG, but I can't get working any of them with described configuration.
Any help would be appreciated.
best regards
Jan
I'm trying to use GNU tools to debug kernel modules with j-link. I have downloaded actual beta version of driver for linux (4.22a) and now I'm trying to do some progress.
Unfortunately I'm hanging just at the beginning. When I try to connect to JLinkGDBServer with gdb (target remote :2331) I'm getting following messages
Source Code
- SEGGER J-Link GDB Server V4.22
- JLinkARM.dll V4.22 (DLL compiled Apr 5 2011 13:54:52)
- Listening on TCP/IP port 2331
- J-Link connected
- Firmware: J-Link ARM V8 compiled Jun 21 2011 20:26:20
- Hardware: V8.00
- S/N: 58004787
- J-Link found 1 JTAG device, Total IRLen = 4
- JTAG ID: 0x0792603F (ARM9)
- Connected to 127.0.0.1
- WARNING: Unknown packet received: "qSupported:qRelocInsn+"
- Reading all registers
- WARNING: Failed to read cacheable memory @ address 0x00000000
- Read 4 bytes @ address 0x00000000 (Data = 0x678E10B7)
- WARNING: Failed to read memory @ address 0xFFFFFFFC
- Read 4 bytes @ address 0xFFFFFFFC (Data = 0xAAAAAAAA)
- WARNING: Failed to read cacheable memory @ address 0x00000000
- Read 4 bytes @ address 0x00000000 (Data = 0xAAAAAAAA)
- WARNING: Failed to read memory @ address 0xFFFFFFFC
- Read 4 bytes @ address 0xFFFFFFFC (Data = 0xAAAAAAAA)
- WARNING: Failed to read cacheable memory @ address 0x00000000
- Read 4 bytes @ address 0x00000000 (Data = 0xAAAAAAAA)
- WARNING: Failed to read memory @ address 0xFFFFFFFC
- Read 4 bytes @ address 0xFFFFFFFC (Data = 0xAAAAAAAA)
- WARNING: Failed to read cacheable memory @ address 0x00000000
- Read 4 bytes @ address 0x00000000 (Data = 0xAAAAAAAA)
- WARNING: Failed to read cacheable memory @ address 0x00000000
- Read 4 bytes @ address 0x00000000 (Data = 0xAAAAAAAA)
- WARNING: Failed to read cacheable memory @ address 0x00000000
- Read 4 bytes @ address 0x00000000 (Data = 0xAAAAAAAA)
- Starting target CPU...
Command continue never ends. I have found many "howtos" for kernel debugging with JTAG, but I can't get working any of them with described configuration.
Any help would be appreciated.
best regards
Jan