CW v10.2 (Eclipse IDE): Debugging DSC56F8037 using USB TAP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CW v10.2 (Eclipse IDE): Debugging DSC56F8037 using USB TAP

1,336 Views
Miskha
Contributor II

Hi all, 

 

I've just installed CodeWarrior for Microcontrollers v10.2 which integrates the development tools for the DSC's.  I've created a simple project just to debug it using USB TAP.

Problem is that I can't connect to board and next error is displayed: 


"Launching MC56F8037_Project_1_MC56F8037_Internal_PFlash_SDM_Freescale USB TAP BDM has encountered a problem ... Failed to resume target process, CCSProtocoPlugin: Could not connect to the probe (or other debug link)"

 

In debug configuration I select the following:

Application: MC56F8037_Internal_PFlash_SDM/MC56F8037_Prueba_1.elf

Build configuration: MC56F8037_Internal_PFlash_SDM

Connection: MC56F8037_Prueba_1_MC56F8037_Internal_PFlash_SDM_Freescale USB TAP BDM

 

This last is the only connection USB TAP type I can select. But the USB TAP I'm using is: CodeWarrior USB TAP OnCE probe. Is this the matter? In freescale web page it is said that hosted target interface is CodeWarrior USB TAP, but it is not specified if BDM, OnCE, JTAG connector ...

 

Thank you


Labels (1)
Tags (1)
0 Kudos
3 Replies

562 Views
jive74
Contributor I

Which OS are you using? I have a similar problem. I am using Windows 7 64 bit.

I experienced some improvements using the "Windows 7 64bit" - compatible ccs of AN4338, but I am still unable to complete flash programming when the executable is a non trivial one (size around 28k).

I can debug a very simple processor expret project though, but only in single step mode.

 

My dsc is a 56f8025. The USB TAP is the same you are using and it works perfectly with classic CodeWarrior, so I suspect it's not a hardware problem.

 

If anyone has some ideas/news

0 Kudos

562 Views
Miskha
Contributor II

Hi, 

 

I solved my problem installing ccs drivers, which are in:

C:\Freescale\CW MCU v10.2\MCU\ccs\drivers\usb

I just followed readme file and it worked fine.

I did it in two different computers, one holding windows 7 64 bits, and other one with Windows XP.

 

Hope this helps!

0 Kudos

562 Views
J2MEJediMaster
Specialist I

Try the following:

 

1) Use the CodeWarrior New Project wizard to create a default project that targets your board.

2) Build and run the project.

3) See if you get a dialog stating that a new driver/firmware update for the probe is in progress and let it complete.

4) Ideally, you'll be able to work with your project now.

 

If that doesn't work, I'd suggest going to the P&E Micro website (pemicro.com) and download their 64-bit compatible drivers and install those.

 

Hope this helps,

 

---Tom

0 Kudos