Hello,
I'm using segger jlite to debug an nrf51822 on linux :
I upload code with JLinkExe using this script :
invoked with :
Upload works fine but after if I try to reconnect :
or :
Display All
I must disconnect USB in order to reflash or debug.
How can we solve it?
Regards
I'm using segger jlite to debug an nrf51822 on linux :
I upload code with JLinkExe using this script :
invoked with :
Upload works fine but after if I try to reconnect :
or :
C Source Code
- JLinkGDBServer -Device nrf51822 -If SWD
- SEGGER J-Link GDB Server V5.02e Command Line Version
- JLinkARM.dll V5.02e (DLL compiled Sep 25 2015 18:00:01)
- -----GDB Server start settings-----
- GDBInit file: none
- GDB Server Listening port: 2331
- SWO raw output listening port: 2332
- Terminal I/O port: 2333
- Accept remote connection: yes
- Generate logfile: off
- Verify download: off
- Init regs on start: off
- Silent mode: off
- Single run mode: off
- Target connection timeout: 0 ms
- ------J-Link related settings------
- J-Link Host interface: USB
- J-Link script: none
- J-Link settings file: none
- ------Target related settings------
- Target device: nrf51822
- Target interface: SWD
- Target interface speed: 1000kHz
- Target endian: little
- Connecting to J-Link...
- Connecting to J-Link failed. Connected correctly?
- GDBServer will be closed...
- Shutting down...
- Could not connect to J-Link.
- Please check power, connection and settings.
I must disconnect USB in order to reflash or debug.
How can we solve it?
Regards