cancel
Showing results for 
Search instead for 
Did you mean: 

ST-LINK is broken by VCP via USB activity

oyakovlev
Associate II
Posted on January 23, 2014 at 14:00

Hi All,

I've ported the VCP to F3DISCOVERY ([DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/STM32F3DISCOVERY%20USB%20CDC%20%28Virtual%20COM%20port%29%20Example&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/AllItems.aspx&currentviews=1013]taken from here) board but the one problem has been raised - application has broken SWD. As fact reprogramming (from Keil) and debug is impossible. I'm getting error ''Cannot access target. Shutdown debug session'' when I'm trying start the application in debug mode. And I'm getting ''Internal communication error'' for any other attempts. After it any other deals with board via ST-LINK are impossible due to following error: Target DLL has been cancelled. Debugger aborted! The ST-STUDIO doesn't work also.

But the application is working properly and board can be reprogrammed directly via ST-LINK utility.

How I can fix it? I have suspicion that application is using the wrong USB but I don't know how it can be checked. I've went the extra mile and can't sort out with these. :(

I'm so sorry for new topic, but it may be common problem.

Thanks in advance

#st-link-swd-vcp
2 REPLIES 2
Posted on January 23, 2014 at 15:52

zip and attach a complete project, I'll review when I find some time.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
oyakovlev
Associate II
Posted on January 23, 2014 at 17:04

Hi Clive,

Thanks a lot for your kind assistance! Please download full source tree from

https://github.com/OlegUA/Osciloscope.git

Thanks in advance,

Oleg