2008-06-26 08:33 AM
Anyone recommend JTAG pull up/downs?
2011-05-17 03:38 AM
2011-05-17 03:38 AM
I use STM32 with ULINK2 in SWD mode with no resistor on the pins and all work fine
2011-05-17 03:38 AM
hi miles,
yes, that's a bug in all three STM32 olimex boards. I didn't bother to tell olimex, maybe someone should. I'd remove the pullup from the JTCK line. > So, are the JTAG pulls the same as GPIO pulls? very probably. the manual says that whenever the JTAG port is enabled the pulls are also. and it says that the reset forces GPIO pulls to an off state. however, if you read the GPIO regs after reset you'll find that the bits corresponding to the JTAG port pins are not in the state the manual says they should be. instead you'll find that pullups are enabled for all JTAG pins except JTCK, for which the pulldown is on. I believe the manual is wrong when it says that enabling JTAG forces the pulls on: they're probably totally independent and the pulls are there just because they're in that state out of reset. someone should program the JTCK pin as pullup without disabling JTAG. if the pin goes up, it means that JTAG and pulls are independent.