Skip to main content
togsin
Associate III
July 14, 2025
Solved

Stm32f412vet6 flash issue

  • July 14, 2025
  • 3 replies
  • 950 views

Hi 

 

I use stm32f412 vet6.

Flash size is 512kbye.

But stm utility program is 1mbyte size.

 

Why??

1752499675223.png

Best answer by TDK

Your question has already been answered.

 

The chip has 512 kB of FLASH memory that has been tested and verified.

 

Because it uses the same die as a chip with larger flash, it has additional memory beyond this. This additional memory has not been tested and is not guaranteed to work correctly, or exist on future versions of the chip, although there is a strong possibility that both of these are true. It is up to you if you want to accept the risk of using this additional memory in your projects.

3 replies

mƎALLEm
Technical Moderator
July 14, 2025

Hello,

Please consider using STM32CubeProgrammer instead of STLINK utility. The latter is no more active and it was deprecated.

"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."
togsin
togsinAuthor
Associate III
July 14, 2025

Hi

 

I use stmprogramer. But same problem.

512kbyte size  is 0x80000.

But tool is 0x100000.

 

Why???

mƎALLEm
Technical Moderator
July 14, 2025

Please share the screen shot of your Cube Programmer after connecting to the MCU

"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."
mƎALLEm
Technical Moderator
July 14, 2025

I think because 512kB and 1MB devices have the same die.

512KB is physically 1MB but only the first 512KB is tested in factory.

"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."
togsin
togsinAuthor
Associate III
July 14, 2025

Sorry i don't understand.

 

So can i don't use 0x80e0000?

togsin
togsinAuthor
Associate III
July 14, 2025

I use 0x80e0000.

1752501602081.png

TDK
TDKBest answer
Super User
July 14, 2025

Your question has already been answered.

 

The chip has 512 kB of FLASH memory that has been tested and verified.

 

Because it uses the same die as a chip with larger flash, it has additional memory beyond this. This additional memory has not been tested and is not guaranteed to work correctly, or exist on future versions of the chip, although there is a strong possibility that both of these are true. It is up to you if you want to accept the risk of using this additional memory in your projects.

"If you feel a post has answered your question, please click ""Accept as Solution""."