This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MDK-ARM libraries middle ware interface

Hello Forum members,

I am using Keil MDK-ARM along with RL-FlashFS, RL-USB and RL-TcpNet libraries. I want to track events for USB connection/disconnection, Ethernet connection/disconnection etc. What functions from these libraries will help me know these states? For Ethernet, I tried using function "main_TcpNet()" to know the connection status but the return value keeps on toggling (even though the Ethernet cable is in place). This makes further calls to log function unfaithful.

Similarly, for USB, I tried using the function "usbd_configured" to know the connection status but this function always returns TRUE, even though the USB cable is in place or not. This also makes event logging unfaithful.

Does anyone know how this can be implemented? What functions from RL-ARM libraries will be helpful?

Your earliest help in this regard will be highly appreciated. Thanks in advance for any help.

Mike.

0