Go to Post ...remember RAID 0 is a trap. - Sperkowsky [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 15-01-2009, 21:04
ShadowoftheSun ShadowoftheSun is offline
Registered User
FRC #2102
 
Join Date: Jan 2009
Location: California
Posts: 5
ShadowoftheSun is an unknown quantity at this point
Build Problems

Hey All,

I'm hitting pretty severe roadblocks with the Windriver software.

I've scrapped everything and started over, and now I'm able to build the SimpleRobot program... or so it says. However, as far as I can tell, it does absolutely nothing.

It doesn't produce a .out file, and it won't let me download because of the lack of the .out file.

I'm sure I'm just missing some simple step, but I can't seem to find it in the manual... If you guys could outline briefly the steps taken between making a new "example" Simple Robot program and downloading it to the cRio, I'd be grateful.

Thanks in advance.
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2009, 09:25
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Build Problems

on the left side, you should see your project. right click and select build (or... you can be in the source file and press Ctrl+Shift+A.
Then, set the out file. It should be (i don't have WR in front of me) C:\windriver\Workspace OR Workbench, whichever does not have the numbers in front\Project name\ppc...\ and look in all the folders (i believe Debug)
and FIRST>Download
Reboot cRIO
It runs
FIRST>Undeploy
edit file
Repeat
--------------OR-------------------
right click on the project, if you just created this project, and not built it yet, build, otherwise, Run (or Debug) Kernel Task, and set the values as specified in the updated C CPP Programming guide.pdf (the values only need to be entered once)
hit run
it runs w/o you rebooting
reboot cRIO to "undeploy"
edit file
Repeat


I prefer the second one for trying out code, but you will need to use the first one to permanently deploy code
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2009, 10:02
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Build Problems

I found that if you don't have everything installed in the default locations this can happen including your workspace. Also, when you add an example sometimes you need to close windriver and reopen it to get it compile and produce a .out file.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
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
Build/Mechanical teams after build and integration Bomberofdoom General Forum 1 02-02-2008 13:45
Any teams build two robots to practice with after build season. (6 weeks) GVDrummer General Forum 42 24-01-2008 21:34
Build problems: MPLink 4.15 Linker... help? Trav-O Programming 2 12-01-2008 14:26


All times are GMT -5. The time now is 02:31.

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