Go to Post You know you're addicted to FIRST when robots are sexy! - Pat Arnold [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 05-02-2010, 21:54
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,532
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Code instantly terminates on crio

Brian, you have to run the driver station for the robot to function.

Let's start over.

Did you perform the bench test as spelled out in the getting started manual?
Reply With Quote
  #17   Spotlight this post!  
Unread 05-02-2010, 22:00
simpsonboy77 simpsonboy77 is offline
Registered User
AKA: Garrett Dicken
FRC #0041 (RoboWarriors)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: New Jersey
Posts: 88
simpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond repute
Re: Code instantly terminates on crio

Quote:
Originally Posted by Alan Anderson View Post
what version of the cRIO image is loaded?
It should be something along the lines of 2010*blah blah blah*V19. The V19 is very important, and we would like a response about it. If you are unsure what you have, reimage the cRio, and make sure you select the correct environment (C/C++ Windriver). Check the format checkbox, and begin the reimage. Make sure to do this on a fresh battery.

Check your IP settings.
Check that you are trying to load the correct file, with the correct team #. To check this, open windriver, and under window select preferences. Then click "FIRST Downloader Preferences"

I had problems the first few days getting the cRio to accept code. I found it invaluable to look at the RS232 debug output. To read this use your favorite terminal service (hyperterminal is default on Windows), and connect via serial with a NULL MODEM cable. My team had no null modem cables, so we purchased a converter, and it works great. Be sure the console out DIP switch is set to on.

You will know when it is receiving data because the cRio spits out a lot of data while booting.

As for copying text, screenshots work.

EDIT: By using the driver station, don't use the 2009 kwikbyte thing. Use the classmate PC and login as the driver. There is also an option to install the driver station on another laptop. One must be on for the cRio to work
__________________
2017 Shenzhen, China Regional CSA
2013 - Present MAR Control System Adviser and FTAA
2009 - Present Programming an Electrical Mentor Team 41
2007 - 2008 Team 41 Lead Programmer, Electrical
2005 - 2008 Team 41 Member
2008 NYC Regional Winner

Last edited by simpsonboy77 : 05-02-2010 at 22:03. Reason: reordered for clarity
Reply With Quote
  #18   Spotlight this post!  
Unread 05-02-2010, 23:04
Dreglor Dreglor is offline
Programming Wizard
AKA: Steven Garcia
FRC #1510 (Beaverton Robotics)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Hillsboro, OR
Posts: 1
Dreglor is an unknown quantity at this point
Send a message via AIM to Dreglor Send a message via MSN to Dreglor Send a message via Yahoo to Dreglor
Re: Code instantly terminates on crio

for the console output what is the settings for that so we can see into this booting process
Reply With Quote
  #19   Spotlight this post!  
Unread 05-02-2010, 23:30
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Code instantly terminates on crio

The deleted note is most likely along the lines of "FTP task deleted errno=something". That is normal when uploading.

Also, you need to reboot the cRIO before your code will properly load.

Driver Station is also a must to have running
Reply With Quote
  #20   Spotlight this post!  
Unread 06-02-2010, 02:07
simpsonboy77 simpsonboy77 is offline
Registered User
AKA: Garrett Dicken
FRC #0041 (RoboWarriors)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: New Jersey
Posts: 88
simpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond repute
Re: Code instantly terminates on crio

Quote:
Originally Posted by Dreglor View Post
for the console output what is the settings for that so we can see into this booting process
9600 baud
no parity
I think hardware flow control, but it might be none.

Be sure to use a null modem cable.
__________________
2017 Shenzhen, China Regional CSA
2013 - Present MAR Control System Adviser and FTAA
2009 - Present Programming an Electrical Mentor Team 41
2007 - 2008 Team 41 Lead Programmer, Electrical
2005 - 2008 Team 41 Member
2008 NYC Regional Winner
Reply With Quote
Reply


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
cRio Code problems Aaron V FRC Control System 2 14-01-2010 12:59
downloading code to cRIO mint564 C/C++ 6 10-02-2009 19:30
cRIO has no code 2roy999 C/C++ 7 19-01-2009 02:01
C++ code terminates instantly king vash C/C++ 1 10-01-2009 20:11
Chat Instantly - Florida <=> South CA <=> Boston NOW! soap108 General Forum 26 03-06-2003 11:43


All times are GMT -5. The time now is 15:20.

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