AnsweredAssumed Answered

Unable to debug STM32F100 discovery with STM32_SW4

Question asked by peregrinus on Sep 25, 2017

Hi,

    I am daily using STM32_SW4 to debug STM32F4 and STM32F4 boards. 

Now I am trying to do some debug on a STM32F100 discovery board but the debugger does not connect. The jumper on CN3 are set. I can connect to the board with the STlink utility v.24 and STLink v4.0. I can erase flash and I also upgraded the STLink firmware to the V1.J12.SO.

 

Why I can't debug the discovery using the ST32_SW4? The error I get is "Unpluggeg target or STLINK already in use" but both statemens are false.

 

This the error detail:

Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333

Error message from debugger back end:
localhost:3333: Il sistema ha tentato di unire un'unità con una directory su un'unità unita.
localhost:3333: Il sistema ha tentato di unire un'unità con una directory su un'unità unita.

 

When I connect with the STLINK utility I get

 

15:01:13 : ST-LINK SN : ST-Link/V1_on_F:
15:01:13 : ST-LINK Firmware version : V1J13S0
15:01:13 : Connected via SWD.
15:01:13 : Connection mode : Normal.
15:01:13 : Debug in Low Power mode enabled.
15:01:13 : Device ID:0x420
15:01:13 : Device flash Size : 128KBytes
15:01:13 : Device family :STM32F100xx Low/Medium density Value Line

 

 

Thank you in advance 

Outcomes