Jump to content
43oh

Trouble getting started w/ Blink Example


Recommended Posts

I'm trying to get started w/ the MSP Launchpad using the Energia blink example.  I have Win 7 SP1 64 bit and the MSP-EXP430F5529LP.  I haven't done anything to the board except plug it into USB.

 

The green light is always on. 

 

When I try and upload the blink example the red light flashes once and then about a second later it flashes a lot for about three seconds and then gives one last flash.    I've added in the log below.  I'm sure its something stupid I'm  doing or not doing.  Is there a run command that goes after upload?   I get the same result with either COM4 or COM5 (the two ports that were added when I plugged in the board).  I also get the same result at 16 MHz and 25 MHz.  Pressing the reset button on the board didn't change anything.  I don't see anything that suggests an error condition.

 

Thanks,
Andy

 

[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-g++, -c, -g, -Os, -w, -ffunction-sections, -fdata-sections, -mmcu=msp430f5529, -DF_CPU=25000000L, -MMD, -DARDUINO=101, -DENERGIA=11, -IC:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\msp430\cores\msp430, -IC:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\msp430\variants\launchpad_f5529, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp, -o, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\random.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\twi.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\usci_isr_handler.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\WInterrupts.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\wiring.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\wiring_analog.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\wiring_digital.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\wiring_pulse.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\wiring_shift.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\HardwareSerial.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\IPAddress.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\main.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\new.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Print.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Stream.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\TimerSerial.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Tone.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Wire.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\WMath.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\WString.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-gcc, -Os, -Wl,-gc-sections,-u,main, -mmcu=msp430f5529, -o, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp.elf, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp.o, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, -LC:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp, -lm]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-objcopy, -O, ihex, -R, .eeprom, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp.elf, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp.hex]
Binary sketch size: 1,007 bytes (of a 131,072 byte maximum)
 18
Erasing...
Programming...
Done, 1008 bytes total

Link to post
Share on other sites

@@awfritsch the output of the console does not seem to match to what it needs to be when programming the F5529 LaunchPad. The output that you should see is something like this:

[/Users/rwessels/Documents/projects/Energia/build/macosx/work/Energia.app/Contents/Resources/Java/hardware/tools/msp430/bin/msp430-objcopy, -O, ihex, -R, .eeprom, /var/folders/12/f5964cz549qftytqwjmgrvnw0000gn/T/build7423432778984275106.tmp/Blink.cpp.elf, /var/folders/12/f5964cz549qftytqwjmgrvnw0000gn/T/build7423432778984275106.tmp/Blink.cpp.hex]
Binary sketch size: 1,007 bytes (of a 131,072 byte maximum)
CDCVCC  in[mV]: 3000
VCC out[mV]: 3260
VCC out[mV]: 3319
num of devices 1
JtagID: 91
version ID (0x91): 2955

Can you turn on "Show verbose output during: [x] upload" and post the output of the console after uploading again?

 

Robert

Link to post
Share on other sites

Robert, thanks for looking at this.  Here is the verbose output.

Best regards,
Andy

 

[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-g++, -c, -g, -Os, -w, -ffunction-sections, -fdata-sections, -mmcu=msp430f5529, -DF_CPU=25000000L, -MMD, -DARDUINO=101, -DENERGIA=11, -IC:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\msp430\cores\msp430, -IC:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\msp430\variants\launchpad_f5529, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp, -o, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\random.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\twi.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\usci_isr_handler.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\WInterrupts.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\wiring.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\wiring_analog.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\wiring_digital.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\wiring_pulse.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\wiring_shift.c.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\HardwareSerial.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\IPAddress.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\main.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\new.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Print.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Stream.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\TimerSerial.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Tone.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Wire.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\WMath.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-ar, rcs, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\WString.cpp.o]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-gcc, -Os, -Wl,-gc-sections,-u,main, -mmcu=msp430f5529, -o, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp.elf, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp.o, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\core.a, -LC:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp, -lm]
[C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\bin\msp430-objcopy, -O, ihex, -R, .eeprom, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp.elf, C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp.hex]
Binary sketch size: 1,007 bytes (of a 131,072 byte maximum)
C:\Users\a0315001\Documents\energia2\energia-0101E0011-windows\energia-0101E0011\hardware\tools\msp430\mspdebug\mspdebug tilib --force-reset "prog C:\Users\a0315001\AppData\Local\Temp\build2190257348394755796.tmp\Blink.cpp.hex"
MSPDebug version 0.20 - debugging tool for MSP430 MCUs
Copyright © 2009-2012 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: COM5
MSP430_Initialize: COM5
Firmware version is 30301003
MSP430_VCC: 3000 mV
MSP430_OpenDevice
MSP430_GetFoundDevice
Device: MSP430F5529 (id = 0x0030)
8 breakpoints available
MSP430_EEM_Init
Chip ID data: 55 29 18
Erasing...
Programming...
Writing  880 bytes at 4400...
Writing  128 bytes at ff80...
Done, 1008 bytes total
MSP430_Run
MSP430_Close

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...