Go to Post The term defensive robot and mechanum wheels do not belong in the same sentence together. - Koko Ed [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-07-2006, 11:19
StargateFan StargateFan is offline
Registered User
no team
 
Join Date: Jul 2006
Location: Pittsburgh
Posts: 7
StargateFan is an unknown quantity at this point
Serial Port Help?

Hello Everyone,
I am a new Vex User this summer and I'm trying to setup my robot to communicate with my computer's serial port. I found and dowloaded the serial drivers posted by Kevin Watson. There was a HEX file already made so before I messed around with anything I downloaded that program to my robot. Now I can't download any other programs to my robot. The IFI loader gives me an error that says I should turn on the power to my robot or connect the serial cable, however both of these are true. Has anyone else had this problem? Can you tell me how to fix it so that I can program my robot again?

Thanks!
  #2   Spotlight this post!  
Unread 03-07-2006, 11:42
Alexa Stott's Avatar
Alexa Stott Alexa Stott is offline
All I do is twin.
AKA: elixir
FRC #0025 (Raider Robotix)
Team Role: College Student
 
Join Date: Oct 2005
Rookie Year: 2006
Location: No. Bruns., NJ/College Park, MD
Posts: 781
Alexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond repute
Send a message via AIM to Alexa Stott
Re: Serial Port Help?

Quote:
Originally Posted by StargateFan
Hello Everyone,
I am a new Vex User this summer and I'm trying to setup my robot to communicate with my computer's serial port. I found and dowloaded the serial drivers posted by Kevin Watson. There was a HEX file already made so before I messed around with anything I downloaded that program to my robot. Now I can't download any other programs to my robot. The IFI loader gives me an error that says I should turn on the power to my robot or connect the serial cable, however both of these are true. Has anyone else had this problem? Can you tell me how to fix it so that I can program my robot again?

Thanks!
Hm...I'd suggest simply checking to make sure that in IFI loader, make sure you have the right port number assigned. I've forgotten to check this many times before, and it's usually the problem I have when I get this error. It could be something as simple as that.
__________________
|Email:alexastott[at]gmail.com|Facebook|@zelixir|Google+|
[University of Maryland Computer Science, Psychology]
[Brunswick Eruption]
  #3   Spotlight this post!  
Unread 03-07-2006, 12:06
StargateFan StargateFan is offline
Registered User
no team
 
Join Date: Jul 2006
Location: Pittsburgh
Posts: 7
StargateFan is an unknown quantity at this point
Re: Serial Port Help?

It's not the serial port. I just checked. I also tried cycling the power on my robot. I even tried changing the battery just in case there was not enough power going to the robot. I still have the same problem.
  #4   Spotlight this post!  
Unread 03-07-2006, 13:15
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,867
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Serial Port Help?

These might be similar problems posted on the Vex Forum
http://www.vexlabs.com/forum/viewtopic.php?t=171
or
http://www.vexlabs.com/forum/viewtopic.php?t=3&start=15
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #5   Spotlight this post!  
Unread 03-07-2006, 13:39
StargateFan StargateFan is offline
Registered User
no team
 
Join Date: Jul 2006
Location: Pittsburgh
Posts: 7
StargateFan is an unknown quantity at this point
Re: Serial Port Help?

When I try to verify the controller, it says "No Controller Found...".

Same thing when I try to download the master code.
  #6   Spotlight this post!  
Unread 03-07-2006, 13:49
Kristian Calhoun's Avatar
Kristian Calhoun Kristian Calhoun is offline
Celebrating 20 years of 25
FRC #0025 (Raider Robotix)
Team Role: Mentor
 
Join Date: Oct 2005
Rookie Year: 2006
Location: No. Brunswick, NJ
Posts: 1,077
Kristian Calhoun has a reputation beyond reputeKristian Calhoun has a reputation beyond reputeKristian Calhoun has a reputation beyond reputeKristian Calhoun has a reputation beyond reputeKristian Calhoun has a reputation beyond reputeKristian Calhoun has a reputation beyond reputeKristian Calhoun has a reputation beyond reputeKristian Calhoun has a reputation beyond reputeKristian Calhoun has a reputation beyond reputeKristian Calhoun has a reputation beyond reputeKristian Calhoun has a reputation beyond repute
Send a message via AIM to Kristian Calhoun
Re: Serial Port Help?

Hmmm...you might want to try a master reset.
__________________
Raider Robotix: Home | Twitter | Facebook | Instagram
Brunswick Eruption: Home | Twitter | Facebook
  #7   Spotlight this post!  
Unread 03-07-2006, 14:07
Alexa Stott's Avatar
Alexa Stott Alexa Stott is offline
All I do is twin.
AKA: elixir
FRC #0025 (Raider Robotix)
Team Role: College Student
 
Join Date: Oct 2005
Rookie Year: 2006
Location: No. Bruns., NJ/College Park, MD
Posts: 781
Alexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond repute
Send a message via AIM to Alexa Stott
Re: Serial Port Help?

Quote:
Originally Posted by calhounian
Hmmm...you might want to try a master reset.
Yeah, I was going to say that. Also, letting it sit for a few hours with no power running through it or anything might just be what it needs. *shrugs*
__________________
|Email:alexastott[at]gmail.com|Facebook|@zelixir|Google+|
[University of Maryland Computer Science, Psychology]
[Brunswick Eruption]
  #8   Spotlight this post!  
Unread 03-07-2006, 14:12
StargateFan StargateFan is offline
Registered User
no team
 
Join Date: Jul 2006
Location: Pittsburgh
Posts: 7
StargateFan is an unknown quantity at this point
Re: Serial Port Help?

Quote:
Originally Posted by calhounian
Hmmm...you might want to try a master reset.
How do I do that?
  #9   Spotlight this post!  
Unread 03-07-2006, 15:31
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,867
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Serial Port Help?

Quote:
Originally Posted by StargateFan
When I try to verify the controller, it says "No Controller Found...".

Same thing when I try to download the master code.
Pushing the program button on the orange converter before you try connecting from the PC doesn't help?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #10   Spotlight this post!  
Unread 03-07-2006, 15:35
StargateFan StargateFan is offline
Registered User
no team
 
Join Date: Jul 2006
Location: Pittsburgh
Posts: 7
StargateFan is an unknown quantity at this point
Re: Serial Port Help?

Nope nothing happens when I press the orange button...
  #11   Spotlight this post!  
Unread 03-07-2006, 22:44
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Serial Port Help?

I know its too late for this time , but you need to be careful which code you download to your microcontroller. Kevin Watson's serial driver hex was compiled for the PIC18F8722, while the vex controller uses the PIC18F8520.

These two processors are very different in that the 8722 has 4 flash memory banks and the 8520 has just one. This could cause the IFI bootloader to write only 25% of the code, or could possibly overwrite its own code during the programming process.

Also, I believe that the VEX controller's I2C packets that communicate between the User and Master (control) processor are constructed with different memory pointer offsets than on the FRC controller.

I'll be checking in on this thread now and then if anyone has questions.

-Q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
  #12   Spotlight this post!  
Unread 05-07-2006, 13:45
StargateFan StargateFan is offline
Registered User
no team
 
Join Date: Jul 2006
Location: Pittsburgh
Posts: 7
StargateFan is an unknown quantity at this point
Re: Serial Port Help?

Quote:
Originally Posted by Qbranch
I know its too late for this time , but you need to be careful which code you download to your microcontroller. Kevin Watson's serial driver hex was compiled for the PIC18F8722, while the vex controller uses the PIC18F8520.

These two processors are very different in that the 8722 has 4 flash memory banks and the 8520 has just one. This could cause the IFI bootloader to write only 25% of the code, or could possibly overwrite its own code during the programming process.
So does that mean I can't fix this at all?
  #13   Spotlight this post!  
Unread 05-07-2006, 14:06
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,867
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Serial Port Help?

I'd try the Vex forums at http://www.vexlabs.com/forum/ to see if they have experienced this problem and have a fix. You might have to return the controller to IFI for them to crack the case and re-flash the master code.

Any warning or indicator lights, if any, showing on the vex controller?
IFI_Loader Port Settings alright?

I've been busy ripping out walls and floors in my kitchen and had my laptop disk crash yesterday, so I didn't get back on this sooner.


__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 05-07-2006 at 14:52.
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
Which Serial Port? crossedheart Programming 4 08-02-2006 11:35
serial port interface AMIRAM Programming 16 22-01-2006 21:16
TTL port to a serial port on a demo board ImmortalAres Programming 16 09-07-2005 23:44
USB to 9-pin serial port (HELP!!) n00b Technical Discussion 10 01-02-2004 21:25
No Serial Port Jeff Waegelin Programming 15 09-01-2003 22:29


All times are GMT -5. The time now is 06:33.

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