What is the purpose of pin PB4 in diagram v2_1c? #2168
-
|
Hi, In the .c and .h files of the native version, what is the purpose of pin PB4 ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
It's nTRST for the JTAG interface - it has to be held high for the processor's own debug interface to work, thus the design left the pin unused but pulled high. |
Beta Was this translation helpful? Give feedback.
-
|
Is it possible to disable JTAG in order to recover pin PB4 ? Maybe in platform.c, line 328: gpio_primary_remap(AFIO_MAPR_SWJ_CFG_FULL_SWJ, AFIO_MAPR_TIM1_REMAP_PARTIAL_REMAP); ? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.

It's nTRST for the JTAG interface - it has to be held high for the processor's own debug interface to work, thus the design left the pin unused but pulled high.