2021-04-22 08:04 AM
Hi, I'm trying to design the STM32L4R5 IC on my PCB board and use the STLink V2 as the debugger.
Thanks.
2021-04-22 08:43 AM
You can implement any choices you want.
For a singular device on the board, and no boundary scan needs, you likely don't need JTAG
ARM also has a denser 10-pin connector that people have migrated too these days, but the 20-pin might be easier, depends on available board space, etc. Tag-Connect is also popular.
I would use SWDIO, SWCLK, SWO, NRST and GND. Having a VTarget supply for the buffers on the pod can be helpful. Access to a UART and BOOT0 might also be helpful.
Are custom cables, pin headers or test points a problem for you, I don't really know.
2021-04-27 02:29 AM
Hi @CYeow.1 ,
In order to answer the "How to connect debug port on STM32L4R5?" question, you can refer to the application note AN4555 Getting started with STM32L4 Series and STM32L4+ Series hardware development.
The answer can be found in the section Debug management.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.