-->
Page 4 of 8

Re: Anybody interested in using a debugger?

PostPosted: Wed Jul 01, 2015 6:31 am
by cal
wififofum wrote:Yes, but wishing for SWD on a chip with limited pinout.


SWD? Does not ring any bell.

Re: Anybody interested in using a debugger?

PostPosted: Wed Jul 01, 2015 6:49 am
by cal
cal wrote:
wififofum wrote:Yes, but wishing for SWD on a chip with limited pinout.


SWD? Does not ring any bell.


Do you mean: http://www.arm.com/products/serial-wire-debug.php?

AFAIK we don't have it on esp8266.
The gdb stub should not need a lot of bandwidth, so software serial maybe an alternative.

Cal

Re: Anybody interested in using a debugger?

PostPosted: Wed Jul 01, 2015 9:20 am
by martinayotte
Yes, that would be interesting too.
I've purchased an SWD STLink-V2 recently (less than $5). Normally used to debug STM32 CPUs, I've tried it also on an NXP LPC1768, and it was working fine with OpenOCD and GDB. In fact, all ARMs are supporting that.
So, if we get somehow this hooked up on 2 pins of the ESP (SWDIO and SWDCLK), that would be nice !

Re: Anybody interested in using a debugger?

PostPosted: Wed Jul 01, 2015 10:47 am
by wififofum
Sorry actually I was thinking about SWIM (1 PIN + RESET) but wrote SWD. If there is a way to implement either in software on 1-2 user selectable I/o pins that would be nice.