Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Robot code won't load (http://www.chiefdelphi.com/forums/showthread.php?t=82914)

RevusHarkings 17-02-2010 16:38

Robot code won't load
 
We are unable to load code to the cRIO at all. In WindRiver, all the settings are properly set, but Deploying code stopped working after a while. For a while, we manually put the .out file into the /system/startup directory on the cRIO, and that worked for a while, but then that stopped working too. Instead of loading the new code, it used an older version of the code we were using. We tried re-imaging the cRIO (image v20), and while it deleted the old code, it didn't fix the issue with being unable to load in any new code. Does anyone have an idea what's going on?

gvarndell 17-02-2010 16:56

Re: Robot code won't load
 
Quote:

Originally Posted by RevusHarkings (Post 922247)
We are unable to load code to the cRIO at all. In WindRiver, all the settings are properly set, but Deploying code stopped working after a while. For a while, we manually put the .out file into the /system/startup directory on the cRIO, and that worked for a while, but then that stopped working too. Instead of loading the new code, it used an older version of the code we were using. We tried re-imaging the cRIO (image v20), and while it deleted the old code, it didn't fix the issue with being unable to load in any new code. Does anyone have an idea what's going on?

You probably need to connect a terminal program (TeraTerm is great) to the cRio serial port and see what's happening as the unit boots.
It wouldn't hurt to check the flash file system...

-> chkdsk "/c"
Reliance File System Integrity Checker
Datalight Reliance v3.2.2 Buid 1376BV
VxWorks Editio for ppc603
Copyright (c) 2003-2008 Datalight, Inc. All Rights Reserved Worldwide.
Checking 19M Byte drive

Checkingcritical meta blocks...............................1OK
Checking indices........................................... .5OK
Checking all drectory contents and inode...................79OK
Cecking allocation map.....................................OK
Checkng for stranded blocks.........................6891OK
relFsChk complete.

Volume Information:
125,583,360 bytes in volue
22,847,488 bytes i 138 files
163,840 ytes in 20 directories
49,152 bytes system ovrhead
102,522,880 byts available for use

8,192 bytes per block
15,330 total block in volume
12,515 locks available
value =0 = 0x0

Edit: the output of the chkdsk command clearly lost some characters. :-(

byteit101 18-02-2010 15:09

Re: Robot code won't load
 
are you building the code?
are you uploading the just built code?
are you sure you are uploading the just build code?
try rebuilding (right click project> Rebuild) also

kennypu 18-02-2010 15:19

Re: Robot code won't load
 
also, note:
if you're using a new project than the old one, don't forget to point the FIRST downloader to your new project's .out file.


All times are GMT -5. The time now is 13:48.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi