2021-01-29 09:53 AM
Rev. 5 of those RMs introduced dual-bank devices. According to "3.3.1 FLASH memory organization" the page numbers in bank 2 start at 256, which seems to be very odd as the PNB field in FLASH_CR has 10 bits, so one would expect 1024 instead.
Solved! Go to Solution.
2021-02-04 01:30 AM
Hi @Andreas Bolsch ,
This is more than the device is having 256 pages which are sequential :
After performed a trial on G0B and in fact PNB is clamped at 0x7F.
So, if you wish to erase last page of the device (the 256th page), you must set PNB to 0x7F and BKER to ‘1’.
I highlighted this internally to update the reference manuals in the coming releases.
Imen
2021-01-29 10:13 AM
Hello @Andreas Bolsch ,
Thanks for pointing out this error.
I am checking it internally and I will come back to you with update.
Imen
2021-02-04 01:30 AM
Hi @Andreas Bolsch ,
This is more than the device is having 256 pages which are sequential :
After performed a trial on G0B and in fact PNB is clamped at 0x7F.
So, if you wish to erase last page of the device (the 256th page), you must set PNB to 0x7F and BKER to ‘1’.
I highlighted this internally to update the reference manuals in the coming releases.
Imen