Go to Post I don't even care if it doesn't work as well as they would like. YOU MADE IT. You may never use it, but you made it. AWESOME. Every year there has been 1 team (sometimes 2) that has done something that really stood out. This year 1 team has done 2 things that stand out. Thanks guys. - rees2001 [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 23-12-2009, 19:07
BEEKMAN BEEKMAN is offline
Registered User
AKA: Brendan McLeod
FRC #0190 (Gompei and the Herd)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Londonderry, NH
Posts: 138
BEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to beholdBEEKMAN is a splendid one to behold
Serial COM with old IFI controller

My team is buliding a robot with the old IFI controller system (2005 model i think) that requres serial communications with a computer. So far, we've had no luck with the serial libraries included with the default code or custom libraries (found at http://www.kevin.org/frc/).

Can anyone provide code samples demonstrating reading and writing raw data to the Program port?

Thanks in advance
  #2   Spotlight this post!  
Unread 23-12-2009, 20:34
Tristan Lall's Avatar
Tristan Lall Tristan Lall is offline
Registered User
FRC #0188 (Woburn Robotics)
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Toronto, ON
Posts: 2,484
Tristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond reputeTristan Lall has a reputation beyond repute
Re: Serial COM with old IFI controller

If it's a 2005 model IFI RC, have a look at Kevin Watson's 2005 page. (Newer versions of the code aren't necessarily going to work on older hardware, though I don't know if there are specific issues with serial ports.) It has "a fully buffered, full-duplex, interrupt-driven serial port driver that can be used with either or both on-board serial ports".
  #3   Spotlight this post!  
Unread 23-12-2009, 21:12
Jim E Jim E is offline
Registered User
FRC #1523 (M.A.R.S.)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Lantana, FL
Posts: 188
Jim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond repute
Re: Serial COM with old IFI controller

The 2005 controller uses the 8520 processor. You will need to make sure the libraries match that processor. The newer (2006 and up) controllers use the 8722 processor.

The baud rate settings for the programming port was 155.2kb 8-1-N I think.

You also need a standard 9-pin serial port and cable. The problem may be in the cable itself. Some serial cables are not standard 1-1 pinouts. HP was also finicky with having non-standard RS232 port pinouts. A USB to serial converter may not work in this application.

i hope this helps
__________________
Team MARS = 1.523 AU from the SUN!

Jim E.
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
Open COM Serial Port knine143 Programming 9 05-05-2008 07:45
Using auxiliary joystick buttons with IFI controller. Eric W. Jones Programming 9 03-12-2006 22:26
Using the IFI loader with a USB-to-serial adapter? Eldarion Programming 7 26-01-2006 23:33
Does the new IFI Loader work with the old Firmware? gnormhurst Programming 2 17-01-2005 20:11
ifi loader with no serial port Jared Stofflett Programming 4 23-02-2004 22:50


All times are GMT -5. The time now is 01:11.

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