Dear Sir or Miss,
i want to know if there is any one who ever has created a bootloader updatable routine. i mean both software and firmware parts. hence we can get firmwre updated through usb port.
Hi Cheng,
I had worked on bootloader with support of firmware update. I had used UART for communication. The following NXP application note gives good guide on designing one. You can use the concept to implement your firmware update bootloader.
http://www.nxp.com/documents/application_note/AN10759.pdf
http://www.nxp.com/documents/application_note/AN10835.pdf
Regards,
d2v0
Dear D2v0,
many thanks for your help. but i need bootloader to update firmware through USB port.
thank you anyway.
Jim
Please see: http://www.uTasker.com/docs/uTasker/uTaskerV1.3_USB_Demo.PDF which includes a USB boot loader for the M522XX - this will be available shortly for the Kinetis.
See also http://www.towergeeks.org/video/twrlcd-bootloader for a second USB boot loader method. This, plus boot loading from SD cards should also be available in the Kinetis package shortly.
Regards
Mark
Dear Mark,
Thank you. looking forward to the availability date.
Hi Jim
Please see the following - it shows the uTasker Kinetis USB MSD boot loader in operation. It occupies about 11kByte FLASH with the features shown in the video. : http://www.youtube.com/watch?v=H4TYM9jY2-g
USB CDC (communication device class) and MSD (mass storage device) classes are now available in the project (new development release tomorrow) so also the CDC loader is operational - the MSD method is however very practical...it allows useful details of the application software that is loaded to be viewed (name, with long-file name support, creation date and size) plus also read-back support (if enabled).
Regards
Mark
Dear Mark,
any news about USB CDC and MSD? where can i have them?
thank you in advance,
BR.
jim
Jim
These were released on 12.5.2011 - see http://www.utasker.com/forum/index.php?topic=1252.0
The stand-alone boot loader is available at http://www.utasker.com/SW_Demos.html
Regards
Mark
Dear Mark,
many thanks for your info.
Is it possible that our device
can be re-configured or enumerated as another device? I mean, after user
plugged in our device to PC, it will enumerated as a standard hid device, when
the user want to do a firmware update, he can run our application and the
application can send a command to our device, and then our device should be
able to re-configured or enumerate as another device.
Please advise if above mechanism
is possible. If possible, please provide details info as soon as you can to us.
To satisfy your requirement, I think the USB DFU can be applied.
When you plug the device into PC, it will enumerate the device as both DFU function and your desired function (HID for example). Then you can run an application on PC to push the device into loader mode.
Freescale USB PHDC stack ver 3.1 has a demo for DFU class.
In this demo, they demonstrates USB DFU class only but not real firmware update application... If you are interested in that, you should contact with their support, they may have a full feature demo.
Regards