Go to Post What Delphi says doesn't matter. What the official Q&A says matters. - Tetraman [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 27-11-2013, 22:37
ArzaanK ArzaanK is offline
Registered User
FRC #1325 (Inverse Paradox)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Mississauga, Ontario, Canada
Posts: 40
ArzaanK is an unknown quantity at this point
Problems deploying code

Hi everyone,

First of all, I would like to apologize if this problem has been addressed before. I searched the forums, and found similar issues, but none that matched my exact problem.

This year, our team has started our shift to C++ from LabVIEW. I installed Windriver exactly as stated in the WPI guide. I also installed the update called "WPILibC++Source20130302rev3622". I have tried completely uninstalling and re-installing Windriver multiple times following the instructions in the WPI guide to a tee.

However, I have a deployment problem. I wrote some simple code that drives the robot, controls a relay and does some very simple autonomous movement. I built the project without any errors. Then, I went to Window -> Preferences ->FIRST Downloader Preferences and set my team number to 1325 and set the file to download the robot to

C:\WindRiver\workspace\SimpleTemplate\PPC603gnu\Si mpleTemplate\Debug\SimpleTemplate.out

(My robot project was left at the default name of Simple Template)

After that, I plugged in the Ethernet cable into Slot 2 of the cRio (slot 1 does not work), and plugged the other end into my laptop. I then proceeded to disable my wireless card in the network and sharing centre and changed the settings of my local area connection as follows:

IPv4: 10.13.25.6
DNS: 255.255.255.0

I then pinged the cRio to make sure the connection was established. I got four replies in less than 1 ms, multiple times.

Next, I clicked FIRST -> Undeploy to undeploy any code from the cRio, I then opened up the driver station to make sure there was no code running on the cRIo.

Then, I clicked FIRST -> Deploy. However, I don't get a progress bar. I just get a message box saying "Downloading to robot" without a progress bar. Also, on the bottom right hand side of the screen, there is no progress bar there either. If I leave it, it will stay on that screen, and I won't even get an error message.

Please see the attached screenshot to get a better idea of what I'm trying to say:



In case you cannot view the screenshot, here is a link to it.

http://imgur.com/XDCodZ3

After going through the process I mentioned above multiple times, I then decided to take my project over to another students laptop and deploy the code from their laptop. When I tried it on that students laptop, everything worked fine, and I followed the exact same steps that I did on my laptop.

I have no idea what is wrong, and and help would be greatly appreciated.

Thank you,
__________________
Arzaan Khairulla
Programmer/Driver
2013 Greater Toronto Regional East Winners with 1114 and 2056
2013 Galileo Division

Last edited by ArzaanK : 28-11-2013 at 06:35. Reason: Added extra information
Reply With Quote
 


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 18:04.

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