Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By Freeck
#28879
Developing projects for the ESP8266 WiFi chip with Visual Studio
http://visualgdb.com/tutorials/esp8266/
This tutorial shows how to create and debug a basic project for the ESP8266 WiFi chip with Visual Studio and VisualGDB. We will show how to:

Build the ESP8266 firmware in Visual Studio
Debug the code over JTAG using a common ARM JTAG debugger (we’ll use Segger J-Link)
Program the SPI FLASH over JTAG
Work around known problems with the LX106 processor


I finally got my Olimex-tiny-h jtag interface working with xt-ocd (posted in this thread) thanks to the tutorial of VisualGDB. Special attention for the ftdi driver supplied by UsbDriverTools, after installing the driver supplied ( instead of the "tested" ftdi-driver posted in this thread) downloading code went much faster, and the single stepping process much smoother...
Debugging options via the esp8266's jtag interface are limited, only one hardware breakpoint, and the stability is not as is should be, but I am very happy to be able debugging my code via jtag-interface.