Go to Post It's kind of magical how I went from legos to replacing most of the iron in my blood with aluminum, and all thanks to my elementary school science teacher. - Astrokid248 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-02-2005, 20:58
zuckie13 zuckie13 is offline
Registered User
AKA: Matt Zuckerman
FRC #0053 (Area 53 - Alien Cow Abductors)
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2004
Location: Greenbelt, MD
Posts: 4
zuckie13 is an unknown quantity at this point
Problem downloading any Camera code

We've run into a weird problem when downloading any code with camera code in it (including the default hex file included with the 2.4 default code). Any time we download this code, we get a code error from the controller. Dashboard says it's "Invalid CONTROL or CURRENT MODE byte". Code that doesn't use the camera works fine. Weird thing is, a short bit after downloading the code and seeing the error, the voltage on the oi reads around 8v and gives a low voltage warning (note that the battery is fully charged to 12+ volts), and the backup is also fully charged.

We are using:
FRC controller updated with version 10 master firmware
IFI Loader 1.0.10 - current version of this

If anyone has seen this and can offer a suggestion it would be of great help.
  #2   Spotlight this post!  
Unread 04-02-2005, 22:32
Todd's Avatar
Todd Todd is offline
Software Engineer
FRC #1071 (Team Max)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Connecticut, Wolcott
Posts: 51
Todd is just really niceTodd is just really niceTodd is just really niceTodd is just really niceTodd is just really nice
Re: Problem downloading any Camera code

We've encountered the exact same problem, using a 2004 robot controller and all latest software with 2005 2.4 default code. Drive motors are connected to pwms 11 and 12 as specified. Encountering code violation lights, the "Invalid CONTROL or CURRENT MODE byte" message on dashboard, as well as the voltage drop on the main battery. The controller also has the latest master code.
  #3   Spotlight this post!  
Unread 07-02-2005, 09:09
zuckie13 zuckie13 is offline
Registered User
AKA: Matt Zuckerman
FRC #0053 (Area 53 - Alien Cow Abductors)
Team Role: Mentor
 
Join Date: Nov 2004
Rookie Year: 2004
Location: Greenbelt, MD
Posts: 4
zuckie13 is an unknown quantity at this point
Re: Problem downloading any Camera code

I can't explain why this works, but, the same code that gave us the above errors downloaded and ran without issue when we used a different laptop.

The laptop that failed was a Dell Inspiron(I don't remember the model off the top of my head, but slightly older, maybe 3 years old) running Windows 2000.

The one that works is an IBM Thinkpad T22 900Mhz also running Windows 2000.

Both were using IFI Loader 1.0.10 and the same exact .hex files.
  #4   Spotlight this post!  
Unread 07-02-2005, 09:55
adamdb adamdb is offline
Registered User
#1583
 
Join Date: Feb 2005
Location: Parker, CO
Posts: 63
adamdb has a spectacular aura aboutadamdb has a spectacular aura aboutadamdb has a spectacular aura about
Re: Problem downloading any Camera code

Maybe it's a serial port issue? I would try setting the baud rate lower on both the controller and laptop and see if that changes anything.

Adam
  #5   Spotlight this post!  
Unread 07-02-2005, 20:32
Todd's Avatar
Todd Todd is offline
Software Engineer
FRC #1071 (Team Max)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Connecticut, Wolcott
Posts: 51
Todd is just really niceTodd is just really niceTodd is just really niceTodd is just really niceTodd is just really nice
Re: Problem downloading any Camera code

Not sure what the problem was, but the code seems to work properly on our 2005 robot controller, using same computer and serial port.

Last edited by Todd : 07-02-2005 at 21:23.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kevin Watson's Kick-off Demo Code! Mr. Lim Programming 27 22-01-2005 03:38
Camera Color Recognition Problem? AnkurG Technical Discussion 3 20-01-2005 21:52
Game Field Camera Calibration Matthew_H Regional Competitions 2 15-01-2005 23:09
Camera Problem n_0163 Electrical 3 14-01-2005 21:10
A Centralized Code Dump? colt527 Programming 29 01-01-2005 16:07


All times are GMT -5. The time now is 09:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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