AnsweredAssumed Answered

USBDM for CodeWarrior 5.2 S12(X)

Question asked by Rodney McGee on Jan 21, 2016
Latest reply on Feb 4, 2016 by pgo

Initially I had trouble getting my USBDM to work with the recently released

CodeWarrior Development Studio for HCS12(X) Microcontrollers (Classic IDE) v5.2 (link to download Special Edition)

CWS12v5.2_Win_b151201_se.exe  (build Dec 01 2015 )


I have a Wytec manufactured based on PGO's JS16 USBDM using

BDM Firmware 4.12.1 and Software version


Also I added my missing derivatives using this thread

How-to Add missing derivatives to CodeWarrior Classic HCS12(X) 5.2 (Unofficial Method)


If you open a existing TBDML (USBDM) project that you made in CW5.1

you can open the project and use it. But when trying to debug you get an error about a missing "TBDML.tgt" file.


"Could not load component "C:\Program Files (x86)\Freescale\CWS12v5.2\Prog\TBDML.tgt" or one of its libraries.

(Error: "The specified module could not be found.")"

Screen Shot 2016-01-21 at 10.51.48 PM.png


To Fix you need to make sure you install USBDM or newer.

And switch to the USBDM debugger for existing projects.


Screen Shot 2016-02-05 at 9.01.24 AM.png


Thanks PGO!!