This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

JTAG unlock LM3S811

Other Parts Discussed in Thread: LM3S811

Hi,

I'm using LM3S811 microprocessor. In this i used JTAG pins as GPIO's after that it is downloaded first time but next time onwards it showing error. Is it possible to unlock JTAG? and also tell me will that downloaded code work fine?  

please kindly give me the solutions as soon as possible.

  • Hi Radhika,

        Try, the LM Flash Programmer Debug Port Unlock Utility. See this post below for further details.

        JTAG Communication Failures

    -kel

  • hi,

    thanks for your feedback. But after locking JTAG downloaded code will work or not?

  • Hi Radhika,

         

    Radhika Anabathula said:
    But after locking JTAG downloaded code will work or not?

         Yes, If you just set your JTAG for GPIO use. There is a  gpio_jtag example program that demonstrates this. You, can also post your code here so others can review it for any problems.

    -kel

  • Markel Robregado said:
    Try, the LM Flash Programmer Debug Port Unlock Utility.

    Or not - poster's LM3S811 is first offering from LMI - and is, "Sandstorm" class - which appears not supported w/in LM Flash Programmer.  (Poster, "NOW you tell me!"  And yes - we feel your pain)

    Depending upon how/where in your program you, "repurposed those critical pins from JTAG default to GPIO - we may be able to save & restore.

    This reporter has long urged that, (Defense Program) "gpio-jtag.c," be far better "promoted."   It both anticipates and provides a preventative/safeguard - avoiding such misfortune...  (if only you had known...)  Warnings do appear w/in your MCU datasheet - cautioning re: JTAG - these are inadequately emphasized - imho.  (perhaps yours now, too...)

  • @cb1

         I have verified that the LM Flash Programmer does not have an option for "Sandstorm" class. I wonder why is that.

         I have read some posts regarding locking LM3S811 and it seems, that there is no guaranteed method to recover a locked LM3S811. See, post below. 

        is lm3s811 evaluation board bricked

    -kel

        

  • Markel Robregado said:
    I wonder why is that.

    Perhaps - such "unlock" was not fully known, nor properly implemented, when LM3S811 was designed/developed.  (and such seems beyond vendor's interest/radar now - in light of "progress" and NRND status of such Sandstorm parts)

    I have personally - and my  team have "recovered" multiple such locked LM3S Sandstorm devices.  Depending upon the where/how of the unwise, "re-purpose" code placement - this may be easy or difficult...  Several of my past posts - targeting this precise Sandstorm issue - were acknowledged by this vendor as proving correct/fruitful - thus the link you've provided may prove "circular" - returning to this reporter...