2020-01-13 01:49 AM
Hi, I am using STM32F103VG micro-controller. I am trying to program the memory in range 0x8014000 to 0x8090000. My code is able to program the memory till 0x807FFFF but after that it failed to write into memory i.e. problem happens after I start writing to bank2 once bank1 programming is finished.
I am using STM32 HAL library to write to memory.
If I directly write to bank2 memory area without first writing into bank1 memory area and then to bank2, it gets passed without any failure.
Solved! Go to Solution.
2020-01-13 03:58 AM
I found the mistake. I was erasing both bank together causing the issue. Once I erased the bank1, bank2 separately, problem is resolved.
Actually HAL library does not support bank1/bank2 to be erased together.
2020-01-13 03:58 AM
I found the mistake. I was erasing both bank together causing the issue. Once I erased the bank1, bank2 separately, problem is resolved.
Actually HAL library does not support bank1/bank2 to be erased together.