|
Re: Rookie help
Quote:
|
Originally Posted by doyler
Thank you, i will fiddle and learn from that
1 more question (i hope) how and what do i upload to my controller now?
|
Here are the basic steps: - You’ll need to install MPLAB, IFI_Loader, and the mcc18 compiler on your computer.
- Download the default EDU code from http://innovationfirst.com/FIRSTRobo...umentation.htm (this will have a default.hex file that can be downloaded into the controller without having to edit anything with MPLAB) Save the original .zip file so you can restore the default code if some edit goes terribly wrong.
To edit the default code: - Start MPLAB
- Select File -> Open Workspace…
- Browse to the EDU default code folder
- Open Default.mcw
- Make your code changes
- Use the “Build All” icon or select Project -> Build All (this will create a .hex file)
Start IFI_Loader - Browse to the default code folder
- Select “Default.hex”
- Connect the serial cable from your computer to the EDU controller
- Turn on the EDU controller
- Press the “Prog” button until the program light turns orange
- Click on “Download” in IFI_Loader
Your program will start running.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 21-12-2004 at 08:29.
Reason: Added innovationfirst link and clarified notes for later readers
|