Hello,
Does BW16 have something similar to esp.eraseFlash()? I saw that there is a sys_reset() for another Ameba board, but not sure if similar exists for this.
I am aware this is a ‘dangerous’ delete, but it does not mater for my purpose.
Hello,
Does BW16 have something similar to esp.eraseFlash()? I saw that there is a sys_reset() for another Ameba board, but not sure if similar exists for this.
I am aware this is a ‘dangerous’ delete, but it does not mater for my purpose.
Hi @Heron , you may refer to this document and this document for reference about flash erase. Thank you.
Thank you, so
‘void update(bool erase = true);’
Will achieve what I am looking for?
Hi @Heron , you may give it a try and do your modification to see it works for your needs. The function flash_erase_sector((flash_t *)pFlash, base_address); was use in void update(bool erase = true).