Flash program for 8349 with USB TAP

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

Flash program for 8349 with USB TAP

2,712 Views
ghecu
Contributor I
Environment
    Winddow XP   
    CW Power Architecture 8.7
Hardware
    MPC 8349
    USB TAP
Set up
    Init file in attachment
    Target mem   0x007FF000
    Size               0x00006000
    Flash 28F320J3   2Mx16x1 base @ 0xFFC00000
Try to do
    Calculate Checksum
    Memory Range on Target
             Start 0x00010000
             Size   0x10000
            FAILED
Try to do
    Erase Flash
    Range   0xFFD00000   0xFFD1FFFF
    FAILED

Status Error:  Initialization Failed. 
Flash Programmer Log
Using Algorithm: intel16x1j3.elf
 


======================================================================
=== Target Configuration Settings
=== Connection:       CodeWarrior USB TAP
=== Target Processor: 8349
=== Target Init File: C:\8349\flash_mpc8349_reva_linux_registers.cfg
======================================================================
Connecting...
Timestamp:  Fri Dec  7 16:22:51 2007

Protocol Log
CCS: 0000    :    ccs_open
CCS:        :        ipaddr = 127.0.0.1
CCS:        :        port = 41475
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 = 41475
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 = 0
CCS: 0000    :    ccs_set_max_tck
CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:0]
CCS:        :        khz = 4030
CCS:        :    ccs_set_max_tck; ccs_error = 0
CCS: 0000    :    ccs_send_message
CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:0]
CCS:        :        message = 3
CCS:        :    ccs_send_message; ccs_error = 0

Labels (1)
0 Kudos
1 Reply

295 Views
silvereye
Contributor II
Hi ghecu,

we used to face the same problem. This is how we solved it.
Just 'cancel' while programming, do program again, till 'Connecting TAP' pop window appears. Next time it would write.
If not, try restarting CW.

I dont know if it is the right way of solving it, but we found it working.


ghecu wrote:
Environment
    Winddow XP   
    CW Power Architecture 8.7
Hardware
    MPC 8349
    USB TAP
Set up
    Init file in attachment
    Target mem   0x007FF000
    Size               0x00006000
    Flash 28F320J3   2Mx16x1 base @ 0xFFC00000
Try to do
    Calculate Checksum
    Memory Range on Target
             Start 0x00010000
             Size   0x10000
            FAILED
Try to do
    Erase Flash
    Range   0xFFD00000   0xFFD1FFFF
    FAILED

Status Error:  Initialization Failed. 
Flash Programmer Log
Using Algorithm: intel16x1j3.elf
 


======================================================================
=== Target Configuration Settings
=== Connection:       CodeWarrior USB TAP
=== Target Processor: 8349
=== Target Init File: C:\8349\flash_mpc8349_reva_linux_registers.cfg
======================================================================
Connecting...
Timestamp:  Fri Dec  7 16:22:51 2007

Protocol Log
CCS: 0000    :    ccs_open
CCS:        :        ipaddr = 127.0.0.1
CCS:        :        port = 41475
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 = 41475
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 = 0
CCS: 0000    :    ccs_set_max_tck
CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:0]
CCS:        :        khz = 4030
CCS:        :    ccs_set_max_tck; ccs_error = 0
CCS: 0000    :    ccs_send_message
CCS:        :        coreh = [serverh:0;cc_index:0;chain_pos:0]
CCS:        :        message = 3
CCS:        :    ccs_send_message; ccs_error = 0




0 Kudos