This seems like the right topic for my question. Suddenly the Energia IDE is failing to compile code that. except for a couple variable edits (value, not name) It ran on the very same board the day before.
I've got compile and upload set to "verbose" and there's a ton of errors before the compile fails.
Since there's a code button I'll post it
C:\Users\xxxxxxxx\Desktop\energia-0101e0011/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: SSR_Exerciser_2D_Modified.cpp.elf section `.text' will not fit in region `rom'
C:\Users\xxxxxxxx\Desktop\desktop/energia-0101e0011/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: section .vectors loaded at [0000ffe0,0000ffff] overlaps section .text loaded at [0000f800,00011091]
C:\Users\xxxxxxxx\Desktop\energia-0101e0011/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3/../../../../msp430/bin/ld.exe: region `rom' overflowed by 4776 bytes
c:/users/uber.useruber-pc/desktop/energia-0101e0011/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libcrt0.a(_copy_data.o): In function `__do_copy_data':
/root/mspgcc-20120406/BUILD/gcc/gcc/../../../gcc-4.6.3/gcc/config/msp430/crt0.S:195: relocation truncated to fit: R_MSP430_16_BYTE against symbol `__data_load_start' defined in *ABS* section in SSR_Exerciser_2D_Modified.cpp.elf
core.a(main.cpp.o): In function `main':
C:\Users\xxxxxxxx\Desktop\Desktop\energia-0101E0011\hardware\msp430\cores\msp430/main.cpp:11: relocation truncated to fit: R_MSP430_16_BYTE against symbol `serialEventRun()' defined in .text._Z14serialEventRunv section in core.a(TimerSerial.cpp.o)
C:\Users\xxxxxxxx\Desktop\energia-0101E0011\hardware\msp430\cores\msp430/main.cpp:11: relocation truncated to fit: R_MSP430_16 against symbol `serialEventRun()' defined in .text._Z14serialEventRunv section in core.a(TimerSerial.cpp.o)
SSR_Exerciser_2D_Modified.cpp.o: In function `setup':
C:\Users\xxxxxxxx\Desktop\energia-0101E0011/SSR_Exerciser_2D_Modified.ino:95: relocation truncated to fit: R_MSP430_16 against symbol `TimerSerial::begin(unsigned long)' defined in .text._ZN11TimerSerial5beginEm section in core.a(TimerSerial.cpp.o)
SSR_Exerciser_2D_Modified.cpp.o: In function `loop':
C:\Users\xxxxxxxx\Desktop\energia-0101E0011/SSR_Exerciser_2D_Modified.ino:100: relocation truncated to fit: R_MSP430_16 against symbol `__floatunsisf' defined in .text section in c:/users/uber.useruber-pc/desktop/energia-0101e0011/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libgcc.a(_usi_to_sf.o)
C:\Users\xxxxxxxx\Desktop\Desktop\energia-0101E0011/SSR_Exerciser_2D_Modified.ino:102: relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'
C:\Users\xxxxxxxx\Desktop\energia-0101E0011/SSR_Exerciser_2D_Modified.ino:103: relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'
C:\Users\xxxxxxxx\Desktop\energia-0101E0011/SSR_Exerciser_2D_Modified.ino:104: relocation truncated to fit: R_MSP430_16 against symbol `Print::print(double, int)' defined in .text._ZN5Print5printEdi section in core.a(Print.cpp.o)
C:\Users\xxxxxxxx\Desktop\energia-0101E0011/SSR_Exerciser_2D_Modified.ino:105: relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'
C:\Users\xxxxxxxx\Desktop\energia-0101E0011/SSR_Exerciser_2D_Modified.ino:114: relocation truncated to fit: R_MSP430_16 against symbol `__divsf3' defined in .text section in c:/users/uber.useruber-pc/desktop/energia-0101e0011/hardware/tools/msp430/bin/../lib/gcc/msp430/4.6.3\libgcc.a(_div_sf.o)
C:\Users\xxxxxxxx\Desktop\energia-0101E0011/SSR_Exerciser_2D_Modified.ino:119: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
Any ideas what's happening here?
A friend locally also suggested that the problem might be my USB port.
It does seem one of the front ones is less problematic than the other in this situation.
I was thinking perhaps "noisy" power or signal, but brownout
never occurred to me.
Do these things take a lot of current to flash?
I'll certainly try a powered USB hub and/or as Nick suggests, a cord directly to a USB port on the back of my desktop.
I can understand about the long ribbon cabling connecting these front USB ports to jacks near the back side of the motherboard -- and routed past some potentially noisy stuff come to think of it...
Good ideas! Thanks and I'll let you know if that helped.