1

I am trying to use my Arduino Nano to program my Generic ESP-01 Module. I want to use the module to control an RGB LED Light Strip but am not having much success, only errors....

These are my connections:

Esp-01 -------------------------------------------------- Arduino Nano

TX <------------------------------------------------------> TX

RX <-----------------------------------------------------> RX

VCC <----------------------------------------------------> 3.3v

CH_PD <------------------------------------------------> 3.3v

GND <---------------------------------------------------> GND

My Connections

I have also grounded my reset pin on my Arduino and when programming I ground the GPIO0 on the ESP-01 to enter flash mode. Not too sure if this would cause a problem but just wanted to note that my Arduino Nano is a clone and runs on the CH340G USB drivers not FTDI. It successfully uploads the program with the Arduino IDE but not much after that. I have also tried uploading the Blink program and the CheckFlashConfig program but the same error on startup.

Here is the error:

ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v09f0c112
~ld

I also decoded the stack that I sometimes get with ESP Exception Decoder:

0x40104bcd: wdt_feed at ?? line ?
0x40104bca: wdt_feed at ?? line ?
0x402177a8: user_uart_wait_tx_fifo_empty at ?? line ?
0x40104bd3: wdt_feed at ?? line ?
0x40104bb4: wdt_feed at ?? line ?
0x40104bcd: wdt_feed at ?? line ?
0x40104bca: wdt_feed at ?? line ?
0x402177a8: user_uart_wait_tx_fifo_empty at ?? line ?
0x40104bd3: wdt_feed at ?? line ?
0x40104bb4: wdt_feed at ?? line ?
0x40104bcd: wdt_feed at ?? line ?
0x40104bca: wdt_feed at ?? line ?
0x402177a8: user_uart_wait_tx_fifo_empty at ?? line ?
0x40104bd3: wdt_feed at ?? line ?
0x40104bb4: wdt_feed at ?? line ?
0x40104bcd: wdt_feed at ?? line ?
0x40104bca: wdt_feed at ?? line ?
0x402177a8: user_uart_wait_tx_fifo_empty at ?? line ?
0x40104bd3: wdt_feed at ?? line ?
0x40104bb4: wdt_feed at ?? line ?
0x40104bcd: wdt_feed at ?? line ?
0x40104bca: wdt_feed at ?? line ?
0x402177a8: user_uart_wait_tx_fifo_empty at ?? line ?
0x40104bd3: wdt_feed at ?? line ?
0x40104bb4: wdt_feed at ?? line ?
0x40104bcd: wdt_feed at ?? line ?
0x40104bca: wdt_feed at ?? line ?
0x402177a8: user_uart_wait_tx_fifo_empty at ?? line ?
0x40104bd3: wdt_feed at ?? line ?
0x40104bb4: wdt_feed at ?? line ?
0x40104bcd: wdt_feed at ?? line ?
0x40104bca: wdt_feed at ?? line ?
0x402177a8: user_uart_wait_tx_fifo_empty at ?? line ?
0x40104bd3: wdt_feed at ?? line ?
0x40104bb4: wdt_feed at ?? line ?
0x40104bcd: wdt_feed at ?? line ?
0x40104bca: wdt_feed at ?? line ?
0x402177a8: user_uart_wait_tx_fifo_empty at ?? line ?
0x40104bd3: wdt_feed at ?? line ?
0x40104bb4: wdt_feed at ?? line ?
0x40104bcd: wdt_feed at ?? line ?
0x40104bca: wdt_feed at ?? line ?
0x402177a8: user_uart_wait_tx_fifo_empty at ?? line ?
0x40104bd3: wdt_feed at ?? line ?
0x40104bb4: wdt_feed at ?? line ?
0x40104bcd: wdt_feed at ?? line ?
0x40104bca: wdt_feed at ?? line ?
0x402177a8: user_uart_wait_tx_fifo_empty at ?? line ?
0x40104bd3: wdt_feed at ?? line ?
0x40104bb4: wdt_feed at ?? line ?
0x40104bcd: wdt_feed at ?? line ?
0x40104bca: wdt_feed at ?? line ?
0x4022bea0: cal_rf_ana_gain at ?? line ?
0x40228690: tx_cap_init at ?? line ?
0x4022d4cd: ram_rfcal_pwrctrl at ?? line ?
0x4022d37c: ram_rfcal_pwrctrl at ?? line ?
0x4022be18: cal_rf_ana_gain at ?? line ?
0x4022be3d: cal_rf_ana_gain at ?? line ?
0x4022be9c: cal_rf_ana_gain at ?? line ?
0x40228689: tx_cap_init at ?? line ?
0x40228690: tx_cap_init at ?? line ?
0x4022a600: chip_v6_initialize_bb at ?? line ?
0x40226237: phy_init at ?? line ?
0x40105eae: register_phy_ops at ?? line ?
0x4022b3b2: register_chipv6_phy at ?? line ?
0x4021a93e: wifi_station_set_default_hostname at ?? line ?
0x40201b39: __wrap_register_chipv6_phy at /Users/privitec/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/cores/esp8266/core_esp8266_phy.c line 261
0x4022f660: sleep_reset_analog_rtcreg_8266 at ?? line ?
0x4010564a: spi_flash_read at ?? line ?
0x402174c3: rijndaelKeySetupEnc at ?? line ?
0x40217b3c: user_uart_wait_tx_fifo_empty at ?? line ?
0x40217b17: user_uart_wait_tx_fifo_empty at ?? line ?
0x40104e90: wdt_feed at ?? line ?

Your help would be greatly appreciated.

Update: I have tried reinstalling AT firmware version 0.9.2.2 with esptool. Again it successfully detects the ESP-01 and programs it. I still get the same error (sometimes instead of getting boot mode:(3,6) I get boot mode:(3,7)) when powering up and I have tried to input AT into the Serial Monitor and I get no response.

  • 1
    you need to go rx-tx, tx-rx... – dandavis Jul 6 '17 at 4:06
  • Already tried... Still no luck. – Username Jul 6 '17 at 7:16
  • I believe it has a program mode and a run mode (it has on some other ESP versions). You could Google around on that a little – Paul Jul 9 '17 at 9:32
  • 4
    Possible duplicate of ESP8266 proper power circuit for avoid reset issue in that until the improper use of the Arduino's 50 mA rated 3.3v regulator to power the ESP's up to ~170 mA current requirement is corrected, it's not worth considering anything else. – Chris Stratton Jul 9 '17 at 11:31
  • 1
    I have tried to input AT into the Arduino IDE and I get no response. When you upload to the ESP8266 via the Arduino IDE the AT firmware is overwritten. "input AT into the Arduino IDE" is a very imprecise statement. Do you mean the Serial Monitor? Please make a better effort with your questions, otherwise they will be closed. – per1234 Jul 10 '17 at 12:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.