USBDM for CodeWarrior 5.2 S12(X)

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

USBDM for CodeWarrior 5.2 S12(X)

Jump to solution
6,533 Views
RodneyMcGee
Contributor IV

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 4.121.1.80a

Also I added my missing derivatives using this thread

Add missing derivatives to CodeWarrior 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 4.121.1.80a or newer.

And switch to the USBDM debugger for existing projects.

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

Thanks PGO!!

Labels (1)
Tags (2)
0 Kudos
1 Solution
3,152 Views
pgo
Senior Contributor V

The Version uploaded had a build problem.

It has been updated to USBDM_4_12_1_80_Win_A.msi

bye

View solution in original post

0 Kudos
2 Replies
3,152 Views
pgo
Senior Contributor V

Hi Rodney,

I will upload the next version of USBDM tomorrow sometime.  It will be updated to support CW V5.2.

It appears that Freescale/NXP are in the process of removing support for TBDML entirely from Codewarrior.  It is possible that in the future it may not be possible to use USBDM as a TBDML emulator.  I have no control over this.

The USBDM support in CW now appears as a different device ('USBDM') to avoid clashes with the TBDML interface changes between V5.1 and V5.2.

I suspect that you will need to add the new target  to existing  projects.

Note that you will have to select the USBDM target rather than TBDML in the wizard.

Existing projects using TBDML targets may not work - it depends upon what DLLs are required.

You should be able to select the USBDM target in existing projects.

Creating new TBDML targets is not supported.

bye

0 Kudos
3,153 Views
pgo
Senior Contributor V

The Version uploaded had a build problem.

It has been updated to USBDM_4_12_1_80_Win_A.msi

bye

0 Kudos