Problem with CodeWarrior7.1, USB Doungle and Windows 7

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

Problem with CodeWarrior7.1, USB Doungle and Windows 7

849 Views
francescobellin
Contributor I

Good morning everybody,

I’ve used CodeWarrior 7.1 with a USB Dongle Licensing since 2009 without any problems, in a laptop with OS Windows XP (32bit).

My problems arose when I installed Windows 7 (64bit).

With Windows 7, I installed CodeWarrior 7.1 Development Suite (by means of CD),

USB Dongle Drivers (I downloaded the updated version from www.freescale.com) and the FLEXIm software (it downloaded as well from the site in updated version).

I tried to read the USB Dongle FLEXid with FLEXIm software and I got the following positive result:

70798_70798.pngpastedImage_2.png

 

At this point, I placed my “old” file license.dat in my CodeWarrior installation root directory and I tried to open a CodeWarrior project. Here I’ve found the problem and the following error window popped up.

 

70913_70913.pngpastedImage_3.png

 

I think there is a problem related to the new software version of FLEXIm, it recognize the USB, is able to read the ID but it can’t link it with the CodeWarrior or something like that. 

I tried also installing CodeWarrior7.2 (downloaded from the www.freescale.com) but the following screen appeared:

70914_70914.pngpastedImage_4.png

I've not been able to find a version for 64bit.

 

Are there anybody who can help me?

Thanks in advance.

Labels (1)
0 Kudos
1 Reply

465 Views
trytohelp
NXP Employee
NXP Employee

Hi Francesco,

2 years ago I've performed a test with CW for Coldfire V7.1 + Win 7 64 bit with an USBDongle license file

Unfortunately the USBDongle is not working for this version.

However this is working for CW for Coldfire V7.2.

Below you will find more information.

A- Test for CW for ColdFire V7.1 + Win 7 64bit + USBDongle

++++++++++++++++++++++++++++

  Dongle FlexID

pastedImage_0.png

  Dongle driver version

pastedImage_3.png

Install CW for Coldfire V7.1 Evaluation version.

During the installation I got some errors showing problem with driver (compatibility with 64 bit).

With the default license I can launch the IDE.

Without license file I got the error (normal):

pastedImage_4.png

Now put the default license file downloaded from web system.

I got an error:

pastedImage_5.png

The system complaint because a feature is missing: Win32_CWIDE_Limited.

This feature is not included by default because the license file has another feature:

Win32_CWIDE_Unlimited metrowks

For older version, sometimes the Limited feature is required.

I’ve edited the dongle license and add at the beginning the feature:

INCREMENT Win32_CWIDE_Limited metrowks 5.500 permanent uncounted \

B3CDA540C23B VENDOR_STRING="CodeWarrior IDE 4.2 or later, \

Windows, limited" HOSTID=ANY TS_OK

Now I can launch the IDE without problem.

I’ve created a new project and build it.

I got errors:

pastedImage_6.png

The USBdongle is not recognized by the tool.

To check if the dongle is correctly installed, I used another classic tool: CW for DSC V8.3

I’ve downloaded the license file and launch the IDE.

I’ve created a project using DSCE and build it.

It’s working when the USBdongle is plugged.

If I unplug the dongle I got errors saying  no valid license.

Conclusion:

The USBDongle is correctly installed on my Win 7 64 bit.

The dongle license for DSC V8.3 is working fine.

However the same dongle with CW for ColdFire V7.1 is not working.

This seems to be a compatibility driver.

  ++++++++++++++++++++++++++++

B- Test for CW for ColdFire V7.2 + Win 7 64bit + USBDongle

++++++++++++++++++++++++++++

Questions:

A- Can I use CW MCF V7.2 under Win 7 ?

You can not install CW for MCF V7.2 on 64 bit system.
The installer is checking the OS you're using and will not allow to run the installer under 64 bit.
The solution is to:
- install the tool on XP or Win 7 32 bit machine,
- copy the installation folder under your Win 7 64 bit machine,
- execute the \bin\regserver.bat file.
Now the tool is installed on your 64bit machine.

Another problem is linked to the P&E driver.
The installed driver is not compatible with Win 7 64 bit machine.
You must download and install new version.
Go to www.pemicro.com web site.
http://www.pemicro.com/products/product_viewDetails.cfm?product_id=163
Select "FAQs, Manuals & Downloads" tab.
Here you can load the last driver.
P&E Hardware Interface Drivers, Version 11 (Win XP/Vista/7/8)


B- Can I use USBDongle with CW for ColdFire V7.2 under Win 7 ?

Yes - My configuration: Windows 7 64 bit + CW for MCF V7.2 + USBDongle
When I launch the IDE I get a message saying "This is the last days of current license".
This is a common problem met with other classic tool as DSC V8.3 and HC12 V5.1.
Every time, every day you will launch the IDE you will get this message … but the license will work.
So don’t care about it.
You can remove this error message if you add the key:
FEATURE Win32_CWIDE_Limited metrowks 5.5 permanent uncounted \
00E825C5615A HOSTID=ANY TS_OK

I've created a short example.
When the USBDongle in unplugged I got a license error:
Error  : Unable to use the plugin "CodeWarrior C/C++". It is licensed and a valid license key was not found.
Invalid host.
The hostid of this system does not match the hostid
specified in the license file.
Feature:      Win32_ColdFire_Compiler
Hostid:        FLEXID=9-4d125250
License path: E:\Freescale\CW_SC_3850_v10.7.1\eclipse\../SC/license.dat;E:\Freescale\CW eTPU v10.2.2\eclipse\../ETPU/license.dat;C:\license_all\license.dat;E:\Freescale\CodeWarrior for ColdFire V7.2\license.dat;
FLEXnet Licensing error:-9,57.  System Error: 2 ""
For further information, refer to the FLEXnet Licensing documentation,
available at "www.macrovision.com".

When the USBdongle is plugged I can build the application.
++++++++++++++++++++++++++++

CONCLUSION.

CW for Coldfire V7.2 and previous version (Coldfire V7.1 too) were designed and tested under XP 32 bit OS.
The tool was not test for 64 bit and for Win 7.
The version were released before 2010.

CW for MCU V10.6 is the last version.
It integrates the development tools for the : ColdFire®, ColdFire+, DSC, Kinetis, Qorivva, RS08, S08 and S12Z architectures
into a single product based on the Eclipse open development platform.
This version is running on Host platforms
      Microsoft® Windows XP 32-bit and 64-bit (Professional Edition)
      Microsoft Windows 7 32-bit and 64-bit (Home Premium Edition and Professional Edition)
      Microsoft Windows 8 32-bit and 64-bit (Home Premium Edition and Professional Edition)
      You can download an evaluation on the web site:
  http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MCU10

We recommend to use the MCU V10.6 on Windows 7 and for new development.

Coldfire V7.1 is working fine with license file locked on DiskID or HostID.

Unfortunately this is not running with USBDongle license file.

Coldfire V7.2 is running on USBDongle.


Have a great day,
Pascal
Freescale Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos