Hello,
I am trying to develop a pen-drive DFU mechanism. I have the app.bin in the root of the pen-drive and am trying to erase and write a different sector of flash with the app.bin data.
fsl_flashiap apis work well for me in a different project which does not have host_msd_fatfs_bm code.
However, even when the pen drive is disconnected, I experience Hard fault during the start of Flash Erase.
I use semi-hosting to print stuff.
I have not posted any code. just wanted to know if anyone has experienced this in the past. Any help would be highly appreciated.
Thanks,
Pawan
Hello Alice,
This problem is resolved. I was not disabling interrupts before performing flash write. That caused hard faults.
Thanks for approaching
BR
Pawan