Search found 19 matches

by joostn
Sat Nov 14, 2015 5:21 am
Forum: Report Bugs
Topic: bizarre wave on GPIO0
Replies: 15
Views: 9185

Re: bizarre wave on GPIO0

Not sure why you're seeing the voltage go above 3.3 volt; probably parasitic capacitance and inductance is causing ringing close to the 27Mhz frequency. Not the end of the world but I do think it is a bug because GPIO0 is also used as input during boot. Unfortunately it's baked in the boot ROM so we...
by joostn
Wed Oct 21, 2015 3:31 pm
Forum: ESP8266 SDK
Topic: esp-gdbstub: cannot step through code
Replies: 6
Views: 3829

Re: esp-gdbstub: cannot step through code

I've deleted all breakpoints before issuing the 'n' command, but the problem persists (see below). It's strange, I've debugged ARM chips via JTAG with code running from flash, and there the 'b' command sets a hardware breakpoint. Here I have to issue the 'hb' command explicitly, otherwise it tries t...
by joostn
Sun Oct 18, 2015 12:09 am
Forum: ESP8266 SDK
Topic: esp-gdbstub: cannot step through code
Replies: 6
Views: 3829

Re: esp-gdbstub: cannot step through code

To answer my own question: yes, stepping works fine for code in RAM.
So does that mean it is not supposed to work for code in flash?

Anyway I can put relevant sections of code to RAM for debugging, so it's no big deal.
by joostn
Sat Oct 17, 2015 11:55 pm
Forum: ESP8266 SDK
Topic: esp-gdbstub: cannot step through code
Replies: 6
Views: 3829

esp-gdbstub: cannot step through code

Hi, Many thanks espressif (and sprite_tm?) for releasing esp-gdbstub! Not sure where to post questions regarding this so I'll just try here. I got it mostly working by following the instructions. I'm able to set the hardware breakpoint (code in flash) and I can inspect variables. Only thing which do...
by joostn
Mon Oct 12, 2015 3:34 am
Forum: ESP8266 SDK
Topic: Interrupts and sdk func
Replies: 8
Views: 4320

Re: Interrupts and sdk func

You can mostly get away with it. But the problem is if if an interrupt occurs while a flash write is in progress, and that interrupt will call code in flash, then the ESP will crash. The SDK code will write to flash the access point settings and (presumably?) RF calibration data. You can not be sure...
by joostn
Fri Oct 09, 2015 2:16 am
Forum: ESP8266 SDK
Topic: Interrupts and sdk func
Replies: 8
Views: 4320

Re: Interrupts and sdk func

system_os_post is safe to call from an interrupt. Otherwise it would have no purpose..
by joostn
Thu Oct 08, 2015 3:35 pm
Forum: ESP8266 SDK
Topic: Interrupts and sdk func
Replies: 8
Views: 4320

Re: Interrupts and sdk func

In your user_init, register a task queue and a task handler: system_os_task(..); In your interrupt handler, say it's an UART RX interrupt: store the received data in a buffer and signal the task queue by calling: system_os_post(..); system_os_post will cause the task handler you registered in system...
by joostn
Wed Sep 30, 2015 3:54 pm
Forum: ESP8266 SDK
Topic: are you improving forced light sleep?
Replies: 6
Views: 2857

Re: are you improving forced light sleep?

Yes! This would truly enable battery operated sensors, e.g. where a packet has to be sent every 5 minutes or so.
Or when latency must be lower than the current 5 seconds time to wake.
by joostn
Sat Aug 15, 2015 6:00 pm
Forum: ESP8266 SDK
Topic: Please open source the LWIP implementation for ESP8266
Replies: 11
Views: 7097

Re: Please open source the LWIP implementation for ESP8266

This was just what I needed, thanks Espressif!
by joostn
Wed Aug 12, 2015 5:40 pm
Forum: ESP8266 SDK
Topic: Please open source the LWIP implementation for ESP8266
Replies: 11
Views: 7097

Re: Please open source the LWIP implementation for ESP8266

+1 !

At the least it would be great if you would give developers the choice between espconn or using the native lwip interface.

Go to advanced search