Go to Post To limit FIRST to robots, tools, and competition is to strip away its immense potential. - Madison [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
  #1   Spotlight this post!  
Unread 23-03-2013, 15:38
vintagecoke vintagecoke is offline
Registered User
AKA: Keaton
FRC #4849 (Rock City Robots)
Team Role: Engineer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: United States
Posts: 6
vintagecoke is an unknown quantity at this point
Angry Downloading Code and Jaguars Issue

As of the past 3 weeks, we have had trouble with one of our Programming PCs. We have two, mirrored setup exactly. One of them downloads code fine. The other, not so much. Using the exact same code on both of them, the second one 'deploys' and the Driver Station does not detect it. We cannot use the first programming PC because the code for it refuses to work with the Jaguars (another issue!!!!!). Our steps on both are as followed: Build Project, Deploy, Reboot cRIO. If we use programming PC 1, Driver Station laptop detects it fine and we can drive, but the Jaguar code does not work. If we use programming PC 2, to do the steps above, the Driver Station does not detect it. Let me say, Programming PC 2 used to work (Jaguars and all!) but one day it does not.
Reply With Quote
  #2   Spotlight this post!  
Unread 23-03-2013, 19:57
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Downloading Code and Jaguars Issue

Try narrowing down which part of the process is failing. Take the compiled program and FTP it to the cRIO instead of using the WindRiver menu. See if that works on either or both of the programming computers.

Then try compiling the program on one computer, copying the compiled program to the other computer, and deploying it from there. Do that in both directions.

The steps that work and the steps that fail will give you a clue about what configuration settings to check.
Reply With Quote
  #3   Spotlight this post!  
Unread 24-03-2013, 15:48
vintagecoke vintagecoke is offline
Registered User
AKA: Keaton
FRC #4849 (Rock City Robots)
Team Role: Engineer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: United States
Posts: 6
vintagecoke is an unknown quantity at this point
Re: Downloading Code and Jaguars Issue

Quote:
Originally Posted by Alan Anderson View Post
Try narrowing down which part of the process is failing. Take the compiled program and FTP it to the cRIO instead of using the WindRiver menu. See if that works on either or both of the programming computers.

Then try compiling the program on one computer, copying the compiled program to the other computer, and deploying it from there. Do that in both directions.

The steps that work and the steps that fail will give you a clue about what configuration settings to check.
Wait, we can FTP to the cRIO? Would you walk me through doing this? As a rookie member, I still am stabbing walls in the dark. With time comes knowledge as they say...
Reply With Quote
  #4   Spotlight this post!  
Unread 25-03-2013, 18:56
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: Downloading Code and Jaguars Issue

We've have similar problems with WRS when trying to run on a 64-bit machine. Our solution was to use Filezilla to FTP to place the code.
FTPing to the cRIO is pretty straightforward. Open a session to your cRIO's IP address. It will ask you to log in. If it asks for a user ID, just hit return and hit return again for the password. It should log you in and you can do a
"ls" or "dir" command to see the files.

Once you're in, cd to /ni-rt/system/. Here you'll copy your program in as FRC_UserProgram.out. Once it's copied, log out and reboot.

HTH,

Mike
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


All times are GMT -5. The time now is 08:46.

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