-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Not able to upload code to NODEMCU esp32 #7126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@PilnyTomas Do you have a mac to test? |
Can you please test PR #7129 |
@Prakul2006 can you please test with the PR? If it solved your issue, please close the issue. |
Running under Linux and found that the m5stick-c-plus.menu.EraseFlash entries were missing from the boards.txt file Added them and can now program my M5StickC-plus |
I had the identical error the boards file needs to be corrected My environment: `############################################################## wt32-eth01.name=WT32-ETH01 Ethernet Module wt32-eth01.bootloader.tool=esptool_py wt32-eth01.upload.tool=esptool_py wt32-eth01.upload.maximum_size=8388608 wt32-eth01.serial.disableDTR=true wt32-eth01.build.tarch=xtensa wt32-eth01.build.f_cpu=240000000L wt32-eth01.menu.PartitionScheme.default=Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS) wt32-eth01.menu.FlashMode.qio=QIO wt32-eth01.menu.FlashFreq.80=80MHz wt32-eth01.menu.UploadSpeed.921600=921600 wt32-eth01.menu.DebugLevel.none=None wt32-eth01.menu.EraseFlash.none=Disabled ##############################################################` |
Board
NodeMCU ESP32
Device Description
ESP-WROOM-32s NodeMCU by Ai Thinker
Hardware Configuration
No connection to any pins
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
macOS 11.6.5
Flash frequency
Any Frequency not working
PSRAM enabled
no
Upload speed
921600
Description
When i try to upload any sketch even blank ones the esptool throws the below error
`Arduino: 1.8.13 (Mac OS X), Board: "NodeMCU-32S, 80MHz, 921600, None"
Sketch uses 243529 bytes (18%) of program storage space. Maximum is 1310720 bytes.
[ ...]]Global variables use 16420 bytes (5%) of dynamic memory, leaving 311260 bytes for local variables. Maximum is 327680 bytes.
usage: esptool write_flash [-h] [--erase-all]
[--flash_freq {keep,80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}]
[--flash_mode {keep,qio,qout,dio,dout}]
[--flash_size FLASH_SIZE]
[--spi-connection SPI_CONNECTION] [--no-progress]
[--verify] [--encrypt]
[--encrypt-files
[--ignore-flash-encryption-efuse-setting]
[--compress | --no-compress]
[ ...]
esptool write_flash: error: argument : Address "{upload.erase_cmd}" must be a number
esptool write_flash: error: argument : Address "{upload.erase_cmd}" must be a number
`
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: