AnsweredAssumed Answered

How to connect USB/CDC port with RTCS stack?

Question asked by rick stuart on Jan 31, 2015
Latest reply on Feb 3, 2015 by Radek Sestak

Hi,

 

I am trying to connect the Freescale USB/CDC example to the RTCS stack.  The USB/CDC example (when working (see solution at the bottom of this thread:I have compiled and uploaded the Freescale 4.1.1 virtual_nic example - how do I verify it is working?)) connects the Ethernet port to the USB/CDC port.  What I want to do is connect the USB/CDC port to the RTCS stack.

 

Looking through the RTCS code, I see that a structure of type IP_IF_PTR is passed from the Ethernet code to the RTCS code.  As far as I can tell, no similar structure is created in the USB/CDC code.

 

My 1st question is:  Is there already code somewhere to create this structure for messages received through the USB/CDC port?

 

If not, my 2nd question is:  Where do I find a good description or how to populate a new structure?  But I think I already know the answer to that one: "MQXRTCSUG.pdf" (let's see, section 8.3.31 probably).

 

Of course, if I am looking at this all wrong - please let me know.

 

-thanks

Outcomes