cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F411 JTAG setting bug

hjuns
Associate III

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.

4 REPLIES 4
Uwe Bonnes
Principal III

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

Semer CHERNI
ST Employee

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

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
Principal III

But will the hardware issue get fixed sometimes?