Loading...
 
Skip to main content

System Workbench for STM32


Problem With OCD debugging Error in final launch:

I am having OCD error while i try to debug my firmware. I simply generated code with STM32CubeMx but dont know what is wrong with it. Yesterday I successfully debug a code not generated from cube.
The error looks like this



OCD Debugging 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.

Hi,

I had the same error. I tried nearly everything. In the end it turned out the easy solution is to press the reset button on the evaluation board at the moment you start debugging!
At least if you made sure before, that the connection with you cable works (for example updating drivers with the software from this site: http://www.st.com/web/en/catalog/tools/PF260217# )

I hope this is the solution for you as well!