Skip to main content
nb_pawar
Associate II
May 19, 2010
Question

Unable to use Jlink related port pins as GPIO

  • May 19, 2010
  • 2 replies
  • 654 views
Posted on May 19, 2010 at 09:59

Unable to use Jlink related port pins as GPIO

    This topic has been closed for replies.

    2 replies

    chikos332
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 13:51

    Hi,

    Have you already disabled the JTAG mapping ?

    RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE);

    GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable, ENABLE);

    or

    RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE);

    GPIO_PinRemapConfig(GPIO_Remap_SWJ_Disable, ENABLE);

    Note that:

     - In first case you will be able to use only Serial Wire JTAG mode

     - In the second case you will not be able to use JTAG at all (so think about re-enabling the JTAG at the end of your program to be able to use it again...)

    If you already did this, then, did you remove the JTAG pull ups resistors on your board?

    nb_pawar
    nb_pawarAuthor
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:51

    hi,

     thanks dear its working.