USB总线冻结暂停。 PC示波器。 [英] USB bus freeze in suspend. PC oscillscope.

查看:103
本文介绍了USB总线冻结暂停。 PC示波器。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用PIC32MX微控制器设计了一台usb pc示波器。



C#pc软件来自www.waitingforfriday.com



这很好用,也没有问题。



我现在将它移植到PIC32MZ微控制器上。



再次这很好用。



但是,如果我在5秒后退出电脑程序,USB总线就会暂停。



然后,如果我回到pc程序,usb总线被冻结在挂起模式。



如果我在5秒钟之前返回,然后运行正常。



我已经禁用掉电和选择性暂停在我的电脑上,但问题仍然存在。



是否有一个C#命令我可以用来暂停USB总线?



我有什么尝试过:



跟踪图片代码似乎陷入暂停

I have designed a usb pc oscilloscope using a PIC32MX microcontroller.

The C# pc software is from www.waitingforfriday.com

This works great and has no problems.

I have now ported this across to a PIC32MZ microcontroller.

Again this works great.

However, if I exit the pc program 5 seconds later the USB bus goes into suspend.

Then if I go back into the pc program the usb bus is frozen in suspend mode.

If I go back in before 5 seconds are up then it runs fine.

I have disabled power down and selective suspend on my pc but the problem persists.

Is there a C# command I can use to take the USB bus out of suspend ?

What I have tried:

Tracing the pic code it seems stuck in suspend

推荐答案

你重新将不得不联系的人,你们得到了得到这个答案的代码。他们是唯一知道他们用USB总线做了什么的人,以及他们是如何在代码中做到的。更好的是,他们也将成为他们所做的理由背后的人。
You're going to have to contact the people you got that code from to get an answer on this. They are the only ones that are going to know what they did with the USB bus and how they did it in the code. Better yet, they're also going to be the ones with the rationale behind what they did.


这篇关于USB总线冻结暂停。 PC示波器。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆