The legacy STM32F10x CPU support package has a better memory map file than its replacement.
My installed packages include:
- STM32 CPU Support Package, version 2.28 and
- STM32F10x CPU Support Package, version 1.11.
The STM32F10x package is marked "Legacy", and says it has been replaced by STM32 package 2.28. However, I've found that the memory map file with the older STM32F10x package seems to be better. The ST_STM32F103ZC_MemoryMap.xml file in the (older) STM32F10x package has names of the values for registers, for example the GPIO mode register values have names such as analog input, input with pull-up, output push-pull, output open drain, alternate function, etc. The STM32F103ZC_MemoryMap.xml file in the (newer) STM32 package has names of the registers, but shows only hexadecimal numbers for the values, which makes it very difficult to use without having a reference manual nearby.
Is that how it's supposed to be? Why would the newer package, which my package manager reports is up to date, have a memory map file that's not as good as the one from the older package? Is the STM32 package 2.28 really the latest version? I've been copying the old memory map file into my projects, but I'd like to know if something is wrong with my installation, and I shouldn't need to do that.
I'm using CrossWorks for ARM version 2.3.5 on a Windows 7 system.
Please sign in to leave a comment.