Log in

View Full Version : Vex Programming with MPLAB and IF loader


Joohoo
26-05-2006, 19:13
I Know this isn't the exact purpose for this forum but there really isn't any other place to put this

I currently have a vex project that was given to me by a fellow team mate and since I am the the team's programmer asked me to load it onto his vex kiwi bot shown here (http://www.chiefdelphi.com/media/photos/24505). Is it possible to load the program onto the vex controller with ifi loader or do I have to use easy-c in some way??

billbo911
26-05-2006, 20:07
I Know this isn't the exact purpose for this forum but there really isn't any other place to put this

I currently have a vex project that was given to me by a fellow team mate and since I am the the team's programmer asked me to load it onto his vex kiwi bot shown here (http://www.chiefdelphi.com/media/photos/24505). Is it possible to load the program onto the vex controller with ifi loader or do I have to use easy-c in some way??
Classic answer "it depends".
Was it coded with EasyC or Mplab? If EasyC, then use EasyC. If Mplab, use the IFI loader, but make certain you have the correct version. (The latest version will work fine).

tacman1123
29-05-2006, 17:40
On a related topic, is it possible to run the loader from the command line, or to at least pass the hex file name to the prompt?

For example:

iloader.exe -f mycode.hex

In EasyC the recently compiled file is pre-loaded in the box, but it appears that iloader is a separate process, so I suspect there's some way to pass it. I thought maybe modifying the .ini file would work, but I don't see an obvious way from poking around there.

Thx,

Tac

swe9
27-07-2006, 18:18
Inside the makefile from http://jgarbers.com/robotics/cvexsample.zip there is a recipe for invoking iLoader.exe. It looks like this:

iLoader.exe /D=yourfile /H /T

I don't know what the h and t options do, but the invocation does what you're looking for.

On a related topic, is it possible to run the loader from the command line, or to at least pass the hex file name to the prompt?

For example:

iloader.exe -f mycode.hex

In EasyC the recently compiled file is pre-loaded in the box, but it appears that iloader is a separate process, so I suspect there's some way to pass it. I thought maybe modifying the .ini file would work, but I don't see an obvious way from poking around there.

Thx,

Tac