Go to Post Dr. Doom becomes Dr. Awesome! - Nick Lawrence [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 10-01-2009, 17:16
Stimpy1901 Stimpy1901 is offline
Registered User
AKA: Bobby
FRC #2348 (Cool Geeks)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2008
Location: Honolulu
Posts: 57
Stimpy1901 will become famous soon enough
Re: Getting Started in Windriver C/C++

Compiling: Project->build project
This will create a .out file and place it in the project folder under another folder (mine is PPC603gnu) under debug (e.g. \visiondemo\PPC603gnu\visiondemo\debug\visiondemo. out

1. Set up connection:
a) Target-> New Connection->Select: Wind River VxWorks Target Server Connection.
b) set the target location to the 10.xx.yy.2; Kernel image: select file and browse to c:\windriver\WPILib\vxWorks
c) click finished

If you are connected to the cRIO (either through the DS or directly), windriver should connect (in the remote systems window, you should see your new connection).

2. Window->Preferences: On left menu of preferences, click FIRST Download Preferences; enter team number and navigate to the .out file you want to download (note: you will need to change this file each time you want to upload a different file--with a different name--to the cRIO).

3. FIRST->Download

4. Reboot the cRIO and use the DS toggle to enable/disable programs

I know this is in a document somewhere...but I cannot remember where.

NOTE: Thanks to others on CD, I found out that if you right click on your VxWorks connection in the remote systems window, go to Target Tool->target console, select okay (I haven't played with the settngs), you will get a console window with any printing commands.

NOTE: be sure to update the cRIO with the latest firmware (version 7) from: http://first.wpi.edu/FRC/frcupdates.html


Hope this helps!

Last edited by Stimpy1901 : 10-01-2009 at 17:25. Reason: missed info about compiling
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Familiar with Programming in WindRiver kyungjin C/C++ 35 17-01-2009 13:04
Programming - Getting Started Mark McLeod Programming 80 16-04-2008 23:37
FPGA getting started Rickertsen2 Electrical 4 10-09-2005 12:52
Getting Started Cheese Head Programming 4 09-10-2002 22:24


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

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