But let's work with it here. I may be able to drag something out of my memory if you describe the problems, you are having in more detail.
Thanks for the offer to help! Here are some things I tried (more interesting may be toward the end):
Debug, Attach Debugger, Attach to Remote Process (GDB).
Connect via socket
Host: localhost
Port: 8000
GDB configuration:
Command line options
-select USB -device Cortex-M4 -endian little -port 8000 -swoport 8001 -telnetport 8002 -if SWD -speed 4000 -noir -LocalhostOnly
vsdebugio connection port: 8000 (Options, Debugging, General, vsdebugio connection port:)
Use remote proxy: Off
Use Extended Remote mode (not checked)
This usually ended up with the debug display showing and "Starting debugger..." at the lower left, but SlickEdit hung
until using Task Manager I killed the JjLinkGDBServerCL.exe(32 bit) task under SlickEdit.
SlickEdit would then say: "Error starting debugger: GDB has terminated prematurely".
============I also tried:
Port: 2331
GDB configuration:
Command line options
-select USB -device Cortex-M4 -endian little -port 2331 -swoport 2332 -telnetport 2333 -if SWD -speed 4000 -noir -LocalhostOnly
vsdebugio connection port: 2331 (I also tried port 2332)
Use remote proxy: Off
Use Extended Remote mode (not checked)
If I was more patient, after about 3 minutes, SlickEdit would say: "Error starting debugger: DGB returned an error
opening the executable. "Reply did not begin with '^'".
If I started it via Debug, Start Debug: SE would say "Error starting debugger: GDB has terminated prematurely".
============= If I started it via: Build, Debug:
SE would download the file to the board (via a COM port), start JjLinkGDBServerCL.exe, but JjLinkGDBServerCL would end with :
Listening on TCP/IP port 2331
Connecting to target...
Connected to target
Waiting for GDB connection...If I set the ports back to 8001,8002,8003:
Connecting to J-Link...
J-Link is connected.
Firmware: J-Link V11 compiled Nov 2 2020 09:15:32
Hardware: V11.00
S/N: 51006547
Feature(s): GDB
Checking target voltage...
Target voltage: 3.35 V
Listening on TCP/IP port 8000
Connecting to target...
Connected to target
Waiting for GDB connection...Hopefully your memory of four years ago is better than mine for last week!