I mean, that product "Freescale MQX RTOS 3.2.1" does not support runtime switch between host and device functionality. In developing phase, you have to decide whether you will use host or device.
If your question leads whether you could find or buy another version of USB stack, the answer is: ask EAI Inc., but for MCUs that Freescale has released MQX for, EAI Inc. doesn't have any next features; in other words Freescale's MQX does not lack any functionality or feature compared to EAI.
Do you mean to say that there is no separate driver for OTG functionality and I need to swap between Host and Device functionality at run time? Isn't it little difficult?
Also USB host or device stack that comes along with MOX RTOX is MQX stack or it is some other vender?
I mean, that product "Freescale MQX RTOS 3.2.1" does not support runtime switch between host and device functionality. In developing phase, you have to decide whether you will use host or device.
If your question leads whether you could find or buy another version of USB stack, the answer is: ask EAI Inc., but for MCUs that Freescale has released MQX for, EAI Inc. doesn't have any next features; in other words Freescale's MQX does not lack any functionality or feature compared to EAI.
Ref: MQX 3.6.2 and K60 Tower
The documentation addresses USB OTG mode with automatic stack switching. Currently using usb>host>examples>
msd>msd_commands as example code which defaults to host mode when compiled. I defined the __USB_OTG__ symbol to force an OTG host and now it cannot find the necessary "otgapi.h" file.
Does anybody know where this file is or better where there is a good tested OTG example?