-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Debugging ESP8266 via WiFi?! #1663
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ah, found this: https://github.com/esp8266/Arduino/tree/master/libraries/GDBStub |
I have no idea what that library is about, but I thought ESP had a second On 22 February 2016 at 14:11, Alex [email protected] wrote:
|
See the comment at the bottom of #959, when/if it gets done. |
I read about it somewhere, but also no idea how to use it. Pinout does not tell me where to find 2nd UART... (https://esp8266hints.files.wordpress.com/2015/05/top_layout_esp-12e1.jpg) |
2nd UART is TX only, and it's GPIO2. How to configure? I don't know. |
So, from code ist accessible via "Serial1", like with Arduino Leonardo ?! |
Found the solution for 2nd serial: So, this is for having serial debug output. But the thing mentioned in the first post: THAT would be great. |
Yes Serial1 work but always at 74880bps. Now, I try it and work. |
Keep in mind that ESP8266 has a single CPU, and WiFi is mostly implemented in software. You can not technically "halt" the CPU at a breakpoint at an arbitrary place in the program and maintain WiFi connection at the same time, because halting the CPU prevents WiFi stack from running. |
I feared that... Hmm. Any hints/links regarding JTAG with ESP8266 (especiallay ESP12 module). I'm totally new to JTAG. In principle I know what it is, but I have absolutely no clue how to use or even how to start with JTAG+ESP8266. |
You could start by checking out this tutorial: http://visualgdb.com/tutorials/esp8266/ |
Hi there,
the Arduino Zeros comes with a dedicated debug port, which enables real debugging capabilities. Nice stuff.
The ESP8266 doesnt have this. Using serial port may conflict with other use cases/applications.
As I personally don't need all the time the WiFi feature:
Does anyone know of a additional library or so that enables kind of live debugging via WiFi?
The most simple solution would be: Sending debug-output not over serial, but over wifi ... But this needs maybe a lot of space for the debug-output strings...
Any ideas/comments?
The text was updated successfully, but these errors were encountered: