Hi Thomas,

Thanks for cleaning this up and submitting it! I got busy with esp-open-rtos 
stuff and I just never looked back to it.

On Mon, Feb 22, 2016 at 01:12:05PM -0700, Thomas Schmid wrote:
> I just took their code and forward ported it to the latest openocd master
> branch. Hopefully, we can consolidate the different efforts and add it into
> mainline openocd development instead of side projects.

Hurrah! Yes, I always intended to submit it here (I posted on the list last 
year) after it got a bit more stable.

> I tested it with the Sparkfun ESP8266 Thing and a Olimex ARM-USB-Tiny-h. I
> can step, next, and set breakpoints.

The sticking point I had (which it's possible @sysprogs already fixed) was 
always maintaining/establishing the JTAG connection during/after a reset. The 
debug interface would lose "sync" with the CPU very often (poll errors, etc.). 
Does this part work OK now?

> Loading of an image only works
> partially, as it doesn't seem to be writing the external SPI flash.

There's no SPI flash driver yet so that's to be expected I guess. We could 
write one for ESP8266 fairly easily, as there are SPI flash functons in the 
boot ROM that the debug interface can call directly to perform erase 
operations, write operations, etc.

I'll try and find time to test this patch a bit myself, but it might be better 
left to other people tbh. :)

Thanks again for moving it along!


Angus

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to