2009-02-17 11:52 PM
Processor Identification
2011-05-17 04:03 AM
I've got two boards with different variants of the STM32:
STM32F103RET6 STM32F103ZET6 The only difference is the number of pins, memory sizes are the same, both Flash & SRAM. I could do with a single object file which will run on both boards (as the main difference is the type of attached display - one is SPI as per EVAL board, the other is external framebuffer on FSMC.) Is there a way to find out what STM32 the code is running in? If not, are the die's the same?, so I can set up the FSMC on the 'RET6 (on which it isn't pinned out), try accesses on the bus, and if I can't read what I expect to, then assume the FSMC isn't connected and that it's an 'RET6? Or will using the FSMC on a device where it isn't pinned out cause me Hard Faults? Ta, Chris.