USBDM - Version 4.6 (JB16/JS16/JMxx Hardware Versions)

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

USBDM - Version 4.6 (JB16/JS16/JMxx Hardware Versions)

13,858 Views
pgo
Senior Contributor V

Dear All,

 

USBDM has been updated to V4.6.  This version adds support for Kinetis devices but please be aware that this has had minimal testing due to lack of devices to test with :smileyhappy:.

 

Please post any queries on this version in this thread,

 

Information available at:  http://usbdm.sourceforge.net/

 

bye

 

Notes

Please note that these design are different from the Freescale OSBDM-JM60 design which was proceeding independently while I was doing the above designs

 

  • V4.6 (June 2011) -
    • Support for Kinetis Targets in Codewarrior V10.1 (Eclipse, USBDM/CF only)
    • Added Kinetis programmer (and CFVx but only two devices!)
    • Improvements to USB error checking (JMxx/JS16 only)
    • TCL scripting
  • V4.5 (February 2011) -
    • Support for Codesourcery Lite - Coldfire Vx
    • Support for Coldfire Flasher (CFFlasher) Coldfire V2,3,4 only
    • Support for Codewarrior Eclipse 10.1
    • Flash buffer is now dynamically sized in Flash programmers
    • Added fix for Legacy Codewarrior tools missing TBDML/OSBDM targets
  • V4.4 (January 2011) -
    • Less intrusive auto speed detection for targets without sync
    • Unlocking improved for targets using slow external clocks
    • Codewarrior V10 New Project Wizard now includes USBDM
    • Programming support for HCS12/HCS08 targets with EEPROM
    • Programming support for CFV1 target with multiple Flash (Dual Flash)
    • Use of XML based device files (needed for above two items)
    • Automatic unsecure for Legacy HCS12 targets
  • V4.3 (December 2010) -
    • Bug fixes (DSC Speed)
    • Improved Codewarrior V10 integration
    • Serial interface on JS16 versions (supported in JMxx but no example implementation)
  • V4.0 (September 2010) - Significant changes in some areas - Please read carefully
    • Support for Linux (Eclipse version of Codewarrior only)
      Installation is still somewhat of a challenge!
    • Support for Linux and Windows7 64-bit (Eclipse version of Codewarrior only)
      To support the 64-bit version of Windows it has been necessary to update to using libusb-V1 drivers. For consistency this is also done on Linux. As part of this process the VID/PID for the hardware (BDM) has been changed. This will allow the co-existence of Freescale's OSBDM-JM60 hardware while using a new driver for USBDM. Formerly both these BDMs used the same VID/PID and changes to the driver would not be possible.
    • Programming utilities for RS08, HCS08 and CFV1 are now (officially) included.
    • Support for MC56F800x (digital signal controllers) added. This is only available on USBDM_CF BDMs and the Axiom MC56F8006 Demoboard.
    • Minor bug fixes (installation script)
    • The addition of DSC support has pushed the firmware size to greater than 16K on the USBDM_JMxx-CF version. This means that MC9S08JM32/60 chip must be used.
    • Changed to wxWidgets for common GUI code on Windows and Linux
  • V4.6 (June 2011) -
    • Support for Kinetis Targets in Codewarrior V10.1 (Eclipse, USBDM/CF only)
    • Improvements to USB error checking (JMxx/JS16 only)
    • TCL scripting
  • V4.5 (February 2011) -
    • Support for Codesourcery Lite - Coldfire Vx
    • Support for Coldfire Flasher (CFFlasher) Coldfire V2,3,4 only
    • Support for Codewarrior Eclipse 10.1
    • Flash buffer is now dynamically sized in Flash programmers
    • Added fix for Legacy Codewarrior tools missing TBDML/OSBDM targets
  • V4.4 (January 2011) -
    • Less intrusive auto speed detection for targets without sync
    • Unlocking improved for targets using slow external clocks
    • Codewarrior V10 New Project Wizard now includes USBDM
    • Programming support for HCS12/HCS08 targets with EEPROM
    • Programming support for CFV1 target with multiple Flash (Dual Flash)
    • Use of XML based device files (needed for above two items)
    • Automatic unsecure for Legacy HCS12 targets
  • V4.3 (December 2010) -
    • Bug fixes (DSC Speed)
    • Improved Codewarrior V10 integration
    • Serial interface on JS16 versions (supported in JMxx but no example implementation)
  • V4.0 (September 2010) - Significant changes in some areas - Please read carefully
    • Support for Linux (Eclipse version of Codewarrior only)
      Installation is still somewhat of a challenge!
    • Support for Linux and Windows7 64-bit (Eclipse version of Codewarrior only)
      To support the 64-bit version of Windows it has been necessary to update to using libusb-V1 drivers. For consistency this is also done on Linux. As part of this process the VID/PID for the hardware (BDM) has been changed. This will allow the co-existence of Freescale's OSBDM-JM60 hardware while using a new driver for USBDM. Formerly both these BDMs used the same VID/PID and changes to the driver would not be possible.
    • Programming utilities for RS08, HCS08 and CFV1 are now (officially) included.
    • Support for MC56F800x (digital signal controllers) added. This is only available on USBDM_CF BDMs and the Axiom MC56F8006 Demoboard.
    • Minor bug fixes (installation script)
    • The addition of DSC support has pushed the firmware size to greater than 16K on the USBDM_JMxx-CF version. This means that MC9S08JM32/60 chip must be used.
    • Changed to wxWidgets for common GUI code on Windows and Linux

Tags (2)
0 Kudos
112 Replies

416 Views
joncas
Contributor II

Hello PGO,

 

I just tried your version 4.6 with Codewarrior 10.1 on a clean install of Ubuntu 11.04 (32 bit).

In case it helps anyone else trying this, it required adding the following libraries with the Synaptic Package Manager:

 

  • tcl8.5 
  • libwxgtk2.8-0 
  • libwxgtk2.8-dbg 
  • libstdc++5 
  • libxerces-c3.1

 

Then it seems to run fine.

 

Many thanks and best regards!

Robert

0 Kudos

416 Views
ggorlik
Contributor I

Thanks Jim and pgo!

 

With your help and some project settings change I managed to build a 64-b version of the V4.5 shared library and the GDI.

I am still having some issues with the standalone flasher and the CW plugins though.

 

I was able to build the flasher with a hand made makefile.

 

I'll keep you updated on the progress

 

thanks again

0 Kudos

416 Views
ggorlik
Contributor I

I finally managed to compile everything (except the java stuff which still does not compile properly) on debian.

I can run the standalone flashers without any issues.

CW still refuses to work though. When I attempt to launch I get a generic error without any explanation.

How do I debug what is wrong?

 

I run ldd on the gdi.so to make sure there are no issues with the shared libraries but beside that I really have no idea what ewlse to try.

0 Kudos

416 Views
pgo
Senior Contributor V

Dear Gorlik,

 

I'm not sure how you can run the GDI part without having the Java plugin working - or are you using the supplied versions?

 

If you compile the DLLs with logging enabled you should have messages from when the DLL is loaded.  If the loading is failing check the exported symbols from the GDI DLLs to see if  they are correct against the provided DLLs.

 

 

bye

 

 

 

0 Kudos

416 Views
bendjy
Contributor I

Hi pgo!

 

I want to program MC13213 with standalone programmer "HCS08_FlashProgrammer.exe" with JS16 hardware and v.4.6.

This is not possible.

I got "Programming Error: Programming of target flash failed! Reason: Failed to read from target"

In this time programming with HiWave and same hardware is without problems.

 

After I downgrade to the version 4.5 All is OK.

 

We have any idea about this situation.

 

And another question: It is possible to read flash and save S19 file with standalone programmer

 

10x for great work on USBDM.

 

bendjy

 

0 Kudos

416 Views
pgo
Senior Contributor V

Dear Benjy,

 

I tried programming a small project to a MC13213 chip using a JS16 USBDM (V4.6) and didn't have any problems.  If it's working OK with V4.5 for you then stick with that for the moment.  I would you appreciate checking again when the next version is available and letting know if the problem persists and I will spend more time investigating it.

 

bye

0 Kudos

416 Views
JimDon
Senior Contributor III

I can at least partly answer that one. If it is a native build, it is not CW eclipse, it is Eclipse CDT.

 

0 Kudos

416 Views
Vncnt
Contributor I

Hi!!!, Thanks for the help for use Freescale microcontroller.

 

I like know about a guide for the installation or step to step for installing.

 

Thank for you help!!!

0 Kudos