Jump to content
43oh

goofball

Members
  • Content Count

    5
  • Joined

  • Last visited

Everything posted by goofball

  1. splutter. well, it's easy, i guess, if you're paying attention. but if you're like me, then, it's not, evidently. this code works well enough to read the accelerometer serial example. obviously, it's trivial.... the one gotcha that i saw was that this does nothing if the serial monitor in energia is also watching the output. so it may seem like it's not working. # include <stdio.h> #define LL 20 int main(void) { char card[LL]; int nlines=0; char *cgot; FILE *serial; serial = fopen( "/dev/ttyACM1","r" ); if( serial != NULL ) { printf("not null....\n"); while( nline
  2. sheesh. is my face red. okay, finally figured out what the magnifying glass in the upper right corner is for. though i'd tried it before and the window just sat there, this time i went to tools->port and tried all of the ports, and ... ta-da! there it was. i guess my next trick will be to try to read the serial line from a program on my "main" computer. sigh. j.
  3. Linux ws.jgscrater.com 3.10.0-327.36.3.el7.x86_64 #1 SMP Mon Oct 24 16:09:20 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux MSP430f5529LP educational boosterpack mark 2 lsusb output: # w/ launchpad in Bus 001 Device 004: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub Bus 001 Device 002: ID 0409:005a NEC Corp. HighSpeed Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub # w/ launchpad in Bus 001 Device 005: ID 2047:0013 Texas Instruments Bus 001 Device 003: ID 046d:c31c Logitech, Inc. Keyboard K120 I've run
  4. yup. that was it. yum -y install glibc.i686 modified the error it got, it complained about a specific library. locate libgcc_s.so.1 rpm -q --whatprovides /usr/lib64/libgcc_s.so.1 yum -y install libgcc.i686 and now it works. Thanks, Robert. FWIW it was using ttyACM0 as the [serial] port. j.
  5. java.io.IOException: Cannot run program "/VOLUMES/gizmonics/work/msp430/energia-1.6.10E18/hardware/tools/DSLite/DebugServer/bin/DSLite": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at java.lang.Runtime.exec(Runtime.java:620) at java.lang.Runtime.exec(Runtime.java:485) at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11) at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:130) at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:209) at cc.arduino.Uplo
×
×
  • Create New...