Attached is version 2 of the JS16/JM16/32/60 version of USBDM.
This includes the following hardware versions:
If you want a simple BDM then I recommend the JS16. This has all the advantages of the previous JB16 version of OSBDM (ability to be programmed over USB & convenient SOIC package) as well as being USB2 Full speed. It is also available as a sample from Freescale .
If you want a full-featured BDM then I recommend the JMxx version.
BDM Firmware History
ToDo list
Hi pgo. I´m did it !!! it´s work perfect. I try in other PC. I don´t know what was the problem but now I will format my computer because it have many problems.
Thanks very much for your help.
Hello , Mr t.dowe
I am using the freescale chip, we want to make the USBDM/CF opensourcebdm simulate ,Can you send the sourcecode and the schematic and the components list of the html.rar to me ,my email: success_future@163.com ,thanks
Dear abel jiang,
The files for USBDM/CF are available as part of the first post of this thread.
bye
Hallo and thanks for your USBDM. I have downloaded the sources and PCB files. The problem is that i try to compile your program (JS16 source) to program the JS16. But it prompts an error 202049 and can not compile. Is there any posibility to program the JS16 without compiling the program?? thank you for your time and excuse my poor english.
Best regards. Christian F.
Dear Christian,
The installation Zip file contains .S19 files for all the different hardware supported, You should be able to use those without compiling.
http://opax.swin.edu.au/~3340694/USBDM/USBDM_JMxx_Distribution_V3.2/1.%20Installation_3_2.zip
bye
pgo,
Any idea why I cannot open the help files included in the Installation directory?
When I attempt to open them, I get a "the page cannot be displayed" error with each page.
Thanks,
uCTechnoGeek
Dear uCTechnoGeek,
No Idea. I just downloaded them to check and had no problem with under windows-XP. I believe I've used them under vista as well. Are you using Windows-7?
The files are in the 'old' windows-98 help format so there may be some incompatibility. I'll check some more.
The only alternative I would have at the moment would be a Zip file of the HTML pages.
bye
pgo,
I downloaded them again and still cannot open the help files. I don't know why, but I can open the help files from the previous packages.
Also, what is your idea for using the coldfire connector. How do you use it to connect to the target board with the different connections? Is there particular cables you had in mind?
Regards,
uCTechnoGeek
Dear UcTechnoGeek,
I've attached a Zip of the HTML files for the USBDM/CF which is the one that differs the most from previous posts.
I would suggest you try downloading the HTML help program from microsoft:
http://www.microsoft.com/downloads/details.aspx?familyid=00535334-c8a6-452f-9aa0-d597d16580cc&displaylang=en
bye
Hi pgo
I've noticed that there is a discrepancy between the schematic and the PCB layout. The mini B USB connector in the schematic has pin 4 as ground and pin 5 as ID. The PCB reverses this (correctly).
This makes me wonder -- are there any more serious erros to be found?
Has anyone built the BDM from the schematic?
Dear TBR Technologies,
The schematic does not have pin numbers on the Mini-usb connector and the layout of the pins is arbitrary. The pins are named correctly on both the schematic and pcb layout.
The placement of the ID pin at the bottom of the schematic symbol makes its layout compatible with the 4-pin connector symbol. It is not an 'error' since the relation between the pins on the symbol and the pins on the footprint are correct in the EDA software used. However it is certainly misleading. I'm sorry if this has caused problems. It will probably change in the next version
bye
Dear All,
I've been asked to clarify how the versions of USBDM differ. The following summary of the USBDM Ver 2 designs is provided:
JB16 based versions (No longer recommended by me!)
These were mainly produced to be compatible with the previous hardware versions of OSBDM which was based on the MC908JB16. This is a USB low speed device.
There are several hardware designs supplied :
JS16/JMxx based versions (Recommended by me)
These designs use either the MC9S08JS16CWJ (20 pin SOIC) or MC9S08JM60CLD (44 pin LQFP).
Both of these chips are USB2 Full speed but ONLY the first supports initial programming over USB without needing a BDM.
Hello Pgo,
Whether its possible to initial program MC9S08JM60 using the USB without the BDM,as mentioned in application note AN3561:USB Bootloader for the
MC9S08JM60
with regards
Thiag
Dear Thiag,
I believe that AN3561 describes a bootloader that may be incorporated into a program being developed. It is similar to the bootloader that is present in the USBDM firmware that is used to update the firmware after initial progamming. Unfortunately it is not a bootloader that is present in a blank Jmxx device.
The JS16 device is similar to the JMxx devices but does have a bootloader.
I can only suggest that you consider the simpler JS16 version of USBDM which avoids the problem. The practical difference in functionality is quite small.
Also the JS16 in a SOIC20 package is currently available as a sample from Freescale.
bye
Dear Pgo,
In this thread:
http://forums.freescale.com/freescale/board/message?board.id=OSBDM08&thread.id=726
http://forums.freescale.com/freescale/board/message?board.id=OSBDM08&thread.id=726" target="_blankis OSBDM project by Freescale and this is compatible with FreeMaster. Maybe you can check Freescale's code and add FreeMaster support to your USBDM. It will be very useful.
Best Regards,
Macias
Dear Pgo,
In new version of Code Warrior for microcontrolers 6.3 is a new version of Open Source BDM programmer for ColdFire V1 only for some new devices. I've a MCF51CN128 and this uc have as debbuger somethinkg like this: CFV1 FSL Open Source BDM and is not compatible with your USBDM JM60 device. Please tell me how I can programm and debbug this uc via your USBDM. If it's not possible please tell me that you can add support for this uc to your debbuger?
Please help.
Best Regards,
Macias
It would appear that Freescale is not providing support for the original OSBDM for new chips in Codewarrior any longer. (Only the newer OSBDM-JM60).
You can try the following process which should work:
It should now be using USBDM/OSBDM.
Note: I have not tried this for the CN chip so YMMV.
bye
Dear Pgo,
Thank you for the information. I check this methode, and I was discovered something interesting. When I start debbuging, USBDM try to programm flash memory, but without success, I get this message:
Error while writing to 40D..60D
Information: Write protected
Next I click Ok, and choose from Flash from CFv1 Open Source BDM, and now I can erase memory and upload new softvare (Project.abs) with succes, after click Ok button, debbuger works normally, I see source code and all options are working.
Do you have any idea why debbuger can't programm flash automaticly after start?
Best Regards,
Maciek
Dear Macias,
I've had a chance to try this with a CN chip.
A process that does appear to work is as described above but select the CFV1 FSL debugger initially. This will produce copies errors but then changing to the correct interface in the debugger (once) and restarting seeems to work OK. It appears the the simulator option doesn't set up the Flash programming as it doesn't have any real flash .
So, in summary:
You can try the following process which should work:
It should now be using USBDM/OSBDM. You should see the usual confirmation dialogue warning you that its going to erase the Flash.
bye