infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: TC277 JTAG locked

  1. #1
    Beginner Beginner abhinand is on a distinguished road
    Join Date
    Feb 2018
    Posts
    11
    Points
    102.5

    TC277 JTAG locked

    Hello All,

    I am facing problem with respect to JTAG while trying to connect using UDE debugger.
    Error says JTAG Interface is locked. This microcontroller is a new device which has not been programmed before.
    How do i unlock this JTAG?
    ?????? ?????? JTAG Locked.JPG‎  

  2. #2
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    MoD is on a distinguished road
    Join Date
    Feb 2012
    Location
    Munich
    Posts
    12
    Points
    238.75
    Hello,
    I expect that the device is in bootstrap loader mode.
    Which state has the ESR0?
    Which device step you use?
    Which board you use? Which Connections you have on P14.3, P10.5 and P10.6?
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  3. #3
    Beginner Beginner abhinand is on a distinguished road
    Join Date
    Feb 2018
    Posts
    11
    Points
    102.5
    Hello,

    I am using TC277 C Step. I am using an application board which is similar to HybridPACK™2 Enhanced SIL Logic Board v3.1.

    Connections:
    P14.3- 5V
    P10.5- 5V
    P10.6- 5V

    And ESR0 pin reads 5V.

  4. #4
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    MoD is on a distinguished road
    Join Date
    Feb 2012
    Location
    Munich
    Posts
    12
    Points
    238.75
    The device is not locked. The device is in any bootstrap loader. If possible then connect P14.3 to ground and check if you can access then the device.
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  5. #5
    Beginner Beginner abhinand is on a distinguished road
    Join Date
    Feb 2018
    Posts
    11
    Points
    102.5
    I tried by connecting P14.3 to ground. Still not able to access the device.

    My question is if the device is never programmed before is it possible to enter bootstrap loader mode?
    If it is in any of the bootstrap loader mode why i cant access the device via Internal flash by changing HWCFG pins?
    How do i get out of bootstrap loader mode?

  6. #6
    Beginner Beginner rapidengineering is on a distinguished road
    Join Date
    May 2017
    Posts
    6
    Points
    105
    Hi abhinand

    I have a similar problem to yours did yoy find a solution ?

    BR

  7. #7
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    MoD is on a distinguished road
    Join Date
    Feb 2012
    Location
    Munich
    Posts
    12
    Points
    238.75
    Hello,
    if there is no valid bootmode header found in the device the device will execute the generic bootstrap loader. If there is a debugger connected and the debugger set the HARR (Halt After Reset Request) fast enough then the device will go to start from internal flash and will stop execution on the startaddress. Now the device can access by debugger.
    The HWCFG pins are only evaluated when a valid bootmode header is found and the PINDIS bit in the valid BMI is not set.
    For your case it seems that there is no valid bootmode header found and the debugger can't set fast enough the HARR and the device execute the generic bootstraploader.
    If P14.0/P14.1 is usable as ASC (e.g. connected to an USB to RS232 device) then you can use Infineon Memtool to program the device via bootstrap loader. The Memtool you can find here:
    https://www.infineon.com/cms/en/prod...d=57043#!Tools
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

  8. #8
    Beginner Beginner abhinand is on a distinguished road
    Join Date
    Feb 2018
    Posts
    11
    Points
    102.5
    Quote Originally Posted by MoD View Post
    Hello,
    if there is no valid bootmode header found in the device the device will execute the generic bootstrap loader. If there is a debugger connected and the debugger set the HARR (Halt After Reset Request) fast enough then the device will go to start from internal flash and will stop execution on the startaddress. Now the device can access by debugger.
    The HWCFG pins are only evaluated when a valid bootmode header is found and the PINDIS bit in the valid BMI is not set.
    For your case it seems that there is no valid bootmode header found and the debugger can't set fast enough the HARR and the device execute the generic bootstraploader.
    If P14.0/P14.1 is usable as ASC (e.g. connected to an USB to RS232 device) then you can use Infineon Memtool to program the device via bootstrap loader. The Memtool you can find here:
    https://www.infineon.com/cms/en/prod...d=57043#!Tools

    Hi, Pins P14.0/P14.1 are left open in our design and we are having a device with BGA package.

    Is there any other way to program it? or the locked board is useless?

  9. #9
    Beginner Beginner abhinand is on a distinguished road
    Join Date
    Feb 2018
    Posts
    11
    Points
    102.5
    Quote Originally Posted by rapidengineering View Post
    Hi abhinand

    I have a similar problem to yours did yoy find a solution ?

    BR
    No i have not found any solution yet.

  10. #10
    Beginner Beginner
    Infineon Employee
    Infineon Employee
    MoD is on a distinguished road
    Join Date
    Feb 2012
    Location
    Munich
    Posts
    12
    Points
    238.75
    Which environment/tools you are using?
    miniWiggler via DAP or you use any UAD from PLS?
    How you call the tool?
    The views expressed here are my personal opinions, have not been reviewed or authorized by Infineon and do not necessarily represent the views of Infineon.

+ Reply to Thread
Disclaimer

All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.


Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.


Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.