Skip to main content
john
Associate III
May 21, 2008
Question

JTAG and PA.13/14/15 in release build

  • May 21, 2008
  • 3 replies
  • 687 views
Posted on May 21, 2008 at 05:31

JTAG and PA.13/14/15 in release build

    This topic has been closed for replies.

    3 replies

    jgoril
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:35

    See GPIO example from Raisonance's RIDE7 (ARM kit needed)...

    john
    johnAuthor
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:35

    Hi,

    On our small product, we must use port A 13, 14 and 15 as GPIO, inputs

    with IPU, to read some switches (closed = pulled to ground).

    I'm having trouble with these ports/pins, and I suspect it may be the

    JTAG functionality interfering with these ports.

    Please can anyone tell me exactly what I need to do to turn off JTAG,

    or whatever I may need to do to get GPIO A.13-15 to work for me ?

    Note - this is for release builds only, I know that if I turn off JTAG,

    then I can't debug anymore.

    Our CPU is the 'stm32f101t6u6' (?), which only has ports A and B on it.

    Thanks,

    John.

    jilisegiar
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:35

    see ''um0427\STM32F10xFWLib\FWLib\examples\GPIO\Example2''.This example provides a short description of how to use the JTAG IOs as standard

    GPIOs and gives a configuration sequence.

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