For use of CWTAP/USBTAP with CodeWarrior to connect target board, connection error is the type of issues that happened commonly.
How to deal with it? Attached are tips for some general things to check, here assuming target device is Power Architecture, and the tap is USBTAP or CWTAP/USB. For other targets it may be similar in some tips.
There might be variable reasons for the connection error, if the common tips in the attachment could not solve the problem, please enable CCS log and post on Freescale community or contact Freescale technical support for help. See attachment for steps to enable logging.
Also there are two useful documents in C:\Freescale\CW_PA_v10.4.0\PA\Help\PDF: CodeWarrior TAP User Guide.pdf and USB TAP User Guide.pdf.
Welcome any correction and supplement for the tips. Make CodeWarrior connection easier!