CodeWarrior USB TAP TX/RX Always Flashing Red

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

CodeWarrior USB TAP TX/RX Always Flashing Red

Jump to solution
2,764 Views
joekozio
Contributor II

Hello -

 

I am new to CodeWarrior but have followed the instructions for using CodeWarrior to flash a new image to a P1025TWR system but my USB TAP is always flashing/blinking red for the TX/RX LED.

 

I am running CodeWarrior Dev Stuidio 10.1.1

- Windows 7 32-bit

- I have run the C:\Program Files\Freescale\CW PA v10.1.1\PA\ccs\drivers\usb\setup.bat to install the latest USB driver

- And I have tried many steps to properly communicate over the USB interface to the USB TAP.

 

Any thoughts or help is appreciated.

 

Thank you,

Joe

Labels (1)
0 Kudos
1 Solution
1,176 Views
joekozio
Contributor II

Thanks Tom.

I can't say that I understand why, but I got the USB Tap connection working

by doing the following:

Attach the USB Tap to the P1025TWR JTAG header

Attach the USB Tap to my PC's USB port

Launch the CodeWarrior IDE (Version 10.1.1)

Launch the CodeWarrior Connection Server (Start -> All Programs ->

Freescale CodeWarriror -> CW for PA 10.1.1)

In the Windows 7 task bar, find the CodeWarrior Connection Server icon,

right-mouse, then "Show console"

From the CodeWarrior Connection Server console, run "show cc run" - This

command does something to transition the USB Code Tap TX/RX Led from

flashing red to flashing green. And the ready state. I can now use the CW

IDE, select a Target Task, Change Run Configuration to

1025twr_Hardware_Debug_core0_P1025_P1025RDB_Debug_Download, and Select

EXECUTE. This fails, but I am getting help through a SR.

Being that I like to understand why the "show cc run" gets my USB Tap

ready, is there docs on the commandsand perhaps you can explain?

Thank you,

Joe

On Wed, Sep 12, 2012 at 6:00 AM, tom_thompson <admin@community.freescale.com

View solution in original post

0 Kudos
3 Replies
1,176 Views
tom_thompson
Contributor III

In CodeWarrior, go to the Debug Configuration window (Run > Debug Configurations).

Click on your project on the left, then on the Main tab at the right. Click on Edit adjacent to the Connection option. Check to see if USB has been chosen. Under the Advanced Tab, you can Enable logging, which should give you a communications trace when you try to connect. That might shed more light on what is going on.

---Tom

1,177 Views
joekozio
Contributor II

Thanks Tom.

I can't say that I understand why, but I got the USB Tap connection working

by doing the following:

Attach the USB Tap to the P1025TWR JTAG header

Attach the USB Tap to my PC's USB port

Launch the CodeWarrior IDE (Version 10.1.1)

Launch the CodeWarrior Connection Server (Start -> All Programs ->

Freescale CodeWarriror -> CW for PA 10.1.1)

In the Windows 7 task bar, find the CodeWarrior Connection Server icon,

right-mouse, then "Show console"

From the CodeWarrior Connection Server console, run "show cc run" - This

command does something to transition the USB Code Tap TX/RX Led from

flashing red to flashing green. And the ready state. I can now use the CW

IDE, select a Target Task, Change Run Configuration to

1025twr_Hardware_Debug_core0_P1025_P1025RDB_Debug_Download, and Select

EXECUTE. This fails, but I am getting help through a SR.

Being that I like to understand why the "show cc run" gets my USB Tap

ready, is there docs on the commandsand perhaps you can explain?

Thank you,

Joe

On Wed, Sep 12, 2012 at 6:00 AM, tom_thompson <admin@community.freescale.com

0 Kudos
1,176 Views
tom_thompson
Contributor III

I am not aware of such a document. I assume that connection server starts automatically when you try to debug with CodeWarrior? If so, it looks like that particular command is doing some sort of magic that the debugger initialization script for the P1025 lacks.

---Tom

0 Kudos