2018-04-17 05:11 AM
Hi
I have been using a Nucleo board (STM32L0 and STM32L4) and now want to design my own boards. I have been looking through the web and found information on pins to use. I want to make sure I use the correct ones before I design my board. I want to debug the code too.
I was thinking of connecting the ST-LINK V2 as follows:
STM32L4 ST-LINK V2
SWCLK -----> PA14
SWDIO ------>PA13
0V --------------->0v
3.3v-------------->3.3v
NRST ----------->RST (some have this, but others say not needed)
Would this be all that is needed to program and debug a chip?
Also, I assume by doing the above, PA14 and PA15 cant be used for anything else?
Many Thanks
Scott
Solved! Go to Solution.
2018-04-17 07:11 AM
Hi
I managed to get all the above working no problem. I simply connected as above and worked as expected
Scott
2018-04-17 05:15 AM
Hi
Sorry , I forgot to add to the original email:
Some posts say use the SWO to the processor, but my STLINK doesnt have this pin, what is this and is it needed to do the same job as the Nucleo on board STLINK?
Thanks
Scott
2018-04-17 07:11 AM
Hi
I managed to get all the above working no problem. I simply connected as above and worked as expected
Scott