-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
bugSomething isn't workingSomething isn't workingstatus:needs-investigationIssue requires further investigationIssue requires further investigation
Description
Hey,
I have a binary
00000000: 01a0 ..
which is just a jump to 0x0.
When I try to write this binary with
espflash write-bin 0 img.imgnothing gets actually written. The output looks normal
[2024-04-07T17:54:34Z INFO ] Serial port: '/dev/ttyUSB0'
[2024-04-07T17:54:34Z INFO ] Connecting...
[2024-04-07T17:54:34Z INFO ] Using flash stub
Chip type: esp32c3 (revision v0.3)
Crystal frequency: 40 MHz
Flash size: 4MB
Features: WiFi, BLE
MAC address: 60:55:f9:c8:a7:6c
[00:00:00] [========================================] 1/1 0x10000
[2024-04-07T17:54:36Z INFO ] Binary successfully written to flash!
but when reading the memory back using
espflash read-flash 0 64 out.binit is just all 0xff.
When I try to flash the same binary with esptool.py
esptool.py write_flash 0 img.imgit works.
I can read back the memory with espflash and esptool.py and both show 01a0 at 0x0 in the flash.
Am I missing the point of the subcommand, or is this actually a bug. If the latter is the case, I'd be happy to do some debugging and testing for you.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstatus:needs-investigationIssue requires further investigationIssue requires further investigation
Type
Projects
Status
Done