Hi Yarema. EraseSector() is the reason, that was my issue.I erased bank2 even the firmware boot up from bank2.(I thought it should be swapped). After changing line20 to " pEraseInit.Banks = FLASH_BANK_1;", it works well now.Thanks, I really appreciat...
Hi Yarema,Thanks for the prompt response. I changed related source same like you, and NBOOT=NBANK=0 was unchecked by ST-Link Utility. STM32CubeProgrammer was tried too, but same issue existed.Below are my current source, Same firmware was copied from...
Hi Yarema,I'm facing exactly same issue like you. With your example code, I can reproduce the issue just like my own application. The weird part is even I changed the source to always program to the Bank2 address, nothing improved. Bank 1 memory aft...