I need to debug 2 targets at opposite ends of an rs232, each with its own app & each with its own debugger. Once I’ve got one up & running, when I try to start the debugger in the 2nd instance of Visual Studio, I get a load of guff from OpenOCD, which doesn’t happen if the first target’s debugger isn’t connected. Is there a switch somewhere in the VGDB properties that I’ve missed? I can’t seem to get the first target to run from flash either, although it will when there’s only one debugger & one instance of VS.
Sorry, but I can’t see how to update openOCD . Is this something that I can do from within VS? Also, I don’t know how to tell what version I’m using – it’s dated May 6th, 2016. I’ve poked about under the “Show help on configuring OpenOCD” link on the Debug Settings tab under Project Properties for example.
Found it – under Install Support for Additional debug methods (on the Debug Method Tab), it allows you to update any of the debuggers installed. Note that when you test the OpenOCD settings, it says e.g
Open On-Chip Debugger 0.9.0 (2016-05-03), but doesn’t actually give the revision (it must have been r8 here, because now the dates changed to 2016-05-10 & r9)
Don’t think this works properly yet – the Select a USB Device lists 2 identical debuggers – same Programmer type, Windows device name, Vendor ID, Device ID & Interface (ST-Likn v2.1, St Microelectronics ST.., 0483, 374B & 00 in my case). Although I can pick one, regardless of which one I pick, the OpenOCD test exits with code 1.
Please check the actual output of OpenOCD. It should contain information about the specific error. If you are not sure, please post the output here so that we could help you.