AREXX.COM
http://www.arexx.com/forum/

Robotloader voor RaspberryPi
http://www.arexx.com/forum/viewtopic.php?f=25&t=2668
Page 1 of 1

Author:  ToontjeHoger [ Sun Mar 22, 2015 12:51 pm ]
Post subject:  Robotloader voor RaspberryPi

Hallo,
Kunnen jullie mij voorzien van een versie van RobotLoader die geschikt is voor een RaspberryPi2 (ARM-processor)? Of eventueel de sourcecode met compileer-instructies?

Author:  SlyD [ Mon Mar 23, 2015 10:51 am ]
Post subject:  Re: Robotloader voor RaspberryPi

Hi,

you can use RobotLoader directly.
Install a Java JRE.
Then:
sudo apt-get install librxtx-java (may have changed, search for rxtx )

Then try:
java -jar RobotLoader_lib.jar -c -port=/dev/ttyUSB0 -id

If this does not work, copy the installed versions of librxtxSerial.so and RXTXcomm.jar to the RobotLoader/lib folder, then
try:
java -Djava.library.path="./lib" -jar RobotLoader_lib.jar -c -port=/dev/ttyUSB0 -id

You may also have to change the access rights to /dev/ttyUSB0 - or whatever the USB Interface is called on your device.

Commandline options:
Code:
################################################################
RobotLoader - Commandline Options
-c | -command : Enable Commandline Mode
-h | -help : Show this help message
-port=<PORT> : specify which port to use
               Windows with JD2XX: USB0, USB1, ...
               Windows with RXTX: COM0, COM1, ...
               Linux with RXTX: /dev/ttyUSB0, /dev/ttyUSB1, ...
-e : Erase Memory
-hex=<FILE> : Upload <FILE>, you must specify the complete path!
-s : Start Program (after upload)
-id : Get Infos from connected Board
###############################################################


Best Regards,
SlyD

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/