Skip to content

I can't upload large program code #9385

@Zsolt56

Description

@Zsolt56

Board

Arduino Nano ESP32

Device Description

PLATFORM: Espressif 32 (6.5.0+sha.9b0c95d) > Arduino Nano ESP32

Hardware Configuration

HARDWARE: ESP32S3 240MHz, 320KB RAM, 16MB Flash

Version

v2.0.14

IDE Name

PlatformIO

Operating System

Windows 10

Flash frequency

240 MHz

PSRAM enabled

yes

Upload speed

115200

Description

I run into an upload problem: step by step developing my program, I reached a size limit where i cant upload the full code any more.
While there are a plenty of room for code:
RAM: [== ] 18.5% (used 60560 bytes from 327680 bytes)
Flash: [====== ] 55.3% (used 1088161 bytes from 1966080 bytes)
the upload process stops at 95%:
Download [======================= ] 92% 1007616 bytes
Download [======================= ] 95% 1040384 bytes failed!
DFU state(10) = dfuERROR, status(3) = Device is unable to write memory
**** [upload] Error 74*

I think here should be a barrier, because if I shring the code (omitting a part of it), the upload works fine and the code runs without any problem. I tried looking for issues around the partitions.csv, but I haven't found any solution yet

Sketch

not relevant

Debug Message

DFU state(10) = dfuERROR, status(3) = Device is unable to write memory
  **** [upload] Error 74*

Other Steps to Reproduce

I also tried to upload similar size code on Arduino IDE 2.3.2, with the similar results

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions