Hi Freescale community.
I have received the KL25 Freedom board a while ago but did only play with it a little bit within the Codewarrior IDE.
We have now dug it out from the dust as we would like to play a bit with the USB Host functionality of the KL25 processor.
We have read the "USB Mass Storage Device Host Bootloader" application note (AN4368) and found that pretty interesting so we would like to try the same on the inexpensive Freedom board.
The application note describes how to compile and use the bootloader on the Kinetis family (Kinetis K60 in the example provided) but we would like to port it to the KL25.
Do you think this would be a difficult task?
We have already started on the porting but have run into some newcomer problems as "DisableInterrupts;" doesn't exists and some FTFL and FMC registers are undeclared too.
So is it possible to get this application note running on the Freedom board and how much hassle would it require?
Thank you for your time in advance.
Freescale has nice documentation and you can try to see OpenSDA.
I think this what are you looking for : http://cache.freescale.com/files/32bit/doc/user_guide/OPENSDAUG.pdf?fpsp=1
If any technical issue , we can solve it online for you.
Potent (Freescale - DAP)
You're suggesting we maybe port OpenSDA onto the KL25, instead of porting the Freescale USB stack per-se?
(Let's be totally clear here - we want the USB MSC bootloader running on the KL25. We're not trying to recreate the freedom eval board here, which contains 2 processors (one running OpenSDA and the second being the KL25).)
I am a bit worried that no one replied before too, but great to see some action.
To you Nilesh, I just want to make sure that we are talking about the MSC HOST bootloader - it is very important that it is the host demo, using a memory stick attached to the Freedom board for firmware upgrading.
I guess this will require some hardware modding to apply 5V to the USB connector output, but then it should work.
Thanks a lot.
Thanks for making task clear. We have worked on various platform for USB-Host , so basic topology and functioning of the same we know very well. Also we have worked on Freescale tower board for
USB host functionality.
Let's go step by step.
1. Yes , Need to change hardware to integrate with pend-drive(memory stick)
we will manage it.
We will update you for action list and progress.
For people requiring USB-MSD host (memory stick loading) for any Kinetis parts with USB, including KL25, there is a complete solution available at http://www.utasker.com/kinetis.html
This has been verified with a large variety of memory sticks and has proven to be compatible with all up to now and it also allows USB-MSD device or USB-MSB host mode to be used at the same time (it detects whether a host or device is attached and operates in the appropriate mode).
Documentation at http://www.utasker.com/docs/uTasker/uTaskerSerialLoader.PDF
It can be built with CW10.x, KDS, IAR, Keil, Atollic, Crossworks, Green Hills, CooCox, stand-alone GCC or VisualStudio, where the operation can be simulated, so customisation is simple and needs no porting.
Note that host loading using the FRDM-KL25Z is not that practival since the connections used are designed to work only as device (they are designed to specifically not allow host mode connection) so one needs to either change the connector or make up a special cable.
I'm very interested in this as well. A big part of why we're migrating to the KL25 is due to the possibility of having a mass-storage class bootloader. That would be a powerful feature for easy firmware upgrades by our customers. It's rather worrying that's it's been a week since Thomas posted this question and not a single Freescale person has replied. Are these forums dead?