Go to Post The driver must have a relationship with the robot, the driver should talk to the robot, speak soft encouraging words to it. Pet names are also a good idea. If the driver does not love the robot, how can the driver learn to trust the robot. - Gboehm [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
  #1   Spotlight this post!  
Unread 01-28-2009, 08:58 AM
7-11number1 7-11number1 is offline
ROAR.
FRC #1711 (RAPTORS)
 
Join Date: Sep 2007
Rookie Year: 2006
Location: Traverse City, Michigan
Posts: 46
7-11number1 will become famous soon enough
Exclamation cRIO Application Loader Issue

Hello from 1711 Traverse City!

We have much (I joke) of our code written to do this, that, and the other and have tripped on what looks like a memory related issue. Having Hyperterm connected to our serial console, we witness vxWorks booting just fine, starts to load our deployed FRC_UserProgram then fails with an Application Loader exception, data access error of course. We know that the data access error is a protected mode trap on illegal memory access. The situation is that our code has not been executed yet. This seems to be connected with static memory heap utilization. We can solve it by reducing the number of variables declared on the heap (actually just by removing one class variable does the trick) and we boot fine. Adding a different class variable (such as changing Joystick rightStick(2); to Sensor turret(4);) causes the problem to re-occur. Anyone else witnessed this behavior? I am looking for WindRiver Linker options or any config settings that my be able to expand my static heap (sounds personal?). Since this is memory address space not stack, I do not think this is stack related (but all ideas welcome). I wish the nastiness of this one on nobody!

Oh by the way, reverting to a simpler program works just fine and we are still at update #2 RIO v7 (we'll change that this afternoon).

Cheers! Tony.
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
cRIO configuration issue- serial connection to laptop Torbots 1197 FRC Control System 5 01-28-2009 10:28 PM
Issue with debugging/running code on cRio 114Klaatu0x72 Programming 5 01-27-2009 02:02 PM
Mobile CD application? Elgin Clock CD Forum Support 9 03-03-2008 09:37 PM
Issue with CMUCam2 Demo application Bio LabView and Data Acquisition 12 01-21-2006 04:08 PM
Application Process Nick Seidl College Teams 2 09-11-2003 05:23 PM


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

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