Search found 25 matches

by ESP_Sprite
Mon Jan 25, 2016 5:19 pm
Forum: ESP8266 HDK
Topic: ESP8266 programming and debug via J-Link ??
Replies: 6
Views: 3350

Re: ESP8266 programming and debug via J-Link ??

GPIO15 is pulled down because it is a bootstrap pin that changes the boot mode of the ESP.

What software are you using, and are you sure this software supports the Xtensa LX106 core in the ESP8266?
by ESP_Sprite
Thu Jan 21, 2016 5:26 pm
Forum: ESP8266 SDK
Topic: esp-gdbstub: cannot view local variables
Replies: 2
Views: 935

Re: esp-gdbstub: cannot view local variables

As far as I understand it, that is a bug in gdb; because of some optimizations gcc does, some variables may be in registers or not available at all, and gdb doesn't know about that. You can try recompiling your code with -Og instead of -Os or whatever -Ox setting you're using now.
by ESP_Sprite
Tue Jan 05, 2016 11:28 am
Forum: Documentation Request
Topic: HSPI CPOL
Replies: 2
Views: 2140

Re: HSPI CPOL

Seems the bit for that went undocumented in the SDK code. In the SPI_PIN register, can you try setting bit 29? This should do what you want. We will include a definition for it in the next SDK, for now you can use this one:
#define SPI_IDLE_EDGE (BIT(29))
by ESP_Sprite
Tue Dec 15, 2015 1:23 pm
Forum: General Q&A
Topic: How L108 CPU communicates with WIfi CPU in ESP-WROOM-02?
Replies: 6
Views: 8754

Re: How L108 CPU communicates with WIfi CPU in ESP-WROOM-02?

Erm.. the WROOM2 runs on an ESP8266, which only has one CPU (namely the Xtensa LX106).
by ESP_Sprite
Mon Nov 02, 2015 2:25 pm
Forum: ESP8266 SDK
Topic: esp-gdbstub: cannot step through code
Replies: 6
Views: 2383

Re: esp-gdbstub: cannot step through code

Ah, sorry, didn't spot this topic before... Yes, breakpointing flash is pretty much only possible with a hw breakpoint for now, and hw breakpoints aren't set by default because we only have one. Also, I just concluded that may also interfere with the 'next' command... hmm, I may want to change the l...
by ESP_Sprite
Thu Oct 15, 2015 4:26 pm
Forum: News
Topic: Introducing esp-gdbstub: debug your ESP8266 code over the serial port using GDB
Replies: 0
Views: 6312

Introducing esp-gdbstub: debug your ESP8266 code over the serial port using GDB

While programming for the ESP8266 is easy, with many available options provided both by Espressif and the awesome community of people centered around our chip, support for actually debugging applications has been somewhat lacking, limited mostly to inserting printf statements in critical places. In ...
by ESP_Sprite
Wed Sep 30, 2015 2:06 pm
Forum: ESP8266 HDK
Topic: PWM registers?
Replies: 4
Views: 2352

Re: PWM registers?

There's no PWM hardware as such, but the SDK has a pretty capable software PWM implementation. Check the pwm_* functions in the SDK, they probably do what you want.
by ESP_Sprite
Fri Jun 05, 2015 6:49 pm
Forum: Showcase
Topic: 【Feedback】I2S sound output and MP3 decoding in an ESP8266
Replies: 12
Views: 26795

【Feedback】I2S sound output and MP3 decoding in an ESP8266

As you all may know, the specsheet for the ESP8266 describes the chip as having an I2S port, which is a port to which you can connect an I2S DAC to get sound in and out of the chip. Unfortunately, up until now no documentation or examples about this port were available. We're working on these docume...
by ESP_Sprite
Fri Feb 13, 2015 5:34 pm
Forum: ESP8266 SDK
Topic: wdt reset in espconn_regist_recvcb callback
Replies: 3
Views: 1683

Re: wdt reset in espconn_regist_recvcb callback

Can I fix this using new API function: espconn_recv_hold() and espconn_recv_unhold() like this? (I am at work, can't test this until tonight) :( No, you can't: the watchdog will reset the IC if you spend too much time in a routine, regardless of what you do inside the routine. As I've mentioned on ...
by ESP_Sprite
Wed Jan 07, 2015 4:37 pm
Forum: ESP8266 SDK
Topic: RTC demo
Replies: 9
Views: 10878

Re: RTC demo

problem is if you are in deep_sleep mode(CH_PD on GND or folating). RTC is ticking, but your code is not running. So 32 bit RTC will overflow in 7.5h. If timer would be 64 bit, you have more than enough time (many, many years)to check for timer overflow. with 64bit RTC I don't see any need to have ...

Go to advanced search