![]() Here you find an image of my Windows Device Manager. So far, none of this has worked for me unfortunately. I have tried updating the drivers multiple times, rebooting the board, reinstalling the ST-LINK Utility, switching the USB-Cable, resetting the board and reinstalling everything and I have also tried the trick where you hold down the reset button and try to erase the chip. Every time I try to connect to my board, I simply get the following error message: No ST-LINK detected I had been following along before this as well, and I had been able to connect to my board and flashing it with no problem.Īfter attempting to get OpenOCD to work though, this is no longer possible. Here recently, I followed a tutorial in the book Terminal sample application output (Mac/Linux), e.g.And it has been working fine for the most part. The correct USB device name can be determined by entering the command ls /dev/tty.usbmodem* in a shell. “Tera Term” sample application output (Windows): Mac Once you have found out the serial port number, open “Tera Term” and specifiy the port number and Baud rate via “Setup” > “Serial port…”: The correct USB modem COM port can be determined in the Windows “Control Panel” > “Device Manager” from the “Ports (COM & LPT)” entry: Two parameters are required to use the Virtual COM connection on the host: This serial communication is forwarded to the host by the ST-Link debugger via a USB Virtual COM connection and can be used with a terminal program. To allow serial print debugging, the target serial wires ( CN3, PA2+PA15) are connected to the ST-Link debugger. Connect target serial UART to host terminal ![]() If LD1 is lit red, no target connection could be established. LD1 quickly flashes for a few seconds and switches to green (connected). Completed setupĪfter all modifications have been done to the Nucleo board, according to the instructions above, the target board can be connected via the 8-pin adapter cable: Load firmware to targetĭrag and drop the “.bin” file containing the firmware to the Nucleo USB drive (“NODE_L476RG”): The ST-Link LD1 should light up, and the USB drive “NODE_L476RG” is mounted on the desktop. Connect the USB port to the ST-Link interface.When the ST-Link cable is connected to the target application, continue as follows: Another option is to break off the ST-Link part (see white dotted line in the Nucleo board figure above). Using the RX/TX/RST/SWO lines between a remote target and the Nucleo board ST-Link interface requires desoldering the 0 Ω bridges on the underside of the Nucleo board (see figure below). Preparation and connection of the adapter cableĪn 8-pin adapter cable acts as an ST-Link cable and is required to connect the Nucleo board to the target: Signalĭebug connector, VDD is not needed and may result in reverse current, therefore leave it open Open CN2 jumpers (2 x, this enables ST-Link for remote application debugging). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |