Not applicable
Dec 16, 2013
04:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 16, 2013
04:19 AM
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
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
6 Replies
Not applicable
Dec 16, 2013
07:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 16, 2013
07:31 PM
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).
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).
Not applicable
Dec 18, 2013
04:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 18, 2013
04:10 AM
Thanks for guide
Not applicable
Dec 18, 2013
04:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 18, 2013
04:20 AM
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
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
Not applicable
Dec 18, 2013
06:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 18, 2013
06:51 AM
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.
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.
Not applicable
Aug 07, 2017
09:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 07, 2017
09:05 PM
tys wrote:
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
Aug 08, 2017
06:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 08, 2017
06:59 AM
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.
To my experience the BMI tool built-in the DAVE could only change the BMI from SWD to other options but not vice vera.