Mystery micro Monday

The microcontroller pictured above is a curiosity. It is labelled STM32F0C8T6 and it is in an LQFP-32 package. According to ST’s datasheet, the STM32F0C8 is an LQFP-48 device so this chip should not exist. Suspecting a forgery I soldered it to a breakout board and investigated using openocd. It turns out that this is a mis-labelled STM32F0K6T6 with 4kB of RAM and 32kB of flash. Other than the faulty label it appears to be fine. Counterfit or factory reject? Who knows?