Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Code error on RC after downloading "bells and whistles" version of Kevins camera code (http://www.chiefdelphi.com/forums/showthread.php?t=41468)

DanDon 10-01-2006 11:12

Code error on RC after downloading "bells and whistles" version of Kevins camera code
 
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

Re: Code error on RC after downloading "bells and whistles" version of Kevins camera
 
Have you been successful in downloading anything at all to this controller? In other words, have you tried the 2006 default code from IFI?

Kevin Watson 10-01-2006 12:02

Re: Code error on RC after downloading "bells and whistles" version of Kevins camera code
 
Quote:

Originally Posted by dhoizner
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

Re: Code error on RC after downloading "bells and whistles" version of Kevins camera
 
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

Re: Code error on RC after downloading "bells and whistles" version of Kevins camera code
 
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

Re: Code error on RC after downloading "bells and whistles" version of Kevins camera
 
Quote:

Originally Posted by dhoizner
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

Re: Code error on RC after downloading "bells and whistles" version of Kevins camera
 
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,


All times are GMT -5. The time now is 10:56.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi