Skip to content

Cannot upload a firmware for ESP32-C3 with a flash memory 16MB #1656

@romankiss

Description

@romankiss

Tool

nanoff

Description

When I tried to flash a firmware for either the ESP32_C3_REV3 or XIAO_ESP32C3 target, the process has been ended with an error E4003:

PS C:\WINDOWS\system32> nanoff --target ESP32_C3_REV3 --serialport COM17 --update --masserase
.NET nanoFramework Firmware Flasher v2.5.126+716b21797a
Copyright (C) 2019 .NET Foundation and nanoFramework project contributors

Reading details from chip...OK                                                                                    
                        
Connected to:
ESP32-C3 (ESP32-C3 (QFN32) (revision v0.4))
Features WiFi, BLE
Flash size 16MB W25Q128_V from WINBOND_NEX (manufacturer 0x239 device 0x16408)
PSRAM: not available
Crystal 40MHz
MAC 24:EC:4A:E6:56:04

Extracting ESP32_C3_REV3-1.12.4.289.zip...OK

Updating to 1.12.4.289

Erasing flash...OK                                                                                                
            
Flashing firmware...
Error E4003: Failed to write new firmware to ESP32. (
...
esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: 'C:\\Users\\rkiss\
\.nanoFramework\\fw_cache\\ESP32_C3_REV3\\partitions_16mb.bin'
)

It looks like, the firmware package ESP32_C3_REV3-1.12.4.289.zip included only images for 2MB and 4MB, so there are missing the images for 8MB and 16MB.

How to reproduce

No response

Expected behaviour

No response

Screenshots

No response

Aditional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions