cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32f412vet6 flash issue

togsin
Associate III

Hi 

 

I use stm32f412 vet6.

Flash size is 512kbye.

But stm utility program is 1mbyte size.

 

Why??

1752499675223.png

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

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".

View solution in original post

17 REPLIES 17
mƎALLEm
ST Employee

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.

Hi

 

I use stmprogramer. But same problem.

512kbyte size  is 0x80000.

But tool is 0x100000.

 

Why???

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.

I can not connect stm programer. I leave office.

But i tested utility same.

I don't understand.

512kbye is 0x8000000~0x807ffff.

But sector is 11.

Why??

I tested mx program on stm32f412vet6.(512kbyte)

Whe i  generated iar 7.

Icf is 0x8000000~0x80fffff.→ 1mbyte

Why

mƎALLEm
ST Employee

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 wrote:

I tested mx program on stm32f412vet6.(512kbyte)

Whe i  generated iar 7.

Icf is 0x8000000~0x80fffff.→ 1mbyte


IAR linker file is another story ...

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.

Sorry i don't understand.

 

So can i don't use 0x80e0000?

I use 0x80e0000.

1752501602081.png