tuya-cloudcutter / bk7231tools

This is a collection of tools to interact with and analyze artifacts for BK7231 MCUs
MIT License
38 stars 6 forks source link

Update read/erase/write retry policy #21

Closed tomaszduda23 closed 6 months ago

tomaszduda23 commented 8 months ago
  1. flash_read - throw an exception if maximum attempts reached
  2. flash_erase_block - retry if cannot erase block
  3. flash_write_4k - retry if cannot write. Set crc_check to True

Note: NAS-AB02W6 - fails to update firmware without this even with external power supply.