Skip to main content
Associate
January 2, 2024
Solved

STM32F107RB vs STM32F107RC connectivity line flash size issue ?

  • January 2, 2024
  • 8 replies
  • 2637 views

Hi, ı have a  question about flash size difference between STM32F107RB nd STM32F107RC. Documentation says that stm32f107rb has 128kb flash memory and stm32f107rc has 256kb flash memory size.  DOCUMENT NUMBER:PM0075 says that STM23F107 are connectivity line mcu and it has 128 page with 2kb memory on page number 9 of document.  When ı calculate, it makes 256kb with 128 page with 2kb. 

I am using STM32F107RB  and ı tried to write to last page which is page 127 starts from 0x0803F800. I have succesfully write and read something from this address without any problem. But how can it be possible? Stm32f107rb has 128kb memory there should be maximum 64page with 2kb page size. There should be something, could you please help me about this issue ? 

If stm32f107rb has 128kb flash memory, how can it be possible to write and read from 128.page which is 2kb flash memory ? there should not be any page after 64.page for stm32f107rb ? 

This topic has been closed for replies.
Best answer by Peter BENSCH

No, this is not a bug, but an untested, non-guaranteed function, which has already been discussed several times here, e.g. there.

Regards
/Peter

8 replies

Tesla DeLorean
Guru
January 2, 2024

They share a common die but only half has been tested.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
TopkaraGAuthor
Associate
January 2, 2024

Thanks for reply, so we can say that it is a bug. Because ı should not write into that address.  Maybe it worked for this mcu but it will not work other f107rb ? can we say this ? 

Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
January 2, 2024

No, this is not a bug, but an untested, non-guaranteed function, which has already been discussed several times here, e.g. there.

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
TopkaraGAuthor
Associate
January 2, 2024

Dear PETER;
Thank you so much for your reply. I think the best solution will be using a page between 1-64 for stm32f107RB. As ı understand, using last page will not work for all chip since it is non-guaranteed and unsafe. 

Regards;
/Gürkan TOPKARA

Tesla DeLorean
Guru
January 2, 2024

There should be a FLASH size value burned into the device at final test as a 16-bit word.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..