6 years, 5 months ago.

What happened with the USB on FRDM platforms

I have been active user of the Mbed years ago - I even shared some of my code. Now after few years I come back in the 5.x era and quickly have learned that my old code do not compile any more. My main issue is USB Host MSD. Old code do not work, libraries look as being abandoned and left with no support. Or may be I just missed info like 'use magic switch XYZ to have your code running'. My boards include FRDM-K64F, FRDM-KL46Z and KL25.

Is there any hope for having stuff running ?

Info will be highly appreciated...

1 Answer

6 years, 5 months ago.

Hi Waldemar,

Please check out this guide for information on how to successfully upgrade your old programs from Mbed OS 2 to Mbed OS 5: https://os.mbed.com/docs/v5.9/tutorials/migrating.html

Please let me know if you have any questions!

- Jenny, team Mbed

If this solved your question, please make sure to click the "Thanks" link below!

Jenny, thank you for comment. I was using web compiler (and honestly would like to keep it that way) but what worries me most is the fact that it looks support for USB have been removed. Is it true? Have anyone succeeded with USB Host on FRDM series recently?

posted by Waldemar Dworakowski 28 Jun 2018

Hi again Waldemar,

Unfortunately, it does look like support for USBHost has been removed as the USBHost drivers have been moved into the "unsupported" features folder within the Mbed OS repository: https://github.com/ARMmbed/mbed-os/tree/master/features/unsupported/USBHost

If you would like to use any of the features in the unsupported folder you will need to move those features out of that directory and into the relevant main features directory.

Please let me know if you have any questions!

- Jenny, team Mbed

posted by Jenny Plunkett 28 Jun 2018

Jenny, Thank you again - I've taken a look in the git-hub. Any way to connect repositories with web editor/compiles (other than copy/paste)? And what with HW drivers ? I'm not sure I see how to connect those together... Previously it was much easier and just worked.

posted by Waldemar Dworakowski 01 Jul 2018