MSP430-Value-LineLaunchPad-software

所属分类:单片机开发
开发工具:C/C++
文件大小:4691KB
下载次数:8
上传日期:2013-03-18 21:22:50
上 传 者SeanXW
说明:   MSP430 LaunchPad 实验程序,包括驱动,对初学者很有帮助。
(MSP430 Value LineLaunchPad software)

文件列表:
MSP-EXP430G2-Launchpad User Experience (0, 2011-12-31)
MSP-EXP430G2-Launchpad User Experience\bin (0, 2011-12-31)
MSP-EXP430G2-Launchpad User Experience\bin\LaunchPad_Temp_GUI (0, 2011-12-31)
MSP-EXP430G2-Launchpad User Experience\bin\LaunchPad_Temp_GUI\LaunchPad_Temp_GUI.exe (21602, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\bin\LaunchPad_Temp_GUI\lib (0, 2011-12-31)
MSP-EXP430G2-Launchpad User Experience\bin\LaunchPad_Temp_GUI\lib\args.txt (79, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\bin\LaunchPad_Temp_GUI\lib\core.jar (200379, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\bin\LaunchPad_Temp_GUI\lib\LaunchPad_Temp_GUI.jar (198871, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\bin\LaunchPad_Temp_GUI\lib\RXTXcomm.jar (59464, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\bin\LaunchPad_Temp_GUI\lib\serial.jar (4132, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\bin\LaunchPad_Temp_GUI\rxtxSerial.dll (77759, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\bin\LaunchPad_Temp_GUI\source (0, 2011-12-31)
MSP-EXP430G2-Launchpad User Experience\bin\LaunchPad_Temp_GUI\source\LaunchPad_Temp_GUI.java (2925, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\bin\LaunchPad_Temp_GUI\source\LaunchPad_Temp_GUI.pde (2302, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\bin\MSP-EXP430G2-LaunchPad (0, 2011-12-31)
MSP-EXP430G2-Launchpad User Experience\bin\MSP-EXP430G2-LaunchPad\HIL.dll (32768, 2011-07-13)
MSP-EXP430G2-Launchpad User Experience\bin\MSP-EXP430G2-LaunchPad\MSP-EXP430G2-Launchpad.txt (4440, 2011-12-30)
MSP-EXP430G2-Launchpad User Experience\bin\MSP-EXP430G2-LaunchPad\msp430.dll (2765824, 2011-11-07)
MSP-EXP430G2-Launchpad User Experience\bin\MSP-EXP430G2-LaunchPad\MSP430Flasher.bat (454, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\bin\MSP-EXP430G2-LaunchPad\MSP430Flasher.exe (295041, 2011-10-08)
MSP-EXP430G2-Launchpad User Experience\bin\MSP-EXP430G2-LaunchPad\MSP430Flasher_Doc.pdf (290010, 2011-05-11)
MSP-EXP430G2-Launchpad User Experience\LaunchPad User Experience Manifest.pdf (181210, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\src (0, 2011-12-31)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI (0, 2011-12-31)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\application.windows (0, 2011-12-31)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\application.windows\LaunchPad_Temp_GUI.exe (21602, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\application.windows\lib (0, 2011-12-31)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\application.windows\lib\args.txt (79, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\application.windows\lib\core.jar (183020, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\application.windows\lib\LaunchPad_Temp_GUI.jar (198862, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\application.windows\lib\RXTXcomm.jar (60866, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\application.windows\lib\serial.jar (4132, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\application.windows\rxtxSerial.dll (122880, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\application.windows\source (0, 2011-12-31)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\application.windows\source\LaunchPad_Temp_GUI.java (4760, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\application.windows\source\LaunchPad_Temp_GUI.pde (4139, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\data (0, 2011-12-31)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\data\LaunchPad.png (173613, 2011-10-06)
MSP-EXP430G2-Launchpad User Experience\src\LaunchPad_Temp_GUI\LaunchPad_Temp_GUI.pde (4139, 2011-10-06)
... ...

/*------------------------------------------------------------------------- | rxtx is a native interface to serial ports in java. | Copyright 1997-2004 by Trent Jarvi taj@www.linux.org.uk. | | This library is free software; you can redistribute it and/or | modify it under the terms of the GNU Library General Public | License as published by the Free Software Foundation; either | version 2 of the License, or (at your option) any later version. | | This library is distributed in the hope that it will be useful, | but WITHOUT ANY WARRANTY; without even the implied warranty of | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | Library General Public License for more details. | | You should have received a copy of the GNU Library General Public | License along with this library; if not, write to the Free | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA --------------------------------------------------------------------------*/ This is README Wed Feb 19 06:33:17 EST 2003 STATUS: 1) OS's The library has been tested on redhat 8.0 glinux write writes and read reads. Little else has been tested but things should work. 2) TODO: - test on other Unix Like systems - bring termios.c over to give win32 support - autoconf to determine include files INTRODUCTION CNI is a new way of mixing Java and native code used by the GNU gcj compiler. The CNI is a faster way to have native and Java code interact. One can build fast, stand alone applications using this code. Possible applications include low latency, embeded and use with other native projects. This directory contains an initial hack at getting rxtx (www.rxtx.org) working with the the GNU gcj using the CNI. Links: http://www.rxtx.org http://gcc.gnu.org/java http://gcc.gnu.org/java/papers/cni/t1.html BUILDING There isn't much here besides the library. To get started, make sure you have gcj installed. make # build the library and Simple -- a small application ./Simple runs the test application. If there is a loopback on /dev/ttyS1, The Simple application will write to the port and then read back the data. If you get "undefined reference to `function_name' you are missing a library EXAMPLE Script started on Wed Feb 19 06:16:07 2003 [root@servertrent CNI]# make rm -f Simple.java gcj -d . -C *.java for i in gnu/io/*.class;do gcjh -d . `echo $i|sed s/.class//g`;done g++ -Wall -g -O2 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -O2 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -I . -c SerialImp.c SerialImp.c: In member function `void gnu::io::RXTXPort::writeArray(JArray*, __java_int, __java_int, __java_boolean)': SerialImp.c:1376: warning: label `fail' defined but not used g++ -Wall -g -O2 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -O2 -D_POSIX_SOURCE -D_BSD_SOURCE -D__need_timespec -I . -c fuserImp.c (cd gnu/io && gcj -g -classpath ../.. -d gnu/io -c *.class ) g++ -g -shared gnu/io/*.o *.o -lpthread -Wl,-soname -Wl,librxtx-0.0-1.so -o librxtx-0.0-1.so rm -f librxtx.so && ln -s librxtx-0.0-1.so librxtx.so ar rs librxtx.a gnu/io/*.o *.o g++ -g -Wall test.c -static -L. -lrxtx -lgcj -lpthread -ldl -lz -o test #gcj *.o librxtx.a -static -lgcj -lpthread -ldl -lz -o Simple --main=Simple ln -s Simple.Java Simple.java gcj --classpath RXTX.jar -d . -C Simple.java rm Simple.java gcj -g -classpath RXTX.jar -d . -c Simple.class gcj -g *.o gnu/io/*.o -static -lgcj -lpthread -ldl -lz -o Simple --main=Simple [root@servertrent CNI]# ./Simple Getting PortIdentifiers Devel Library ========================================= Native lib Version = RXTX-2.1-7 Java lib Version = RXTX-2.1-7 RXTX Warning: Removing stale lock file. /var/lock/LCK..ttyS1 writing output Got Data Available Printing read() results 123456789 [root@servertrent CNI]# file Simple Simple: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, not stripped [root@servertrent CNI]# exit exit Script done on Wed Feb 19 06:16:35 2003 -- Trent Jarvi taj@www.linux.org.uk

近期下载者

相关文件


收藏者