Skip to content
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

espflash detects wrong flash size #580

Closed
brookman opened this issue Feb 11, 2024 · 2 comments
Closed

espflash detects wrong flash size #580

brookman opened this issue Feb 11, 2024 · 2 comments

Comments

@brookman
Copy link

I have an esp-c3-32s-kit-v1.0 (version a) see PDF page 11 .

When flashing with espflash it prints this:

Chip type:         esp32c3 (revision v0.3)
Crystal frequency: 40MHz
Flash size:        2MB
Features:          WiFi, BLE
MAC address:       [redacted]
App/part. size:    1,071,792/2,031,616 bytes, 52.76%
[00:00:01] [========================================]      13/13      0x0                                                                                                    
[00:00:00] [========================================]       1/1       0x8000                                                                                                 
[00:01:03] [========================================]     608/608     0x10000                                                                                                
[2024-02-11T09:46:00Z INFO ] Flashing has completed!

It says 2MB, however the board is supposed to have 4MB.

I also have the issue that I can only flash and run it by this process:

  • unplug the USB cable
  • press and hold both buttons
  • plug in the USB
  • release the buttons
  • flash
  • unplug the USB cable
  • plug in the USB

This only started happening recently. Before I could flash it without this workaround. I suspect something went wrong with the flash size or layout at some point.

@MabezDev
Copy link
Member

The datasheet for the board also says there is a 2MB verison. Could you check what esptool.py detects?

@brookman
Copy link
Author

Dear @MabezDev, I checked again and it is indeed the 2MB version. 🫢
I'm terribly sorry!

@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants