Skip to main content
Andreas Bolsch
Lead III
January 29, 2021
Solved

Flash page numbering in RM0444 and 0454 correct?

  • January 29, 2021
  • 2 replies
  • 1247 views

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.

This topic has been closed for replies.
Best answer by Imen.D

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.

0693W000007Dtz9QAC.jpgSo, 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

2 replies

Technical Moderator
January 29, 2021

Hello @Andreas Bolsch​ ,

Thanks for pointing out this error.

I am checking it internally and I will come back to you with update.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Imen.DBest answer
Technical Moderator
February 4, 2021

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.

0693W000007Dtz9QAC.jpgSo, 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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks