Skip to main content
hjuns
Associate II
July 20, 2022
Question

STM32F411 JTAG setting bug

  • July 20, 2022
  • 4 replies
  • 2286 views

Hello,

I use CubeMx (6.6.1), STM32F411CCUx

​CubeMx causes a problem when 'PB4' pin and JTAG (4 pin) are used together.

0693W00000QLbb6QAD.png

If JTAG (4pin) is set in CubeMx, PB4 is not used.

If i set something in PB4, JTAG is released.

0693W00000QLbb0QAD.png In the datasheet, PB4 and debug have nothing to do with it.

​What should I do...

Thanks for reading.

This topic has been closed for replies.

4 replies

Uwe Bonnes
Chief
July 20, 2022

It is a long standing errata that JNTRST can not be used otherwise when JTAG is needed.

Semer CHERNI
ST Employee
July 20, 2022

Hello @hjuns​ 

First let me thank you for having reported :smiling_face_with_smiling_eyes:

Actually you're right, I've been able to reproduce the same misbehavior from my side when using the same configuration as you.

This problem is raised internally to be reviewed. I'll keep you posted with the updates.

Internal ticket number: 132092 (This is an internal tracking number and is not accessible or usable by customers).

Thanks for your contribution.

Semer.

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.
Semer CHERNI
ST Employee
November 29, 2022

Hello @hjuns​ 

The issue is fixed in the STM32CubeMx 6.7.0 release available on ST website.

Semer.

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.
Uwe Bonnes
Chief
November 29, 2022

But will the hardware issue get fixed sometimes?