cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 CPU Identification

ivanov-i
Associate II
Posted on May 27, 2008 at 06:57

STM32 CPU Identification

15 REPLIES 15
viktor3
Associate II
Posted on May 17, 2011 at 12:23

Dale

Check page 477/503 of RM0008 manual for ID code. This information can be read from location 0xE0042000 (DBGMCU_IDCODE)

sjo
Associate II
Posted on May 17, 2011 at 12:23

STOne-32,

I am updating openocd support for the newer high density parts 256/512k flash.

From the data i can see that the new parts have a DBGMCU_IDCODE:DEV_ID of 0x414 compared to the smaller parts having 0x410.

My question is related to the flash size register (0x1FFFF7E0).

Does this register give us the numbers of 1K or 2K sectors, as the high density parts now have 2k sectors.

Cheers

sjo

16-32micros
Associate III
Posted on May 17, 2011 at 12:23

Dear sjo 🙂

As our new products are not public yet :-), I can not say too much details on it (cross fingers for a while), At this address you will find the flash size in Kbytes and not related to the pages size it self, But be carefull, I assume taht you have an engineering sample at Anglia where this flash address is not yet programmed at our production lines.

Thanks for your anticipation to support it on openocd , keep in touch.

Cheers,

STOne-32.

16-32micros
Associate III
Posted on May 17, 2011 at 12:23

Dear spencer

Here you go ! Page 642 ( Section 25 : Device electronic signature) of our new RM0008 version 4 (May 2008).

http://www.st.com/stonline/products/literature/rm/13902.pdf

Cheers,

STOne-32

sjo
Associate II
Posted on May 17, 2011 at 12:23

Many Thanks

sjo

domen23
Associate II
Posted on May 17, 2011 at 12:23

Reading datasheets for an hour now, and I have no progress.

OK, so one can detect low/medium/high-density and connectivity. And flash size, and revision.

What about performance vs. access line (or just RAM size)?

Ie. there are 128kB flash chips, medium density with 20kB ram (performance) or 16kB ram (access).

Or should one use hacks for these? Tips?