Feb 22, 2021
06:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 22, 2021
06:25 AM
Hello, I am having an issue with the XMC4500 trying to debug or download an application after add the reset supervisor.
The main issue is that I can not connect to the target, either for debug or download the code.
My setup is an OEM board, with XMC4500-F100K1024 AC; DS1818R-10 reset device, the GDB Segger J-link debbuger, and Dave 4.4.2 enviroment.
I had no issues before add the reset supervisor. I think that I can not connect to the target because the supervisor extends the reset for 250ms.
I had have the same issue with other controllers an eclipse based enviroments, but I configured a wait time to connect the target after apply reset in the debbuger properties. But I do not find the rigth command for Dave enviroment, or it does not work properly.
I attach a copy paste of the log:
I have try with almost all checkbox options concerning reset, no one works.
Any ideas?
Thanks in advance.
Carlos.
The main issue is that I can not connect to the target, either for debug or download the code.
My setup is an OEM board, with XMC4500-F100K1024 AC; DS1818R-10 reset device, the GDB Segger J-link debbuger, and Dave 4.4.2 enviroment.
I had no issues before add the reset supervisor. I think that I can not connect to the target because the supervisor extends the reset for 250ms.
I had have the same issue with other controllers an eclipse based enviroments, but I configured a wait time to connect the target after apply reset in the debbuger properties. But I do not find the rigth command for Dave enviroment, or it does not work properly.
I attach a copy paste of the log:
Command line: -if swd -device XMC4500-F100x1024 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -singlerun -strict -timeout 5000
-----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: localhost only
Generate logfile: off
Verify download: on
Init regs on start: on
Silent mode: off
Single run mode: on
Target connection timeout: 5000 ms
------J-Link related settings------
J-Link Host interface: USB
J-Link script: none
J-Link settings file: none
------Target related settings------
Target device: XMC4500-F100x1024
Target interface: SWD
Target interface speed: 1000kHz
Target endian: little
Connecting to J-Link...
J-Link is connected.
Firmware: J-Link Lite-Cortex-M V8 compiled Sep 15 2016 12:05:01
Hardware: V8.00
S/N: 408000869
Checking target voltage...
Target voltage: 3.32 V
Listening on TCP/IP port 2331
Connecting to target...
ERROR: Could not connect to target.
Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...
Shutting down...
I have try with almost all checkbox options concerning reset, no one works.
Any ideas?
Thanks in advance.
Carlos.
Solved! Go to Solution.
1 Solution
Mar 28, 2022
10:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 28, 2022
10:16 AM
You can try SEGGER JTAG connection in that moment you have more extensive license.
BBi
BBi
1 Reply
Mar 28, 2022
10:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 28, 2022
10:16 AM
You can try SEGGER JTAG connection in that moment you have more extensive license.
BBi
BBi