USB Tap & Parallel JTAG configuration

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

USB Tap & Parallel JTAG configuration

4,795 Views
Aili
Contributor II
Hi,
 
I have both USB TAP and Prallel JTAG on my computer. Sometimes, I need to switch between USB TAP and Prallel JTAG depending on availability of the emulators. What kind of setting should I do to swith from Parallel TAP to USB TAP, or from USB TAP to Prallel TAP?
 
Now when I click debug, I always get the following message: CCSProtocolPlugin: CCS: USB open failure, although I am using Parallel JTAG by changing the following setting (Why does it still look for USB TAP?):
Edit -> M56800 Setting -> Debugger -> Remote Debugging, to Local parallel connection
Edit -> IDE Preferences -> Debugger -> Remote Connection, remove USB Tap Connection 
 
Thank you!
 
Liping
Labels (1)
Tags (1)
0 Kudos
6 Replies

814 Views
Aili
Contributor II
Well, I installed CodeWarrior 8.2 again, and found that the similar problem still exists.  Here is what I've done:
Step 1: Installed the CodeWarrior 8.2
Step 2: Used parallel JTAG to connect to MC56F8013 Demo board. It worked fine.
Step 3: Changed the setting to USBTAP to connect to the same board. It works fine.
Step 4: Changed the setting back to parallel JTAG to connect to the same board. And removed the USBTAP from PC. I got message: "CCS: USB open failure".  
Step 5: Connect USBTAP to PC, and keep the same setting and test USBTAP, it is still able to connect to the demo board.
 
I found I am not able to connect to parallel port anymore, unless I delete and install CodeWarrior again.
0 Kudos

814 Views
research_it
Contributor I

Hi,


I am using USB TAP provided by Freescale having the serial number and revision 900-75116 REV D.
My application hardware is using target as MC56F8013 and its GPIOA7 is configured as GPIO mode.
Now once i download the application SW in the application board, it will not allow to Flash Programmer and USB TAP to reset the chip.
Even the USB TAP is also not able to forcefully make it in the reset mode.
AS per the datasheet it is clearly mentioned that once GPIOA7 is configured as GPIO mode it will only accept the port status instead the reset signal.
So can you please let me know how can i make some arrangement for downloading the application software in to the target board in which GPIO configured application is already running.
I will use ONCE interface for the downloading. and connections between target board and JTAG is as per the below

Target Board                           JTAG

TDI                                            1

TDO                                         3

TCK                                          5

 TMS                                         10

RESET                                      9

GND                                        2,4,6

3.3V                                          11


Is the emulator or jtag is able to drive that RESET pin forcefully whenever "Program" command from flash programmer and debug command from Code warrior IDE is send.?

 

 

Regards

Dinesh

0 Kudos

814 Views
J2MEJediMaster
Specialist I
Try the following:

At step 4, be sure that you clicked Apply on the changes you made to switch back to the JTAG interface. Now follow these new steps:

Step 5: Quit CodeWarrior.
Step 6: Run the mouse pointer over the little icons at the bottom right of the screen in the tool bar. (NOT the application tray icons on the left.) Stop at the one where the tooltip states that it is 'CCSIM' or 'CCS Server' or 'CCS.exe', or something similar. Right-click this icon.
Step 7: In the pop-up menu that appears, choose Quit. The icon should disappear. You've just killed the software that manages the communications with the USB interface.
Step 8: Try restarting CodeWarrior and see if it recognizes the parallel interface now.

---Tom


Message Edited by J2MEJediMaster on 2008-11-25 09:17 AM

Message Edited by J2MEJediMaster on 2008-11-25 09:19 AM
0 Kudos

814 Views
Aili
Contributor II
Great! After close this littile icon (CodeWarrior Connection Server), and restart CodeWarrior, I am able to switch back to Parallel JTAG now. I did not notice that this CCS was still running even when I quit CodeWarrior.  Thanks a lot!
 
Liping
 
0 Kudos

814 Views
FTSolutions
Contributor III
I also could not get the USBTAP to work as long as there were parallel port (for Wiggler) interface connections configured/defined in that same window.  Fortunately it isn't tooooo much of a pain/inconvenience to simply delete the parallel/local ones for debug protocol and emulation and add in the USBTAP ones.    It *appears* to me that the CW software will always look first/default to the parallel port connections if they are in there at all, and just fault on not connecting with those, rather than checking the USBTAP connections as well.   This has been my experience.
0 Kudos

814 Views
J2MEJediMaster
Specialist I
I don't know why that is happening, other than perhaps you forgot to click Apply to ensure that the IDE knows you were serious about the interface changes. :smileyhappy: You might also have to quit the IDE after such a change, in order to get the appropriate drivers to disengage and engage.

---Tom
0 Kudos