I got failure while I was upgrading firmware over my own OTA sequence. In my sequence, I just down load my firmware and copy into flash address (USER2 space if device is running on USER1 space and against).
I could flash on USER2 space when device run on USER1 space. But I got flash erase failure (MCU hang and reset by itself) when I want to upgrade on USER1 space (device was running on USER2 space).
I appreciate any help to solve this issue.
BTW, In my flashing sequence, I just did writing *.bin into flash (0x1000 or 0x81000) and set upgrade flag to *FINISH*. My question is: do I need to set anything else (like firmware checksum, active firmware flag, so on...).
Regards,
Fitz