cancel
Showing results for 
Search instead for 
Did you mean: 

Question about memory mapping stm32F407VE

Bogdan
Senior
Posted on May 24, 2015 at 16:52

Hello,

i have a question, since i dont have much experience working with flash...

The 32F407VE is 512kbytes flash size,   but when trying to read the content of the flash with ST LINK application, the flash range is only 0x117A8,   basicly the range i see is between 0x08000000 and 0x080117A8 , this is 71592 bytes.

These 512Kbytes from specs are in the range of 0800000 ? Or it includes other adress ranges too?

And another question, from let`s say a range of 0x08000000 to 0x0800001 is one byte or one kbyte (1024bytes) ?

thanks

6 REPLIES 6
Posted on May 24, 2015 at 18:18

Missing a zero there.

0x400 is 1024 (1KB)

The Flash is 0x08000000..0x0807FFFF (512KB) [0x80000]

The die on your part still has 1MB so 0x08000000..0x080FFFFF [0x100000], and only half has been tested.

It's a linear region, but is broken into non-uniform sectors, the first 128KB is split 16/16/16/16/64 KB but the rest are 128 KB

The parts with 2MB have two 1MB banks end-on-end providing a single 2MB linear region.

The same non-uniform sector sequence repeats at the 1MB boundary.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
lance
Associate II
Posted on May 25, 2015 at 20:28

Just curious:  Where can I find a memory map/chart which is specific to the 512KB STM32F407VE?   Datasheet seems to show only generic maps.   Of course it's logical that the STM32F407VE would occupy the first 512KB,  but a bit frustrating to not be able to easily find a map with specific information for this part.  

Thanks!

Posted on May 25, 2015 at 20:35

The die on the part has 1MB, you're 512 or 256 KB is a subset within that. The map is the same just truncated.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
lance
Associate II
Posted on May 25, 2015 at 21:31

Thanks,  but I'm wondering if there is anything in the datasheet or anywhere else that actually says that?   Just curious to know how one would obtain the map information without making an assumption (about the truncation) or having to post a forum question.  Seems like it ought to be explicitly stated in a document/spec from ST somewhere.

After having spent some time searching through ST's documentation,  I'm simply wondering what I might have missed,  or if ST truly does not provide explicit info about memory map in the reduced-memory versions.  

Thanks!

Posted on May 25, 2015 at 21:59

Good point.

Pity this is not the most urgent info missing from the RMs/datasheets...

JW

Posted on May 26, 2015 at 04:41

It would be far more important to go into immense detail if they where different. That there is a single stated map should be enlightening to the design and the function. The economics here are to make millions of devices all the same, and then spend a selective amount of time testing the features you're selling them with. It takes a lot of time to test the full flash array

0690X0000060Mn9QAE.gif

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