Skip to content
This repository was archived by the owner on Oct 19, 2025. It is now read-only.
This repository was archived by the owner on Oct 19, 2025. It is now read-only.

Error during flash - Exception: Flash error during erase in block at 0 | Err 2 - IC: MX25L3205A #4

@PoPiPo592

Description

@PoPiPo592

I tried flashing on both Linux Mint and Windows 10 machines without success, with different baud rates also, added the decoupling capacitor for good measure, IC seems to get recognized but throws me this error, bad IC or am I doing something wrong? I'll try to use a 3.3v voltage regulator instead of the 3.3V ESP8266 output, and see if anything changes

PS F:\ESP-SPI-Flasher-main\src\read_server> python spi_flasher.py -port COM20 -baud 115200 -file .\79AN6001.bin --erase --write
Initiating connection...

Flash info:
JEDEC ID: 0xC22017
Man ID: 0xC2
Memory ID: 0x20
Capacity: 8388608
Max Pages: 32768

Reading file...
Setting things up...
Erase preference set to TRUE
Write preference set to TRUE
File size set to 8388608 bytes

Sending erase command...
Waiting on response from chip...
Erasing chip...

Traceback (most recent call last):
File "F:\ESP-SPI-Flasher-main\src\read_server\spi_flasher.py", line 240, in
main()
~~~~^^
File "F:\ESP-SPI-Flasher-main\src\read_server\spi_flasher.py", line 233, in main
flash_status_code = do_flash(args.file, args.port, args.baud, args.erase, args.write)
File "F:\ESP-SPI-Flasher-main\src\read_server\spi_flasher.py", line 95, in do_flash
msg = handle_serial_message(esp_connection, mute_info=True, unknown_ok=True)
File "F:\ESP-SPI-Flasher-main\src\read_server\spi_flasher.py", line 173, in handle_serial_message
raise Exception(message_data.replace('ERROR: ', ''))
Exception: Flash error during erase in block at 0 | Err 2

If more logs are needed, I'll be happy to provide them

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions