2022-12-23 08:51 AM
2022-12-23 10:09 AM
SWD doesn't prevent it, it is just a subset, and the ST-LINK for example can use either depending on what you wire. The CM0 parts don't support JTAG
Expect to connect TDI, TDO, TMS, TCK, NRST, optionally NJRST. The ARM 10-pin interface should suffice.
2022-12-23 11:25 AM
Do not remap NJRST when full JTAG is required The errata "Full JTAG configuration without NJTRST pin cannot be used" has not been even for STM32U5.
2022-12-23 11:51 AM
Yes unless I misread it,the reference manual says to use boundary scan NJTRST must be held low. ST doesn't seem to like boundary scan
2022-12-23 11:59 AM
So you are confirming you must use the 5 wire JTAG interface mode not serial wire (SWD) to use boundary scan?
SWD only uses SWCLK(TCK) and TMS(SWDIO) and after the SWD sequence the chip disables boundary scan TAP. According to the documentation, stm32F401 reference manual section 23.5 "Important: Once Serial-Wire is selected using the dedicated Arm ® JTAG sequence, the
boundary scan TAP is automatically disabled (JTMS forced high)".