Hi everybody,
I'm trying to create a USB MSD (on USB K64 port) device recognized on a PC to access the SD card on my FRDM-K64F. But impossible to create just a MSD device; it's worse by adding the SD card. I would like to know if someone did it and if yes could you share your example code? (pieces of advice are not helping me anymore for this problem... I need to resolve it quickly)
Best regards,
Loïc
Solved! Go to Solution.
Hi Loic,
yes, there is an error with the J-Link.
Please,
The workaround is described also here Unable to Debug after KDS Update
We have also alert to avoid this.
Thank you for your understanding,
Best Regards,
Iva
Hi Loic,
please have you tried Software Development Kit for Kinetis MCUs|Freescale ?
We have created USB Device MSD example.
Not sure, if you create your example with OS (FreeRTOS, MQX.. or BM)
After installation you will see the code under C:\Freescale\KSDK_1.3.0\examples\twrk64f120m\demo_apps\usb\device\msd
Hope this helps.
Best Regards,
Iva
Thanks but,
Firstly installing KSDK 3.0 = JLINK debugger fails... I can't debug anymore
Secondly I don't want to use KSDK ^^
Regards,
Loic
Hi Loic,
yes, there is an error with the J-Link.
Please,
The workaround is described also here Unable to Debug after KDS Update
We have also alert to avoid this.
Thank you for your understanding,
Best Regards,
Iva
Thanks to you so much I was already in panic :smileysilly:
Loic
If you don't manage to solve your USB-MD to SD card requirements you can fall-back on a complete and industrially proven solution for the K64 at the link below - it allows the K64 to be simulated in (appox.) real-time including the SD card and all of its FAT operation.
In addition it includes FAT emulation which allows also internal data Flash or external SPI Flash to be used in a linear fashion to store binary data but later be visible as formated data to a PC host.
Regards
Mark
Kinetis: http://www.utasker.com/kinetis.html
K64: http://www.utasker.com/kinetis/FRDM-K64F.html / http://www.utasker.com/kinetis/TWR-K64F120M.html / http://www.utasker.com/kinetis/TWR-K65F180M.html
For the complete "out-of-the-box" Kinetis experience and faster time to market
:smileyinfo: Out-of-the-box support for 47 Kinetis boards and 10 IDEs (460 combinations from a single code source with no porting required)
I don't want to use Open SDA port but K64 USB port. ^^
Hi Loic,
To add some other background information Iva has provided related to your topics please look at following links:
http://cache.freescale.com/files/microcontrollers/doc/ref_manual/DRM104.pdf
Flexis JM board with SD Card drivers and USB |Freescale
But hopefully another user has done this specific implementation and can share....after all that is what the Community is for.
Regards,
David