‎2019-01-15 03:24 PM
We are bringing up a new board and having troubles establishing SWD connection, I was reaching out seeking help with this.
This is our first use of the ST-Link outside of Nucleo-64 board development and I was thinking it may be best to start there:
When I hook the Nucleo-F091RC up to the external ST-Link/V2, I use the following wiring & apply 3.3V -
Config:
Board Wiring:
ICSP Wiring:
When I launch an existing project that works using the onboard ST-Link it now reports "a problem occurred", see attached. What is the issue here?
Hardware Setup:
Error Message:
Debugger Config:
Solved! Go to Solution.
‎2019-01-15 04:20 PM
St-link part(left Nucleo) rest of Nucleo (right Nucleo) signal
CN4 pin 2 CN7 pin 15 SWCLK
CN4 pin 3 CN7 pin 19 GND
CN4 pin 4 CN7 pin 13 SWDIO
CN4 pin 5 CN7 pin 14 NRST
JP1 left pin CN7 pin 12 +3V3_ST_LINK
Programming and testing programs run entirely properly in this combination. Of course, CPU power supply can be solved in another way. Here is powered from 3.3V St-link, because it is so easy for me. For this test, in the right Nucleo it is open jumper CN12 (because not powered St-link bother NRST line), but in your situation it does not matter.
‎2019-01-15 04:20 PM
St-link part(left Nucleo) rest of Nucleo (right Nucleo) signal
CN4 pin 2 CN7 pin 15 SWCLK
CN4 pin 3 CN7 pin 19 GND
CN4 pin 4 CN7 pin 13 SWDIO
CN4 pin 5 CN7 pin 14 NRST
JP1 left pin CN7 pin 12 +3V3_ST_LINK
Programming and testing programs run entirely properly in this combination. Of course, CPU power supply can be solved in another way. Here is powered from 3.3V St-link, because it is so easy for me. For this test, in the right Nucleo it is open jumper CN12 (because not powered St-link bother NRST line), but in your situation it does not matter.
‎2019-01-15 04:54 PM
Thanks Irana! I have two Nucleo-64’s and will try this in the morning, looking forward to testing this out :ok_hand:
‎2019-01-15 09:57 PM