Getting error Could not connect to the Remote CCS Server with CodeWarrior 10.5.1 for T4240rdb

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

Getting error Could not connect to the Remote CCS Server with CodeWarrior 10.5.1 for T4240rdb

1,368 Views
hemanthkv
Contributor I

When trying to recover flash image on NOR using CW 10.5.1Flash Programmer getting following error

On Ubuntu following dmesg confirms detection

[ 8588.500063] usb 2-5: new high-speed USB device number 9 using ehci-pci
[ 8588.638550] usb 2-5: New USB device found, idVendor=15a2, idProduct=50b3
[ 8588.638556] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8588.638559] usb 2-5: Product: CodeWarrior USB TAP    
[ 8588.638562] usb 2-5: Manufacturer: Freescale Semiconductor Inc
[ 8588.638565] usb 2-5: SerialNumber: 09461311

 

On CW observed following error

fl::target -lc "LC for Simple Flash"
fl::target -b 0x0 0x180000
fl::target -v off -l off
cmdwin::fl::device -d "S29GL01GP" -o "64Mx16x1" -a 0xe8000000 0xefffffff
cmdwin::fl::image -f "/home/hemanth/t4240/test/flash-image/QorIQ_SDK_V2.0_T4240RDB-64B_20160527_NOR_Flash.bin" -t "Auto Detect" -re on -r 0xe8000000 0xefffffff -oe on -o 0xef000000
cmdwin::fl::erase image
 Beginning Operation ...    
-------------------------
Auto-detection is successful.   
  File is of type Binary/Raw Format.   
 
Performing target initialization ...    
Error:  Connect Failed.
Could not connect to the Remote CCS Server
[CCS last error: Connection refused ](CCSProtocolPlugin)
Error: Connect Failed.

Labels (1)
0 Kudos
Reply
1 Reply

1,003 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Hemanth K V,

If you want to use CodeWarrior in Linux OS, you need to install CCS USB driver manually.

Please follow /usr/local/Freescale/CodeWarrior_PA_10.5.1/PA/ccs/drivers/usb/readme.cwtap.txt to create new udev rules and make them take effect. If you use old product USB TAP, please refer to readme.usbtap.txt.

In addition, about the TAP, CodeWarrior TAP is the new product which integrates both USB and Ethernet ports. USB TAP is the old product, which only integrates USB port. CodeWarrior configures the connection type as CodeWarrior TAP(USB connection), if you use the old product USB TAP, please change the connection type as "USB TAP".


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply