2025-07-14 6:28 AM
Hi
I use stm32f412 vet6.
Flash size is 512kbye.
But stm utility program is 1mbyte size.
Why??
Solved! Go to Solution.
2025-07-14 10:43 AM
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.
2025-07-14 6:36 AM - edited 2025-07-14 6:36 AM
Hello,
Please consider using STM32CubeProgrammer instead of STLINK utility. The latter is no more active and it was deprecated.
2025-07-14 6:42 AM
Hi
I use stmprogramer. But same problem.
512kbyte size is 0x80000.
But tool is 0x100000.
Why???
2025-07-14 6:43 AM
Please share the screen shot of your Cube Programmer after connecting to the MCU
2025-07-14 6:48 AM
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??
2025-07-14 6:53 AM
I tested mx program on stm32f412vet6.(512kbyte)
Whe i generated iar 7.
Icf is 0x8000000~0x80fffff.→ 1mbyte
Why
2025-07-14 6:53 AM
I think because 512kB and 1MB devices have the same die.
512KB is physically 1MB but only the first 512KB is tested in factory.
2025-07-14 6:58 AM - edited 2025-07-14 6:59 AM
@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 ...
2025-07-14 6:59 AM
Sorry i don't understand.
So can i don't use 0x80e0000?
2025-07-14 7:00 AM
I use 0x80e0000.