infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 7 of 7

Thread: XMC1300 boot kit debugger problem

  1. #1
    Naresh
    Guest

    XMC1300 boot kit debugger problem

    Hi,
    Target : XMC1300 bootkit
    Problem : Not able to debugg the program on bootkit
    I have XMC1300 boot kit, and just changed XMC1302 ARM processor with a new XMC1302 ARM processor.
    When I debugg program, Dave not able to establish a connection with error is:
    The debug instrument IO could not be initialized.
    An error occured while connecting to the target. The exact cause is unknown, but possibly, the J-link is not connected to the target properly.
    I am able to debugg program with old XMC1302 ARM which one I have getting with bootkit but not able to program with new XMC1302 ARM on
    same boot kit. I have tried with two XMC1302 ARM but same problem exist.

    what could be problem?

    Regards,
    Naresh

  2. #2
    tys is on a distinguished road
    Join Date
    Mar 2013
    Posts
    37
    Points
    67.578125
    Hi, Naresh,
    The new XMC1302 device has a default BMI value of ASC_BSL. The XMC1302 device on the XMC1300 boot kit was programmed to an BMI value of SWD0 debug (P0.14 as SWDIO and P0.15 as SWDCLK). So, first you need to program the BMI value of the new XMC1302 device to SWD0 debug mode. You could do this by using DAVE3 BMI Get Set Utility to change the BMI value from ASC_BSL to SWD0 debug. In the main menu of the DAVE3, click the "BMI Get Set" icon as highlight in red circle. Then, the "BMI Get Set" dialog box will appear, Click the "Select" pull down bar, select -> User Mode (debug) SWD0. Then, click the "Set BMI" button. The BMI value of the new XMC1302 device should be change to SWD0 (debug).
    Click image for larger version

Name:	ChangeBMI.JPG
Views:	4
Size:	28.8 KB
ID:	465Click image for larger version

Name:	GetSetBMI_gui.JPG
Views:	20
Size:	39.9 KB
ID:	466

  3. #3
    Sam
    Guest
    Thanks for guide
    Last edited by Sam; Dec 18th, 2013 at 04:12 AM.

  4. #4
    Naresh
    Guest
    Thanks for your reply,
    I had tried that option but When I select BMI as either User Mode(Debug)SPD0(P0.14) or any other option I got following error:
    > Could not set BMI value. please check connection
    > Update drivers and try again
    I'm using with DAVE3.1.8 and Segger J-Link ARM 4.74.
    How to config BMI for a new chip? How to connect with Target board?
    Regards
    Naresh

  5. #5
    tys is on a distinguished road
    Join Date
    Mar 2013
    Posts
    37
    Points
    67.578125
    Hi, Naresh,
    First, connect SWD to P0.14 and SWDCLK to P0.15 of the new XMC1302 device. Do a power reset on the xmc1302 device. From the Get Set BMI, click the Get BMI button, it should be able to detect ASC_BSL. Next, you could click the Select Pull down bar to select the desired SWD0 (debug) mode. Please do NOT select Productive mode, that is a Flash protection mode. It mean that the Flash is protected and cannot be accessed by the debugger anymore. Please note SWD0 is different from SPD0. Then, you click the Set BMI button.

  6. #6
    New Member New Member Girinw is on a distinguished road
    Join Date
    Aug 2017
    Posts
    1
    Points
    20
    Quote Originally Posted by tys View Post
    Hi, Naresh,
    First, connect SWD to P0.14 and SWDCLK to P0.15 of the new XMC1302 device. Do a power reset on the xmc1302 device. From the Get Set BMI, click the Get BMI button, it should be able to detect ASC_BSL. Next, you could click the Select Pull down bar to select the desired SWD0 (debug) mode. Please do NOT select Productive mode, that is a Flash protection mode. It mean that the Flash is protected and cannot be accessed by the debugger anymore. Please note SWD0 is different from SPD0. Then, you click the Set BMI button.
    Hi Tys, I have same problems like Naresh too. Could you gave me the steps with picture to do reset XMC1302 device?

    Where is pin SWD and SWDCLK? I'm using XMC1300 Motor Controller Toolkit..

    Thanks
    Best regards,
    Girinw

  7. #7
    Advanced Advanced aurixuser is on a distinguished road
    Join Date
    Jan 2017
    Location
    China
    Posts
    167
    Points
    870
    Use memtool to change the BMI if it is a new device.

    To my experience the BMI tool built-in the DAVE could only change the BMI from SWD to other options but not vice vera.

+ Reply to Thread

Tags for this 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.