I am using STM32F103C8. with IAR ARM v7.80.3. When I tried to debug my project with STLINK (FW: V2J28S7), I got this error
[Mon Jan 09, 2017 13:50:25: Fatal error: The selected device does not match the target device Session aborted! ]
In IAR project setup, target device is set to "ST STM32F103C8" which is exact to the chip on the board. However what STLink detects (when using ST-LINK utility) and it shows :
"Device: STM32F 10xx Medium-density
Revision ID X
Flash size 64KB"
Is it possible that debug is aborted because the ST-LINK failed to detect exact model of the board? In old version of IAR, i could select generic "STM32F10xx", instead of specific model "ST STM32F103C8"