View Single Post
  #1   Spotlight this post!  
Unread 09-01-2004, 16:56
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
Linux: steps to program fullsize RC robot

Post here if you need help and this doesn't work.
Current site: http://ryan.scv.net/x2545/pic

Code:
Documentation IFI Linux PICloader setup Fullsize RC with MCC18 compiler:

Non-root setup (advanced users):
Same steps as "root setup"
 Additional steps
 edit ~/picloader/code/Makefile # change user directory to yours
 chmod permissions <device>     # on startup
 cp picloader /usr/bin          # cp picloader to binary directory as root

Gentoo (root setup):
cd ~/
wget http://ryan.scv.net/x2545/picloader/...der.0.2.tar.gz # get the file
emerge wine                        # installs package
wine                               # installs wine basic setup information
mount /dev/cdrom /mnt/cdrom        # pipe the cdrom to /mnt/cdrom
cd /mnt/cdrom                      # change local directory to /mnt/cdrom
wine MPLAB_C18.exe                 # start the install, install it to default directory c:/mcc18
cd ~/                              # change to home directory
(editor) ~/.wine/config            # add path
@ 77
- "Path" = "c:\\Windows;c:\\Windows\\System;f:\\;h:\\;z:\\"
+ "Path" = "c:\\Windows;c:\\Windows\\System;f:\\;h:\\;z:\\;c:\\mcc18\\bin;h:\\ifi-picloader\\code"
@ 90
- "Windows" = "win98"
+ "Windows" = "winxp"

cd ~/
tar -xzvf ifi-picloader.0.2.tar.gz # extract the file
cd ifi-picloader                   #
make                               # compile the Linux programmer for the RC
cd code                            # change to where all the code should be done for your robot
make                               # compile the code in the code directory
picloader FrcCode.hex <device>     # write program to serial device, usually /dev/ttyS0 com1

# Device samples
# Com1 = "/dev/ttyS0"
# Com2 = "/dev/ttyS1"
# Com3 = "/dev/ttyS2"
# USBSerial (pl2303) = "/dev/usb/tts/0"
Thanks,
Ryan Waliany
__________________
R