infineon4engi@twitter infineon4engineers infineon@linkedin infineon@youtube
twitter Facebook Linkedin Youtube

+ Reply to Thread
Results 1 to 7 of 7

Thread: XMC4500 Relax Kit - use external j-link

  1. #1
    New Member New Member Koumak is on a distinguished road
    Join Date
    Feb 2013
    Posts
    75
    Points
    45.80078125

    XMC4500 Relax Kit - using external j-link

    Hi all,
    can someone help me how to use external j-link....?

    I want use J-Link EDU from SEGGER: http://www.segger.com/j-link-edu.html to debug MCU in relax kit.

    I have connected "Cortex Debug" pins according to manual: Click image for larger version

Name:	JTAG connection.jpg
Views:	42
Size:	52.9 KB
ID:	104
    connection:
    nTRST: I did not use
    TDI: I used pin 8 at X5 (cortex debug - on relax kit board)
    TMS: I used pin 2 at X5 (cortex debug - on relax kit board)
    TCK: I used pin 4 at X5 (cortex debug - on relax kit board)
    RTCK: I did not use
    TDO: I used pin 6 at X5 (cortex debug - on relax kit board)
    nRST: I used pin 10 at X5 (cortex debug - on relax kit board)
    But I had problem with connection...

    I tried to use Dave3 ... in config debug a chose Target: Relax kit; connection: j-link over USB(JTAG)
    ... error log from dave3:
    Using Debug Target Configuration:
    Target: Infineon XMC4500 Relax kit
    Selected CPU type: ARMv7EM
    Register file: C:/DAVE-3.1.6/DAVE-3.1/Debugger/etc/sfr/CM4/DeviceSupport/Infineon/XMC4500_series/XMC4500.xml
    Communication: J-Link over USB (JTAG)
    Debug Instrument Module: dijlinkarm
    Using Flash Configuration:
    Monitor : fARMv7M.sre
    Workspace address : 0x20000000
    Number of devices : 1
    Device 0:
    Address : 0xC000000,0x8000000
    Vendor : Infineon
    Chip : XMC4XXX/1024K
    Width : 32
    Size : 1048576
    Number of chips : 1
    Unused address line : 0
    Configuration: Default
    Using Java Link Version 1.113
    Starting Debugger...
    TASKING VX-toolset for ARM: debugger, Build 188
    Copyright 2006-2013 Altium BV

    The debug instrument IO could not be initialized.
    The GDI debug instrument provided the following error message.
    An error occurred while connecting to the target. The exact cause is unknown, but possibly, the J-Link is not connected to the target properly.
    Does someone know what is wrong?

    Regards
    Last edited by Koumak; Apr 17th, 2013 at 01:41 AM.

  2. #2
    Jackson
    Guest
    Hi Koumak,

    Is the on-board debugger of the relax kit is still connected?

    Regards,
    Jackson

  3. #3
    New Member New Member Koumak is on a distinguished road
    Join Date
    Feb 2013
    Posts
    75
    Points
    45.80078125
    I already split relax kit into two boards - debugger and alone MCU => on-board debbuger is disconnected
    (as same as in video here:
    http://www.infineon.com/cms/en/produ...3a97f6e265721e)

    Note: I already tried SWD debugging - and it is OK ... So I dont know what is wrong with JTAG debbuging...

    Regards
    Last edited by Koumak; Apr 18th, 2013 at 05:52 AM.

  4. #4
    Jackson
    Guest
    Let me check for you and I ill get back to you as soon as possible.

  5. #5

    Infineon Employee
    Infineon Employee
    Expert
    Marillion is on a distinguished road
    Join Date
    Feb 2013
    Posts
    14
    Hi Koumak,

    the JTAG Interface of the XMC4000 must be enabled by pulling up the TRST# pin of the XMC4000 with a resistor. After a system reset P0.8 is working asTRST# with a
    weak pull-down active. So, tie pin 24 (P0.8=TRST#) of pin header X2 to pin 38 (VDD3.3)
    Does this help?

    Regards
    Marillion
    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.

  6. #6
    New Member New Member Amsantos will become famous soon enough
    Join Date
    Dec 2012
    Posts
    57
    Points
    133.828125
    Dave-3 is now supporting the segger jlink? Or only the EDU version.

    Ari.

  7. #7
    sophia
    Guest
    Hi Ari,

    You still can use segger J-Link h/w. However you can only get limited debug features since we are using Tasking debugger s/w.

    Best regards,
    Sophia

+ 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.