Jump to content
curtis63

Could not find device (or device not supported)

Recommended Posts

I'm trying to use a Launchpad 430 to program a board that has an MSP430G2553IRHB32R.  I am doing this on a Windows 10 machine.  I've removed the jumpers on the Launchpad and connected VCC and Ground to the other board.  I've also connected RST and TEST pins.  I created a simple blinky sketch which runs just fine with a stand alone Launchpad 430.  However, when I attempt to program my custom board with the same code, I get the following error.

 

 

MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: HID0003:COM5
MSP430_Initialize: HID0003:COM5
Firmware version is 20409001
MSP430_VCC: 3000 mV
MSP430_OpenDevice
tilib: MSP430_OpenDevice: Could not find device (or device not supported) (error = 4)
tilib: device initialization failed
the selected serial port tilib: device initialization failed
 does not exist or your board is not connected
 
I have selected the MSP-EXP430G2553LP board and COM5.  I cannot seem to get it to program my other board.  I've tried several different USB cables.  Used 2 different computers and 2 different Launchpads.  I even attempted to program a different custom board that I had been able to program before.
 
I'm using the latest version 18 of energia.  Can somebody point me in the right direction as to how to solve this problem and be able to program my custom board?
 
After that, does anybody know what I need to do to get the board.txt and pins file set up to work correctly with my 32 pin MSP430G2553... chip?
 
Thanks for the help,
Curtis

Share this post


Link to post
Share on other sites

Ok, so I figured it out.  The problem was C16 !!!  For production, you want a 2200 pF capacitor between RST and Ground.  This makes it impossible for the chip to be reprogrammed (unless disconnected).

 

So, for development, REMOVE this capacitor.  RST on the chip should NOT be connected to ANYTHING except for the programming board.

 

My problem was that I had RST connected to Ground through a 2200pF capacitor.  This made it so Energia did not recognize the chip for programming...

 

And it gave me the following output when I attempted to upload to my device:

 

MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: HID0003:COM5
MSP430_Initialize: HID0003:COM5
Firmware version is 20409001
MSP430_VCC: 3000 mV
MSP430_OpenDevice
tilib: MSP430_OpenDevice: Could not find device (or device not supported) (error = 4)
tilib: device initialization failed
the selected serial port tilib: device initialization failed
 does not exist or your board is not connected

Share this post


Link to post
Share on other sites

Connect the RST pin to VCC through a 47k pullup resistor and to ground through a 1 nF capacitor.  The following is from the MSP430x2xx Family User's Guide:

post-45284-0-37915200-1482020719_thumb.jpg

 

The LaunchPad User's Guide shows this schematically in Figure 8.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×