Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 5 months ago.
st link usb communication error
I am using the swd pins(cn6) of the nucleo f767zi . I am using the st link v2 dongle for programming the board ,I have download the drivers of the dongle from the link on the mbed platform . In device manager under the usb it is showing the st link but in the port section it is not showing that it is connected to com ports. In st link utility platform it is showing the that st link usb communication error and target not connected I also tried connecting the NRST pin from swd connector to gnd to remove it from its gpio function but the full chip errase is not taking place .
1 Answer
6 years, 5 months ago.
Not sure I understand what you are trying to do. Are you using an external ST-Link dongle/programmer instead of the nucleo onboard ST-Link programmer? In case you want to use an external programmer and connect it to CN6 make sure that the onboard ST-Link is disabled (remove the 2 jumpers next to CN6). Also note that the F767 com port to the host PC is not connected through CN6. External ST-Link dongles may not support that virtual com port over USB feature at all and if they do, you need separate wiring between the F767 and the dongle and you also need to disable the nucleo onboard ST-Link com port connection by changing some solderbridges.
It is not clear to me what you are trying to do. Please explain and/or show a schematic setup. External programmers should best be connected to CN11 (SWCLK CN11 pin 15, SWDIO CN11 pin 13 and NRST CN11 pin 14, also connect GND and probably 3V3 target voltage). You must have seen the manual for the F767 nucleo. That should give you details on the function and location of all solder joints and the pins on the headers. Figure 5 in the manual shows where SB111 is (bottom side of the ST-Link part, near the cut line area).
posted by 27 Jun 2018