AnsweredAssumed Answered

STM32F103 Internal Flash Bank2 Access

Question asked by wilson.stuart on May 31, 2013
Latest reply on Jul 4, 2013 by wilson.stuart
I am working on a project using an STM32F103 with 768K of internal Flash. I can successfully erase and program the first bank of internal Flash, but am having problems with bank2.

The problem seems to be that I am having problems accessing the address range of the bank. If I use the JTAG to program the second bank, then try to read it from my code it just reads as all F's.

I am unable to program bank 2. The process seems to complete successfully, but when I check via the JTAG the area has not been written.

If I program the bank via the JTAG I can erase the area from code, confirmed via the JTAG.

Given that I can't seem to read the bank, I was wondering if the problem was the step where I effectively write to the address.

Do I have to write to any registers to allow me to access the second bank? My code is running from bank1.

Thanks,

Stuart

Outcomes