cancel
Showing results for 
Search instead for 
Did you mean: 

Typo RM0440

Tobe
Senior III

What is right? 7 or 8 bits?

no way.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

Hello @Tobe @Tesla DeLorean 

This typo has been solved on the RM0440 Rev8

Best Regards.

STTwo-32

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.

View solution in original post

4 REPLIES 4
STTwo-32
ST Employee

Hello @Tobe and thank you for reporting this.

I will check this internally and come back to you as soon as possible.

Best Regards.

STTwo-32 

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.

8-bits

...
  /* Proceed to erase the page */                                                                                                                                                                         
  MODIFY_REG(FLASH->CR, FLASH_CR_PNB, ((Page & 0xFFU) << FLASH_CR_PNB_Pos));                                                                                                                              
  SET_BIT(FLASH->CR, FLASH_CR_PER);                                                                                                                                                                       
  SET_BIT(FLASH->CR, FLASH_CR_STRT);                                                                                                                                                                    }
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
STTwo-32
ST Employee

Hello @Tobe 

In fact, the Flash memory (FLASH) for category 2 devices is a 128 Kbyte single bank memory with a page size of 2 Kbyte. That means we have 64 pages (page 0 to page 63). So, you need only 6 bits.

Internal ticket has been created to correct the typo in the next release. 

Internal ticket number: 169676(This is an internal tracking number and is not accessible or usable by customers). 

Sorry for my late feedback. 

Best Regards.

STTwo-32

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.

STTwo-32
ST Employee

Hello @Tobe @Tesla DeLorean 

This typo has been solved on the RM0440 Rev8

Best Regards.

STTwo-32

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.