2016-08-16 05:40 AM
Hi.
Its been so long since my last project with STM32, and I have created a new C project with SW4STM32 for my stm32vl discovery board and when I try to run the debugger, I get the following error.
Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:3333
Error message from debugger back end:
localhost:3333: The system tried to join a drive to a directory on a joined drive.
localhost:3333: The system tried to join a drive to a directory on a joined drive.
I’ve noticed there isnt a default template for this kit so I created a new custom board when prompted by the wizard, so I’m wondering is this my problem, how do I start the debugger.
My other board is a nucleo, and when I create new projects I just use the default template wizard, fill in the details, and the debugger starts every time.
Martin.
2016-08-16 06:04 AM
The VL Discovery uses the original ST-LINK V1, this might impeded usage with software expecting newer models.
2016-08-16 03:37 PM
Thanks clive1, I've come across that before, and actually I have upgraded this board a while ago.
But you answer has prompted a question whether I selected the correct STLINK. The options are ST-LinkV2, ST-LinkV2-1, I think I selected ST-LinkV2.
Which one is the correct selection for the discovery board?
Aso I noticed there is a ''stm32vl_discovery.cfg'' file in my project root directory, I recall this is a debug config file, is that correct?
Martin
2016-08-17 03:54 AM
Hi b.m.002,
In , you have the following information:''The SW4STM32 does not support ST-LINK. Consequently, STM32VLDISCOVERY can not be used with SW4STM32 software toolchain''.-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2016-08-17 03:39 PM
Thanks Mayla. I thought I read most docs on this board, but just goes to show, read the fine print.