Log in

View Full Version : Code error on RC after downloading "bells and whistles" version of Kevins camera code


DanDon
10-01-2006, 11:12
Hi all,

After making sure that the camera was connected properly (Pan and tilt pwms connected to pwms 01 and 02, TTL adapter connected properly, and cam's power connected to an unused pwm), I downloaded Kevin's "bells and whistles" camera code to the robot controller. After being downloaded with the correct version of IFI Loader, the IFI Terminal was blank and the RC was showing a code error.

Any ideas of what can be wrong?

Thanks,

Mike Betts
10-01-2006, 11:57
Have you been successful in downloading anything at all to this controller? In other words, have you tried the 2006 default code (http://www.ifirobotics.com/rc.shtml#Programming) from IFI?

Kevin Watson
10-01-2006, 12:02
Hi all,

After making sure that the camera was connected properly (Pan and tilt pwms connected to pwms 01 and 02, TTL adapter connected properly, and cam's power connected to an unused pwm), I downloaded Kevin's "bells and whistles" camera code to the robot controller. After being downloaded with the correct version of IFI Loader, the IFI Terminal was blank and the RC was showing a code error.

Any ideas of what can be wrong?

Thanks,You're using a 2006 controller? Did it die immediately, with nothing on the terminal screen? Are you using a USB to RS232 converter?

-Kevin

DanDon
10-01-2006, 15:19
Sorry for making it not clear, but I'm using a 2005 controller that is functioning (when I download last years program onto it, it runs fine).

Any ideas?

Tom Bottiglieri
10-01-2006, 15:27
Are you using the updated versions of MPLAB and CBOT Compiler? The new processor for 2006 requires a different compiler than past years.

Kevin Watson
10-01-2006, 16:43
Sorry for making it not clear, but I'm using a 2005 controller that is functioning (when I download last years program onto it, it runs fine).

Any ideas?The code is built for the 2006 controller, which has a different CPU in it. Get a copy of the 2005 default code and follow the instructions in the various readme files to get the code working on your controller.

-Kevin

DanDon
10-01-2006, 18:07
Hi Kevin, we tried the 2006 controller and it worked.

The reason I tried on last years controller was because in the readme files it said that the code was usable with both the new and old controllers. I guess I misunderstood and it was really the camera module in the code that was portable.

Sorry for the mixup,