AnsweredAssumed Answered

Fatal error: The selected device does not match the target device

Question asked by Orapinpatipat.Ch.001 on Jan 9, 2017
Latest reply on Jan 28, 2017 by Imen D

Hi community,

 

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

Device ID:0x410

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"

 

Thanks,

Chayut 

Outcomes