This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

tm4c129芯片USB配置成otg模式后用作serial打开错误

问题一:usb otg用作serial使用时,当代码量较大时,PC上能看到USB serial驱动安装正常,也能显示com端口号,会出现serial打开错误或者提示占用,

但适当的减少编译或者调整代码结构后又是会正常,能够正常通信。目前从芯片的ram和flash来看,其实还有很多的空间, 此外也对堆栈进行了修改。

问题二:usb otg用作serial使用时,用ti提供的usb serial windows驱动(TivaWare_C_Series-2.1.4.178 SDK里包含的windows deriver),在win7系统能正常通信,但在win10系统上却无法通信,也会出现serila打开错误或者提示占用。