Go to Post You are an inquisitive rookie aren't ya - Kyle [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-01-2010, 10:15
Nashua131 Nashua131 is offline
Registered User
FRC #0131 (CHAOS)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Manchester, NH
Posts: 4
Nashua131 is an unknown quantity at this point
Many Workbench Problems

Our team is having trouble making a .out file that can be run on the CRIO using Workbench. We can currently make an example project like 2010 Image Demo, which will generate a .out file, and when downloaded, will show that the robot has "Robot Code" on the dashboard.

However, when we generate a new project from scratch by choosing the "Vxworks Downloadable Kernel Module Project" It does not work automatically. We did try a few things though:

When we first made our project, we chose PPC603gnu as the active build spec, and we chose to use the Linker. We copied the include directories from a sample project, as well as the libraryfile. However, when we built our project, and it generates a .out file, it does not run on the cRIO, and instead, it shows "No Robot Code".

We just made it work by copying the project files (.WRPROJECT, .WRMAKEFILE, .CPROJECT, and .PROJECT) from a sample project into our project, but the outfile still carries the name of the sample project, not the project they are in.

Can anyone help us on how to make a Downloadable Kernel Module Project from scratch, and how to make it run on the cRIO?

Also, we would like to know how to use the 2010 WPIlib source code from on the FIRST website in our project rather than to use only the WPIlib .h files included within the Workbench distribution.
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2010, 12:38
gvarndell's Avatar
gvarndell gvarndell is offline
Software Engineer
AKA: Addi's and Georgie's Dad
FRC #1629 (GaCo)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Grantsville, Maryland
Posts: 350
gvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond reputegvarndell has a reputation beyond repute
Re: Many Workbench Problems

Quote:
Originally Posted by Nashua131 View Post
Can anyone help us on how to make a Downloadable Kernel Module Project from scratch, and how to make it run on the cRIO?

Also, we would like to know how to use the 2010 WPIlib source code from on the FIRST website in our project rather than to use only the WPIlib .h files included within the Workbench distribution.
Why is not sufficient to add files to and/or edit existing files in a working sample project?
You can drag-n-drop source files, from an explorer window, into an existing open Workbench project. You should not copy files into a Workbench project directory using just Windows explorer.
__________________
Robots never, ever, ever, ever break -- The Robot Repairman (Backyardigans)
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
Workbench with SVN problems M.Rehberg C/C++ 3 18-01-2010 11:35
new license for Workbench? gvarndell C/C++ 2 11-01-2010 07:01
How many teams had router problems? darkember Technical Discussion 8 31-01-2009 21:22
Distance Calculation in Workbench tekman1001 C/C++ 4 26-01-2009 09:16
Too many problems, not enough time. Elemist315 Programming 1 09-02-2005 23:41


All times are GMT -5. The time now is 14:10.

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