SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By wjzhang
#194827
when i used ./configure --enable-cmsis-dap --disable-werror compile openocd in migGW/msys 32. it work on TCP port 3333. but failed on Pipeline. it rejected.
logs:
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : CMSIS-DAP: FW Version = 1.0
Info : SWCLK/TCK = 0 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : SWD IDCODE 0x0bb11477
Info : stm32f0x.cpu: hardware has 4 breakpoints, 2 watchpoints
Info : accepting 'gdb' connection from pipe
Error: attempted 'gdb' connection rejected

it failed at Gdb_server.c gdb_new_connection():
/* remove the initial ACK from the incoming buffer */
retval = gdb_get_char(connection, &initial_ack);
if (retval != ERROR_OK)
return retval;

using this command:
arm-none-eabi-gdb custom-section.elf | openocd -f board/mb00xx.cfg -c "gdb_port pipe" -c "log_output openocd.log"

openocd version 0.10.0 , 0.9.0
how to fixed this? do need add patch? or just add some compile configure options?
By wjzhang
#194834
sorry, my bad. command line is wrong.
should be
arm-none-eabi-gdb custom-section.elf
(gdb) target remote | openocd -f board/mb00xx.cfg -c "gdb_port pipe" -c "log_output openocd.log"
......
(gdb) mon reset halt
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]