Dear All,
USBDM has been updated to V4.7. This version adds a windows installer which should make installation a bit more straightforward.
This version has been available for a little while but has had some teething problems mostly related to the new installer. I believe the currently posted version is stable.
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.
Revision History
Hi pgo,
Because S12XEP and S12XS devices are not defined in the hcs12_devices.xml file used by your HCS12_programmer.exe utility, I have tried to add them myself, unsuccessfully. They show up in the drop-down list of the programmer GUI, but when I try to burn a file into flash, I get an error message of the form: "Programming of the target flash failed!". These MCU variants have emulated EEPROM instead of EEPROM, so I'm wondering if this is a clue, and exactly what parameters are needed in the xml file. Do you have a newer xml file that includes these devices, or can you give some hints on how to update the file correctly?
Carl
Dear Carl,
Unfortunatelty the S12XEP devices have a very different Flash to the HCS12 devices supported by USBDM. Because of this it is not as simple as changing the XML files. It is necessary to write flash programming code etc. for downloading to the device.
I will look at this when I get a chance but I expect it would be a while.
Sorry.
Thanks for your quick reply!
The Freescale Serial Monitor (ref. AN2548) has already been successfully modified to implement the flash erase and programming of XEP and XS devices, and the USBDM can be used in combination with HiWave debugger to burn the modified serial monitor into flash. So the erasing and programming algorithms must already be part of the debugger (or perhaps they are issued to the target as BDM commands?). So perhaps it will not be so difficult to implement it. The serial monitor source can be found here:
http://support.technologicalarts.ca/docs/Adapt9S12X/
Carl
Dear Carl,
The problem isn't really that writing the programming code is difficult but that the HCS12 programmer that I have written only supports a single algorithm. Some of the other programmers (ARM, Coldfire) use a more general approach that allows adding algorithms for other chips more easily. This allowed the Coldefire+ chips to be added easily to the CFV1 programmer.
I am (slowly) updating the HCS12 & HCS08 programmers to a similar approach but it won't be complete for a while.
This is the main hurdle.
bye
OK, I understand now-- thanks!
Carl
Hello,
I found a problem with USBDM Ver 4.7 programming the 9SQE8. I don't use that chip too much but I do have five programs that have loaded & worked fine with eariler versions of USBDM. One of these programs is small, about 1K, and it loaded OK with Ver 4.7 but the other four ranged from 5K to 7.5K and they failed to load.
I had to reload my USBDM with Ver 4.5 then it worked fine.
I did try a few other chips with Ver 4.7 without any problems so I think it is limited to the MC9S08QE8
Roger
Dear Roger,
I did some quick checks on a QE8 but was unable to get it to missbehave. Could you provide a S19 file that shows the problem and I will do a more thorough test.
Thanks
hi pgo
I also encountered the same problem, can not debug in more than about 4K program in codewarrior v10.1
chip: mc9s08qg8
Dear Mickey & Roger,
I have confirmed the problems you have been having but I have not tried to determine the cause.
I am currently working on V4.8 which has some changes in how the programming is done and has avoided whatever the problem was. It is awkward to restore the previous version to track it down. I would prefer to continue with V4.8 and do a more thorough testing of this version which is well advanced.
I hope this won't cause too much of a problem. I expect to have the next version available in about a week if no problems come up in testing.
bye
Dear pgo,
OK see attached
It's a updated version of:
http://www.rasmicro.com/Low_Power_Temp_Sensor.htm
Roger