Skip to main content
nikhil23
Associate II
December 8, 2008
Question

reusing the jtag pins

  • December 8, 2008
  • 3 replies
  • 1023 views
Posted on December 08, 2008 at 09:10

reusing the jtag pins

    This topic has been closed for replies.

    3 replies

    16-32micros
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:55

    Hi,

    You can refer to ST FWLib :

    http://www.st.com/mcu/modules.php?name=mcu&file=familiesdocs&FAM=110#Firmware

    http://www.st.com/stonline/products/support/micro/files/um0427.zip then you can find an example under ''FWLib/examples/GPIO/JTAG_Remap/'' Folder

    Here attached the main.c

    Hope thsi helps you :)

    Cheers,

    ST1-32.

    nikhil23
    nikhil23Author
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 12:55

    Due to design limitation I have to use one of the jtag interface pin(JTCK) as input, but i cannot configure it as any other normal pin, not even as output. According to datasheet it is input pull down at reset, but how can i control it as any other GPIO pin? What should be procedure for make it behave as normal GPIO.

    I do not have to use debug and is using bootloader, so can spare jtag interface.

    I use following Configuration for JTCK pin PA14

    as input-> pull up/pulldown

    as output-> both pushpull and open drain.

    nikhil23
    nikhil23Author
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 12:55

    thanks,

    it works, that time i forget to remap/disable the Jtag :D