cancel
Showing results for 
Search instead for 
Did you mean: 

Processor Identification

ccowdery9
Associate III
Posted on February 18, 2009 at 08:52

Processor Identification

1 REPLY 1
ccowdery9
Associate III
Posted on May 17, 2011 at 13:03

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.