Go to Post I think the winning robot will be the same as every other year, a robot that is excellent at ONE thing. - Kel D [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 06-02-2009, 18:11
Thxe Thxe is offline
Registered User
FRC #2535
 
Join Date: Jan 2009
Location: Tigears
Posts: 17
Thxe is an unknown quantity at this point
Can't get program to execute

Hello, we are having problems getting the simple template to download and run properly. When downloading the program, what entry point should we be using? We've also seen the unresolved symbol list when trying to download simple template.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2009, 20:06
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: Can't get program to execute

look in the manual, but i believe (for the entry point) FRC_UserProgram_StartupLibraryInit and set the advanced options click edit, the button on the middle text box, then select the check box near the bottom that has the words FP_TASK in it, ok, ok, and the advanced options check box should look like {Options=1000010}
__________________
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 09-02-2009, 06:51
kyungjin kyungjin is offline
Software Specialist
AKA: Daniel
VRC #0646
Team Role: Programmer
 
Join Date: Aug 2008
Rookie Year: 2009
Location: Honolulu, Hawaii
Posts: 65
kyungjin is an unknown quantity at this point
Send a message via AIM to kyungjin Send a message via MSN to kyungjin
Re: Can't get program to execute

The simplest way is to run from flash.

To do so, first compile and build your project. If all goes well, in your Build Console (should be the window at the bottom of your screen if you didn't touch it) will report that <Project Name>.out file was successfully built. If not, that means that there are errors in your code or something is wrong...

Assuming that that's good, go to Window->Preferences...

From there, go to the tab that says FIRST Downloader Preferences and input your team number and find the .out file you just created. It should be under workspace/<project folder>/PPC603/Debug... (something like that)

Once you find it press OK to save your preferences...

Assuming that your cRIO is connected and you're getting communication on your DSU (should read battery voltage), make sure your IP settings are correct on your computer.

If that's good, go to FIRST->Download and wait for your program to send.

Reboot your cRIO when you're done and wait for communication again.

Flip the toggle on your DSU to Enable and it should work...
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2009, 08:33
pheadxdll pheadxdll is offline
Registered User
AKA: Alex
FRC #1225 (Amperage Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: North Carolina
Posts: 168
pheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud of
Re: Can't get program to execute

Just read the manual and you should be fine. It explains all that.

Two places to get it:
http://first.wpi.edu/Images/CMS/First/FRC1718Docs.zip
OR
c:\windriver\docs\extensions\FRC

You want the C Programming Guide for FRC.pdf
__________________
Amperage Robotics Team 1225
Site under-going revamp. :/
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
Can't get EDU RC to print things. devicenull Programming 2 29-01-2006 16:42
HELP! Can't Program Robot Controller - LED stays on. sheyna Programming 3 21-01-2006 18:50
Why can't we get along? Sean_330 General Forum 23 19-03-2003 21:38
Can't WE all just get along? archiver 2000 0 23-06-2002 22:29
Can't We All Just Get Along?? :) archiver 1999 9 23-06-2002 22:17


All times are GMT -5. The time now is 18:27.

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