Open TheOnAndOnlyZenomat opened 5 months ago
Hmm, looks like a bug. It's ignoring your input address of 0x0
and proceeding with the default application address of 0x10000
.
I don't believe it's writing to the wrong location, if I have good data in the provided address, after using espflash write-bin
that data is replaced by 0xFF bytes as if it was erased.
The success of write-bin
is dependent on my payload. If I change the payload slightly, it might succeed. Change again, it might fail - but it is deterministic.
Hey, I have a binary
which is just a jump to
0x0
.When I try to write this binary with
nothing gets actually written. The output looks normal
but when reading the memory back using
it is just all
0xff
.When I try to flash the same binary with
esptool.py
it works. I can read back the memory with
espflash
andesptool.py
and both show01a0
at0x0
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.