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?
Arduino IDE Settings For Huzzah ESP8266?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 19
- Joined: Thu Jul 10, 2014 12:20 pm
Re: Arduino IDE Settings For Huzzah ESP8266?
I don't normally do this but... bump
- drizzt321
- Posts: 42
- Joined: Mon Aug 12, 2013 1:40 pm
Re: Arduino IDE Settings For Huzzah ESP8266?
Bump for this, just got the same item and the instructions to flash Arduino https://learn.adafruit.com/adafruit-fea ... rduino-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.
Here's the full Tools menu info, most of which isn't shown in that setup tutorial.
When I try to upload the Blink sketch, I get the following.
Code: Select all
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.
- drizzt321
- Posts: 42
- Joined: Mon Aug 12, 2013 1:40 pm
Re: Arduino IDE Settings For Huzzah ESP8266?
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.
- adafruit_support_carter
- Posts: 29170
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Arduino IDE Settings For Huzzah ESP8266?
@Drizzt321 Yep, you were having issues accessing the com port until rebooting:
@TheKracken You should just use the guide settings. If you are having issues getting things to work per the guide, please provide details.
Code: Select all
serial.serialutil.SerialException: could not open port 'COM4': PermissionError(13, 'Access is denied.', None, 5)
- drizzt321
- Posts: 42
- Joined: Mon Aug 12, 2013 1:40 pm
Re: Arduino IDE Settings For Huzzah ESP8266?
@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.
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.
- adafruit_support_carter
- Posts: 29170
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Arduino IDE Settings For Huzzah ESP8266?
@Drizzt321 It'd be better to start a new thread for the new line of questioning.
- drizzt321
- Posts: 42
- Joined: Mon Aug 12, 2013 1:40 pm
Re: Arduino IDE Settings For Huzzah ESP8266?
Done viewtopic.php?f=22&t=168813adafruit_support_carter wrote:@Drizzt321 It'd be better to start a new thread for the new line of questioning.
- alemshet
- Posts: 1
- Joined: Fri Oct 08, 2021 1:02 pm
Re: Arduino IDE Settings For Huzzah ESP8266?
dearsi was uploading code to nodemcu but i faced the following errors.
- Attachments
-
- pic.JPG (120.54 KiB) Viewed 1337 times
-
- pic.JPG (120.54 KiB) Viewed 1337 times
Please be positive and constructive with your questions and comments.