CodeWarrior USB TAP connect failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CodeWarrior USB TAP connect failed

4,098 次查看
emilycheng
Contributor II

SW tool: 56800E Flash Programmer ;

Debugger: CodeWarrior USB TAP;

operation : download bootloader.elf file;

error message as  below:

 

169978_169978.pngpastedImage_1.png

 

 

please help .

标签 (1)
0 项奖励
回复
14 回复数

2,680 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Can you check the 14 pins JTAG connector and JTAG signal assignment? The red line of the 14 pins flat cable is pin1. BTW, the MC56F8335 does not have internal crystal, you have to connect external clock source or crystal.

BR

Xiangjun Rong

0 项奖励
回复

2,680 次查看
emilycheng
Contributor II

Hi xiangjun,

The MC56F8335 works well since there already is firmware in it , and the performance is ok,

the pin assignment is also ok, since the connector will not allow to insert if pin not match.

0 项奖励
回复

2,680 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Emily,

Pls try to set the USBTAP in CCS, pls run the instruction:

delete all

update utap xxxxxxx

The xxxxxx is the unmber index on the back of USBTAP device, for example, my USBTAP number is 07350003

Hope it can fix your issue.

BR

Xiangjun Rong

0 项奖励
回复

2,680 次查看
emilycheng
Contributor II

hi xiangjun:

    I have tried this as below:

pastedImage_2.png

     after these, the tx/rx led is always red and the run/pause led turn off after flashing yellow/red.

using the programer tool to download , the error still exist.

0 项奖励
回复

2,680 次查看
bdang
Contributor II

Emily,

This question had been asked before: what Windows version on your pc? The classic USB TAP doesn't work with Windows 7 and you need to update the CCS folder (under the IDE tool installation) as the Tech had suggested in previous post.

Brian

0 项奖励
回复

2,680 次查看
emilycheng
Contributor II

Hi brian:

    I have tried to update the CCS folder on Win7(which  have been described  in above chat history with Xiangjun) ,

and also try to use this tool on WinXP, both failed.

 i apply it on another board with same DSP and it shows same error message

and the Run/Pause LED on the probe is always red.

i suspect there is something wrong with the physical probe: Once USB tap

but i donn't know how to verify it.could you help me.

thanks.

0 项奖励
回复

2,680 次查看
bdang
Contributor II

Hi Emily,

It seems the USB driver was loaded OK. Let's try with the 56800E Flash Programmer software to load an S-record file to the target -- this is simpler than run a debug within the IDE.

1. connect the usb tap to the target board and to pc

2. power up the target

3. run 56800E Flash Programmer and choose a working s-record file, then click program to load the target. Below is how the TAP led lights showing:

  • USB cable connected: TX/RX flashing green light about 1HZ
  • Applied power to the board: the TX/RX flashing as above
  • After clicking the Program, the TX/RX light flashing rapidly between green/yellow, and the Run/Pause to red.
  • Finished loading and processor runs: run/pause turns green and tx/rx flashing 1hz

If this works then the hardware is OK, and next step is to find out why IDE debug not working with TAP.

Brian

0 项奖励
回复

2,680 次查看
emilycheng
Contributor II

hi brian:

    1. connect the usb tap to the target board and to pc:

         the TXRX led blink in red;

     2.Applied power to the board:

        the TXRX led blink in red;

     3. After clicking the Program, 

         the TXRX led blink in yellow or green and the run/pause is red.and at the same time

report error message as below:

pastedImage_2.png

0 项奖励
回复

2,680 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

After you connect the USBtap, can the PC recongnize the USBTAP?

This is the screenshot on my PC after I connect the USBTAP device?

If you can not, the USBTAP may break down or the USBTAP driver has issue. In the case, pls try to install the USB driver ans see the ccs_drivers_installation_help.txt located at:

C:\Program Files (x86)\Freescale\CodeWarrior for DSC56800E v8.3\ccs\drivers

BR

XiangJun Rong

pastedImage_1.png

0 项奖励
回复

2,680 次查看
emilycheng
Contributor II

Hi xiangjun:

    YES, please refer to the screen snap which i have send to you in above history:

pastedImage_1.png

0 项奖励
回复

2,680 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Emily,

Regarding your question, firstly, do you use Win7 OS, if you use it, you have to download an4338SW, and unzip it.

Then replace the CCS directory of the Flash programmer tools with the unzipped CCS directory of an4338SW.

If you do not use Win7, it is another story.

Firstly, do you use EVM board or your own target board, if you use EVM board, because there is on-board parallel port, there is a jumper called "CC DIS", you have to close the jumper.

Secondly, you should download xxx.elf.s which is generated by CW for DSP56800E tools based on your application, this is the S recorder file.

Thirdly, pls use correct configuration file which is loacted at:C:\Program Files (x86)\Freescale\CodeWarrior for DSC56800E v8.3\M56800E Support\initialization

Hope it can help you

BR

Xiangjun Rong

0 项奖励
回复

2,680 次查看
emilycheng
Contributor II

Hi Xiangjun:

    Thanks for your support, i have do as you said as below:

the DSP we use is MC56F8335vfge,not sure if it's right to choose 568345_flash.cfg .

pastedImage_1.png

and the error message is still exist as below:

pastedImage_2.png

error log as below:

pastedImage_3.png

could you help , thanks.

0 项奖励
回复

2,680 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Can you use CW for DSP56800E to download code and debug? If you can not, I suppose your target board has issue, pls check power/gnd pins, crystal, JTAG signals.

BR

Xiangjun Rong

0 项奖励
回复

2,680 次查看
emilycheng
Contributor II

Hi ,

    I have tried to use codewarrior to debug and failed , error message as below:

pastedImage_1.png

I have checked the hw connection of each pin of JTAG between USB tap and the  DSP . it's OK,

the power and gnd is ok too,

could you  teach me how to  check  USB tap function and JTAG signal,

thanks.

0 项奖励
回复