8349 USB TAP

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

8349 USB TAP

3,148 Views
ghecu
Contributor I
Hi,
I am stuck at connection stage for a mpc 8349e.
I am run eval copy of CodeWarrior and try to Program the Flash.
I connected to the target board via USB TAP.
My setting use
       - 8349MDS_rev1_FLASH.xml
       - 8349MDS_rev1_init.cfg  
       - INTEL Flash 28F320J3, 2X16M
       - Flash @ 0XFFC00000   end   0xFFFFFFFF
       - RAM @ 0X007FF000   range 0x00060000

When I tried Erase Button a box with 'connecting' message appears, then 'try 2' ...'try3'.
It would stayed for 5 to 10 second. Then 'Configure TAP' and  'JTAG' message flash very quick, and
Status box display Error: Connect Failed.

Show Log
: -------------------------

Using Algorithm: intel16x1j3.elf
 


======================================================================
=== Target Configuration Settings
=== Connection:       CodeWarrior Ethernet TAP
=== Target Processor: 8349
=== Target Init File: C:\Program Files\Freescale\CodeWarrior PA V8.7\PowerPC_EABI_Support\Initialization_Files\PQ2\8349MDS_rev1_init.cfg
======================================================================
Connecting...
Timestamp:  Fri Nov 30 16:57:38 2007

The TX/RX LED on the device Blink all the time, the RUN/PAUSE LED stay constant RED.
Any clue? Thanks,

ghecu
Labels (1)
0 Kudos
4 Replies

789 Views
ghecu
Contributor I
To both problem addressers

======================================================================
=== Target Configuration Settings
=== Connection:       CodeWarrior Ethernet TAP
=== Target Processor: 8349
=== Target Init File: C:\Program Files\Freescale\CodeWarrior PA V8.7\PowerPC_EABI_Support\Initialization_Files\PQ2\8349MDS_rev1_init.cfg
======================================================================

I just copy and paste example from the Log.

Again
I use XP as host with CW IDE 5.9.0.
This is well developed board so I don't think there would be any jumper at all.
I try to test the uboot image before mass production, and bricked the box.
I user USB TAP. Here are detail message with it try to connect.
*********************************************************************************************************
CCS: 0000    :    ccs_open
CCS:        :        ipaddr = 127.0.0.1
CCS:        :        port = 41476
CCS:        :        timeout = 60
CCS:        :        serverh = 0
CCS:        :    ccs_open; ccs_error = 10
CCS:        :        Error message:
Connection refused

CCS: 0000    :    ccs_open
CCS:        :        ipaddr = 127.0.0.1
CCS:        :        port = 41476
CCS:        :        timeout = 60
CCS:        :        serverh = 0
CCS:        :    ccs_open; ccs_error = 0
CCS: 0000    :    ccs_get_connection_count
CCS:        :        serverh = 0
CCS:        :        count = 1
CCS:        :    ccs_get_connection_count; ccs_error = 0
CCS: 0000    :    ccs_available_connections
CCS:        :        serverh = 0
CCS:        :        count = 1
CCS:        :    ccs_available_connections; ccs_error = 0
CCS: 0000    :    ccs_available_connections
CCS:        :        serverh = 0
CCS:        :        count = 1
CCS:        :    ccs_available_connections; ccs_error = 0
CCS: 0000    :    ccs_available_connections
CCS:        :        serverh = 0
CCS:        :        count = 1
CCS:        :    ccs_available_connections; ccs_error = 0
CCS: 0000    :    ccs_available_connections
CCS:        :        serverh = 0
CCS:        :        count = 1
CCS:        :    ccs_available_connections; ccs_error = 0
CCS: 0000    :    ccs_available_connections
CCS:        :        serverh = 0
CCS:        :        count = 1
CCS:        :    ccs_available_connections; ccs_error = 0
CCS: 0000    :    ccs_delete_cc
CCS:        :        serverh = 0
CCS:        :        count = 0
CCS:        :    ccs_delete_cc; ccs_error = 0
CCS: 0000    :    ccs_config_cc
CCS:        :        serverh = 0
CCS:        :        config_string = utap:0
CCS:        :    ccs_config_cc; ccs_error = 0
CCS: 0000    :    ccs_available_connections
CCS:        :        serverh = 0
CCS:        :        count = 1
CCS:        :    ccs_available_connections; ccs_error = 0
CCS: 0000    :    ccs_available_connections
CCS:        :        serverh = 0
CCS:        :        count = 1
CCS:        :    ccs_available_connections; ccs_error = 0
CCS: 0000    :    ccs_set_timeout
CCS:        :        serverh = 0
CCS:        :        timeout = 10
CCS:        :    ccs_set_timeout; ccs_error = 0
CCS: 0000    :    ccs_set_timeout
CCS:        :        serverh = 0
CCS:        :        timeout = 10
CCS:        :    ccs_set_timeout; ccs_error = 0
CCS: 0000    :    ccs_supported_connections
CCS:        :        serverh = 0
CCS:        :        count = 12
CCS:        :    ccs_supported_connections; ccs_error = 0
CCS: 0000    :    ccs_get_config_chain
CCS:        :        serverh = 0
CCS:        :        device_list: (size = 0)
CCS:        :    ccs_get_config_chain; ccs_error = 0
CCS: 0000    :    ccs_config_chain
CCS:        :        serverh = 0
CCS:        :        cc = 0
CCS:        :        device_list: (size = 1)
CCS:        :            device[0]:: core_type=55;    device_descr=[ir_length:0;dr_bypass_length:0;bypass_instruction:0]
CCS:        :    ccs_config_chain; ccs_error = 39
CCS:        :        Error message:


CCS: 0000    :    ccs_kill_server
CCS:        :        serverh = 0
CCS:        :    ccs_kill_server; ccs_error = 0
*********************************************************************************************************
regards,

g
0 Kudos

789 Views
J2MEJediMaster
Specialist I
If you're trying to communicate with the board through a USB TAP, it isn't going to happen. The log shows the debugger trying to communicate via an IP address and a port, which is Ethernet protocol. The debugger's trying to communicate with something on the Ethernet port. Unless you explicitly tell the debugger to use the USB interface, it will use whatever it was configured for last, which appears to be Ethernet. Plugging the USB TAP into the computer isn't enough: XP might recognize it, but the debugger won't until you tell it to.

---Tom
0 Kudos

789 Views
Voxan
Contributor III
Hi there,

1- please check on your board the Flash jumper is set to ON
2- what CW version are you using??
3- what host OS are you using ??

if switching ON the flash programmation on the board does not help, than please go to the Freescale web site and log a SR with the above informations.

http://www.freescale.com/webapp/sps/site/homepage.jsp?nodeId=05, click the link Request Help (online).

hope this helps...

Regards
0 Kudos

789 Views
J2MEJediMaster
Specialist I
The error message long seems to indicate that you have EthernetTAP chosen, rather than USB TAP. I'm going to hazard a guess and assume you're using CW for Power Architecture 8.7 or 8.8. Go to CodeWarrior's preferences panels and select the Remote Debugging Preference panel. Under the Connection item, see what the connection choice is. I'll bet it says CodeWarrior Ethernet TAP. Click on this item (it's a drop-down menu) and pick EPPC USB TAP. HTH.

---Tom
0 Kudos