Hi all,
We have trouble now even establishing connection to the robot and testing code (that we actually confirmed earlier as working). Looking at serial output, it seems that there is an "Invariant FPGA Image Version Error", which we used t o be able to fix (then again, maybe not, but it worked for a while) by compiling the WPILib project in WindRiver along with our program. But now that doesn't work at all. And strangely enough, Watchdog errors from within the cpp file seem to pop up randomly without us even establishing a connection to enable the robot!
Observe:
Code:
cRIO-907x Boot
Copyright 2007 National Instruments Corp.
Bootrom version: 2.4.7
Creation date: Jul 9 2007, 00:45:07
Press any key to stop auto-boot...
1
0
auto-booting...
boot device : tffs=0,0
unit number : 0
processor number : 0
host name : host
file name : /c/ni-rt/system/vxWorks
flags (f) : 0x8
Mounting tffs...
Attaching to TFFS... Datalight Reliance v3.00.1218T
VxWorks Edition for ppc603
Copyright (c) 2003-2007 Datalight, Inc.
done.
3572144
Starting at 0x100000...
ATA device not detected.
Adding 8459 symbols for standalone.
Mounting onboard storage...
Reliance File System Driver
Datalight Reliance v3.2.2 Build 1376BV
VxWorks Edition for ppc603
Copyright (c) 2003-2008 Datalight, Inc. All Rights Reserved Worldwide.
-> lvusEngine: PPC603 CPU detected...
CPU tick frequency: 33.000674 MHz [Using: 1000 MHz]
MAX system identification name: Team25
Initializing network...
Device 1 - MAC addr: 00:80:2F:11:5A:D1 - 10.0.25.2 /8 (primary - static)
Device 2 - MAC addr: 00:80:2F:11:5A:D2 - 192.168.0.3 /24 (static)
Loading LVRT...
* Loading EarlyStartupLibraries: tsengine
Time sync source: rtc now active
* Loading StartupDlls: debug
Entering debug.o StartupLibraryInit
Debugging is up, target server mounted at /tsfs
VxWorks
Copyright 1984-2006 Wind River Systems, Inc.
CPU: MPC5200 -- Wind River Lite5200 BSP.
Runtime Name: VxWorks
Runtime Version: 6.3
BSP version: 2.0/10
Created: Jul 29 2009, 13:41:47
ED&R Policy Mode: Deployed
WDB Comm Type: WDB_COMM_END
WDB: Ready.
Leaving debug.o StartupLibraryInit
* Loading StartupDlls: NiRioRpc
* Loading StartupDlls: niorbs
* Loading StartupDlls: NiViSrvr
* Loading StartupDlls: nivissvc
task 0xec2ca8 (PAL00f94048) deleted: errno=0 (0) status=0 (0)
NI-RIO Server 3.2 started successfully.
task 0xc3e0f8 (NiRioRpc) deleted: errno=0 (0) status=0 (0)
* Loading StartupDlls: nivision
* Loading StartupDlls: niserial
* Loading StartupDlls: FRC_FPGA
* Loading StartupDlls: FRC_NetworkCommunication
FRC_NetworkCommunication was compiled from SVN revision 2064
Error, Invariant FPGA image version error!
FPGA Hardware GUID: 0x1E53E3F869DC0EE6C45E6FA90AF07C6B
FPGA Software GUID: 0x1E53E3F869DC0EE6C45E6FA90AF07C6B
FPGA Hardware Version: 49391
FPGA Software Version: 49391
FPGA Hardware Revision: 1.0.0
FPGA Software Revision: 1.0.0
FPGA Hardware GUID: 0xAD9A5591CC64E4DF756D77D1B57A549E
FPGA Software GUID: 0xAD9A5591CC64E4DF756D77D1B57A549E
FPGA Hardware Version: 2010
FPGA Software Version: 2010
FPGA Hardware Revision: 1.3.0
FPGA Software Revision: 1.3.0
* Loading StartupDlls: FRC_UserProgram
ERROR: Network communication failed to initialize!
WPILib was compiled from SVN revision 2069
>>>>ERROR: status == -63194 (0xFFFF0926) in Watchdog() in C:/WindRiver/workspace/WPILib/Watchdog.cpp at line 18
>>>>ERROR: status == -63194 (0xFFFF0926) in SetExpiration() in C:/WindRiver/workspace/WPILib/Watchdog.cpp at line 97
>>>>ERROR: status == -63194 (0xFFFF0926) in SetEnabled() in C:/WindRiver/workspace/WPILib/Watchdog.cpp at line 127
Welcome to LabVIEW Real-Time 8.6.1f2
task 0x2199958 (t2) deleted: errno=0 (0) status=0 (0)
NI-VISA Server 4.5 started successfully.
task 0xe412d0 (t1) deleted: errno=1835009 (0x1c0001) status=1 (0x1)
During all this, we can always download code to the robot in WindRiver (albeit slowly) without a robot connection to the Classmate by connecting the Classmate and programming laptop to the Router and doing it all wirelessly. Occasionally, the FRC_NetworkCommunication would work, but we would still get the Invariant FPGA Image Version error and be unable to enable the robot, as it throws a "No Code" error.
We have all the updates listed on the WPI website under C++ (Workbench Update, reloaded WPILib, Labview Update, DS Update, image v19, all of 'em). Any ideas on this one?