简体   繁体   English

如何解决错误消息USB_DEVICE_FEATURE被禁用的问题?

[英]how do i fix the problem of error message USB_DEVICE_FEATURE is disabled?

I am currently working on an AVR32 EVK1104 board from ATMEL and I am trying to write c++ code onto the board but it is not letting me. 我目前正在ATMEL的AVR32 EVK1104板上工作,我正在尝试在板上编写C ++代码,但是这不允许我这样做。 The board was functioning but I tried to add code to it and it wiped what was on there. 电路板正在运行,但是我尝试向其中添加代码,并且擦除了其中的内容。 So now starting over I am just trying to run an example code onto the board but I always seem to get the code USB_DEVICE_FEATURE is disabled. 因此,现在从头开始,我只是尝试在板上运行示例代码,但是我似乎总是使代码USB_DEVICE_FEATURE被禁用。 I went to windows registry and changed the data value to 3 to make sure all ports were enabled but I still get the same error msg. 我去了Windows注册表,并将数据值更改为3,以确保所有端口都已启用,但是我仍然收到相同的错误消息。 Does anyone have any ideas about this ? 有人对此有任何想法吗?

If you try to program the device with the JTAGICE then you will probably erase the build in bootloader. 如果尝试使用JTAGICE对设备进行编程,则可能会擦除引导加载程序中的构建。 If you then do not have valid code present the board will not appear on the USB. 如果您当时没有提供有效的代码,则该板将不会出现在USB上。 Perhaps you should use he JTAG to put the bootloader back in and then use the bootloader to program the device with your code using the Atmel FLIP utility. 也许您应该使用JTAG将引导加载程序放回去,然后使用引导加载程序通过Atmel FLIP实用程序使用代码对设备进行编程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM