9 years, 9 months ago.

USBHostSerial library compatible with K64F?

Does this library work with the K64F board? When I try to compile the USBHostSerial_HelloWorld for the K64F board I get the error:

Cannot open source input file "device.h": No such file or directory in "extras/mbed_5e5da4a5990b/mbed_debug.h", Line: 18, Col: 20

If I update the libraries in the online compiler I get a lot more errors claiming a number of undefined identifiers. If this library doesn't work with the K64F is there one that does? Thanks in advance!

Question relating to:

1 Answer

9 years, 9 months ago.

Hello Andy Fritz,

official USBHost library does not support currently any Freescale platform. There's is a separate effort made by Norimasa Okamoto, look at http://mbed.org/users/va009039/code/F401RE-USBHost/

It is stated , not tested on K64F. Please report back the result.

Regards,
0xc0170

Accepted Answer

Thanks! I'll check it out

posted by Andy Fritz 01 Jul 2014

I'm also interested in the USB Host library - to prototype connecting with FT232X and future CDC. Doing a comparison between KL46P121 & K64P1144M (& K20P1144M) the manuals all reference same USB core 0x33 - at exactly the same addresses for all the USB OTG registers. So look forward with interest to following Norimasa's code/progress.

posted by neil hancock 09 Jul 2014