stm32 flash size fix

Simon Kallweit simon.kallweit@intefo.ch
Fri Dec 19 14:56:00 GMT 2008


As stated in the stm32 errata sheet, the debug registers (MCU_ID) is not 
readable by user software and cannot be used to detect the flash size. 
It's all fine when running in debug mode (JTAG), but not as a standalone 
application. This patch hardcodes the flash and block sizes based on the 
configuration.

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stm32_flash_fix.patch
Type: text/x-diff
Size: 3172 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20081219/e4e9ead7/attachment.bin>


More information about the Ecos-patches mailing list