cancel
Showing results for 
Search instead for 
Did you mean: 

JTAG and UART connectivity

MDeva.1
Associate II

Hello,

We working on custom board. We using this controller STM32745IIkx. In JTAG we connect the

USART1 port, but there is pin mapping issue, 0693W00000JMKZzQAP.pngso I am unable to use USART1.So instead of UASART1 can I use USART2.I am sharing its schematic THE VCP_TX and VCP_RX can I use USART2.Please guided me.

1 ACCEPTED SOLUTION

Accepted Solutions

>>we have to use specific USART for debugging or Bootloading.

For debugging you could use any USART, thats up to your code.

For Bootloading (if you want to use ST's builtin factory bootloader) check out this app note , page 261.

It says which usarts the bootloader could use (usart1,2,3) and its mcu pins.

we dont need to firmware by ourselves, lets talk

View solution in original post

4 REPLIES 4
Uwe Bonnes
Principal III

Your question is not clear!

I am working on STM32H745iikx controller. I have to use USART for debugging purpose .In JTAG we connect the USART1 .But I cannot use USART1 because that pins alredy assign to another perpherlas, so I need touse USART2 instead of USART1 .So can I use the USART2 as debug port and I can connect it to JTAG or we have to there is rule that we have to use specific USART for debugging or Bootloading.

>>we have to use specific USART for debugging or Bootloading.

For debugging you could use any USART, thats up to your code.

For Bootloading (if you want to use ST's builtin factory bootloader) check out this app note , page 261.

It says which usarts the bootloader could use (usart1,2,3) and its mcu pins.

we dont need to firmware by ourselves, lets talk

Thank you so much for your guidance. Its helpful.