Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: MSP430 Hangs BIOS, and then I get "Unknown Device" in device manager in Windows 7

$
0
0
I picked pieces from different demos off the USB package to create my own program.My MSP430 emulates a keyboard and COM Port. Here is my boot up sequence: USB_setup(TRUE,TRUE); initRTC(); initPorts(); initUART(); initI2C(); Keyboard_Init(); initADC(); initPMM(); __enable_interrupt(); This is a custom board, on a custom built system. The PC the MSP is connected to runs embedded Windows 7. On boot up, if it chooses to happen, it will hang at BIOS for a little bit, but will continue to boot, eventually. Device manager then reports that there is an Unknown Device. Code 43. It appears to be random. We cannot reproduce it consistently. As of now, it appears to happen once a day, in the morning when we get to work. If we power everything down and reboot after the initial boot up, it will run fine. BIOS does not hang. The system we have it on runs on a large 16 volt battery. So, the computer and my custom board run off the battery. I shut off power to everything with one switch. When we were testing one day, it would do this every other boot up. Recently, its just once a day. Like I said, it appears to be very random. When designing the circuit card, I used the schematics from the demo board as guidance: 27 ohm in-line resistors on both USB lines, 10 pF caps, and DP attached to PUR by 1K resistor. The MSP430 is self-powered, and runs off a 3.3V regulator. DVcc1 is connected to 3.3V, with a 10uF cap, and a 100nF ceramic cap. DVcc2 is conncected to 3.3V and a 100 nF ceramic cap. By the way, the 500 ms delay I put in USB_init() did not solve my problem.

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>