It's Holiday Sale Weekend at Adafruit - use the code ADATY to get 15% off items storewide! Some restrictions apply.
0

Arduino IDE Settings For Huzzah ESP8266?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Arduino IDE Settings For Huzzah ESP8266?

by TheKracken on Tue Nov 19, 2019 10:59 am

I've got a few Huzzah ESP8266 and am looking to write some projects using the Arduino IDE.

I've just updated the IDE, boards, and libraries so I'm using Arduino IDE 1.8.10.

My questions are for the Huzzah ESP8266. I've selected the Feather Huzzah ESP8266 board.

1. Do all huzzah's come with specifically the ESP-12 module?
2. What is the correct flash size setting?
3. Correct IwIP variant? (Also, don't know what this is)
4. Correct VTables setting?
5. Correct Exceptions setting?
6. When would I change the erase flash setting from sketch only? There is an option for erase wifi settings but the wifi settings are included in the sketch, right?
TheKracken
 
Posts: 19
Joined: Thu Jul 10, 2014 12:20 pm

Re: Arduino IDE Settings For Huzzah ESP8266?

by TheKracken on Fri Nov 22, 2019 4:49 pm

I don't normally do this but... bump
TheKracken
 
Posts: 19
Joined: Thu Jul 10, 2014 12:20 pm

Re: Arduino IDE Settings For Huzzah ESP8266?

by drizzt321 on Tue Aug 25, 2020 12:36 am

Bump for this, just got the same item and the instructions to flash Arduino https://learn.adafruit.com/adafruit-feather-huzzah-esp8266/using-arduino-ide aren't working/complete. I've got Arduino IDE 1.8.12, installed the CP2104 drivers successfully and installed the board info into the Board Manager.

When I try to upload the Blink sketch, I get the following.


Code: Select all | TOGGLE FULL SIZE
Arduino: 1.8.12 (Windows 10), Board: "Adafruit Feather HUZZAH ESP8266, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Executable segment sizes:


IROM   : 228624          - code in flash         (default or ICACHE_FLASH_ATTR)


IRAM   : 26756   / 32768 - code in IRAM          (ICACHE_RAM_ATTR, ISRs...)


DATA   : 1248  )         - initialized variables (global, static) in RAM/HEAP


RODATA : 688   ) / 81920 - constants             (global, static) in RAM/HEAP


BSS    : 24880 )         - zeroed variables      (global, static) in RAM/HEAP


Sketch uses 257316 bytes (24%) of program storage space. Maximum is 1044464 bytes.
Global variables use 26816 bytes (32%) of dynamic memory, leaving 55104 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.8
Traceback (most recent call last):
Serial port COM4
  File "C:\Users\drizzt\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in <module>
    esptool.main(cmdline)
  File "C:/Users/drizzt/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2889, in main
    esp = chip_class(each_port, initial_baud, args.trace)
  File "C:/Users/drizzt/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 237, in __init__
    self._port = serial.serial_for_url(port)
  File "C:/Users/drizzt/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial\serial\__init__.py", line 88, in serial_for_url
    instance.open()
  File "C:/Users/drizzt/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial\serial\serialwin32.py", line 62, in open
    raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM4': PermissionError(13, 'Access is denied.', None, 5)
serial.serialutil.SerialException: could not open port 'COM4': PermissionError(13, 'Access is denied.', None, 5)

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


Here's the full Tools menu info, most of which isn't shown in that setup tutorial.

Image

drizzt321
 
Posts: 30
Joined: Mon Aug 12, 2013 1:40 pm

Re: Arduino IDE Settings For Huzzah ESP8266?

by drizzt321 on Wed Aug 26, 2020 1:04 pm

OK, in my case, the issue was I hadn't rebooted after installing the CP2104 drivers. I can now connect via Serial to the NodeMCU that it comes with, so I assume everything is now good.

drizzt321
 
Posts: 30
Joined: Mon Aug 12, 2013 1:40 pm

Re: Arduino IDE Settings For Huzzah ESP8266?

by adafruit_support_carter on Wed Aug 26, 2020 1:23 pm

@Drizzt321 Yep, you were having issues accessing the com port until rebooting:
Code: Select all | TOGGLE FULL SIZE
serial.serialutil.SerialException: could not open port 'COM4': PermissionError(13, 'Access is denied.', None, 5)


@TheKracken You should just use the guide settings. If you are having issues getting things to work per the guide, please provide details.

adafruit_support_carter
 
Posts: 21865
Joined: Tue Nov 29, 2016 2:45 pm

Re: Arduino IDE Settings For Huzzah ESP8266?

by drizzt321 on Wed Aug 26, 2020 1:27 pm

@adafruit_support_carter

What are all the settings in my screen shot? They are not contained in the guide, so not sure what values I should be using.

drizzt321
 
Posts: 30
Joined: Mon Aug 12, 2013 1:40 pm

Re: Arduino IDE Settings For Huzzah ESP8266?

by adafruit_support_carter on Wed Aug 26, 2020 1:31 pm

@Drizzt321 It'd be better to start a new thread for the new line of questioning.

adafruit_support_carter
 
Posts: 21865
Joined: Tue Nov 29, 2016 2:45 pm

Re: Arduino IDE Settings For Huzzah ESP8266?

by drizzt321 on Wed Aug 26, 2020 1:45 pm

adafruit_support_carter wrote:@Drizzt321 It'd be better to start a new thread for the new line of questioning.


Done https://forums.adafruit.com/viewtopic.php?f=22&t=168813

drizzt321
 
Posts: 30
Joined: Mon Aug 12, 2013 1:40 pm

Re: Arduino IDE Settings For Huzzah ESP8266?

by alemshet on Fri Oct 08, 2021 1:07 pm

dearsi was uploading code to nodemcu but i faced the following errors.
Attachments
pic.JPG
pic.JPG (120.54 KiB) Viewed 231 times
pic.JPG
pic.JPG (120.54 KiB) Viewed 231 times

alemshet
 
Posts: 1
Joined: Fri Oct 08, 2021 1:02 pm

Please be positive and constructive with your questions and comments.