2008-05-26 09:57 PM
STM32 CPU Identification
2011-05-17 03:23 AM
Dale
Check page 477/503 of RM0008 manual for ID code. This information can be read from location 0xE0042000 (DBGMCU_IDCODE)2011-05-17 03:23 AM
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 sjo2011-05-17 03:23 AM
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.2011-05-17 03:23 AM
Dear spencer
Here you go ! Page 642 ( Section 25 : Device electronic signature) of our new RM0008 version 4 (May 2008).Cheers, STOne-322011-05-17 03:23 AM
Many Thanks
sjo2011-05-17 03:23 AM
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?