View Single Post
  #2   Spotlight this post!  
Unread 01-10-2009, 05:16 PM
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 : 01-10-2009 at 05:25 PM. Reason: missed info about compiling
Reply With Quote