[esp32c3] Issues with Flash Memory on esp32c3 Modules (ESPTOOL-789)
Posted: Fri Dec 22, 2023 8:17 pm
Hi,
I recently bought few new boards with esp32c3, and I'm facing with flash memory issues just with downloading the code that comes with the modules (flashing led):
1. the communication stops in case of `flash_read` , the whole command was:
2. with ` --no-stub` works, but only up to 1st half of the memory
in case of reading the whole memory it crashes exactly on the middle:
The same is observed also after a full erase and uploading few example projects. The "Hello world" works, but still with `--no-stub` and half memory.
I am concerned that these issues might be related to either hardware defects or the possibility of non-genuine chips. I would appreciate any guidance on how to diagnose and address these problems.
Furthermore, I am interested in verifying the authenticity of the chips. Is there a recommended method or tool provided by Espressif to confirm whether the modules/chips are genuine or potentially altered?
Additionally, is there a way to check if the advertised memory size matches the actual available memory? I want to ensure that the modules have not been misrepresented, intentionally or unintentionally.
I recently bought few new boards with esp32c3, and I'm facing with flash memory issues just with downloading the code that comes with the modules (flashing led):
1. the communication stops in case of `flash_read` , the whole command was:
Code: Select all
esptool.py read_flash 0 ALL file.bin
Code: Select all
esptool.py --no-stub read_flash 0 0x200000 flash_dump.bin
Code: Select all
esptool.py --no-stub --chip esp32c3 read_flash 0 ALL file.bin
esptool.py v4.7.dev3
Found 1 serial ports
Serial port /dev/ttyACM0
Connecting...
Chip is ESP32-C3 (QFN32) (revision v0.4)
Features: WiFi, BLE, Embedded Flash 4MB (XMC)
Crystal is 40MHz
MAC: 40:4c:ca:fa:de:80
Enabling default SPI flash mode...
Detected flash size: 4MB
2097152 (50 %)
A fatal error occurred: Failed to read flash block (result was 01090000: CRC or checksum was invalid)
I am concerned that these issues might be related to either hardware defects or the possibility of non-genuine chips. I would appreciate any guidance on how to diagnose and address these problems.
Furthermore, I am interested in verifying the authenticity of the chips. Is there a recommended method or tool provided by Espressif to confirm whether the modules/chips are genuine or potentially altered?
Additionally, is there a way to check if the advertised memory size matches the actual available memory? I want to ensure that the modules have not been misrepresented, intentionally or unintentionally.