04-06-2013 02:30 PM - edited 04-06-2013 02:31 PM
Hi.
I have a compact RIO 9023 that i use for data aquisition and serial line communication (RS485,RS422).
Inbetweeen two sessions of data acqusitions in the lab today i lost contact with the cRIO.
The cRIO was very well protected in a subsea housing and completely stationary when this happened.
The only relevant change in test setup is that power was turned off, and then later on, i.e the cRIO was rebooted.
After loosing contact with the cRIO i noticed the status LED was double-flashing every few seconds, which according to the manual means:
"The controller has detected an error in its software. This usually occurs
when an attempt to upgrade the software is interrupted. Reinstall
software on the controller. Refer to the Measurement & Automation
Explorer Help for information about installing software on the
controller."
This happened apparently all by itself, on boot of the cRIO. No failed attempt to upgrade SW, the network port wasn't even connected. I never write to the disc in my code, all data is streamed via RS485 modules.
On the serial port i get the output message in the attached file.
The following part of the console out message seems to be relevant:
Cannot open "/c/ni-rt/system/vxWorks".
Error loading file: errno = 0x633d.
Booting into Safe Mode from ROM...
Uncompressing kernel...done.
3752544
Starting at 0x10000...
I.e. it seems like the OS is unable to start. Maybe disc or file system is corrupted?
When connecting th the cRIO through MAX i see the cRIO on the expected IP address.
On the system status it says: "Connected - Safe mode (no software installed)
and Total Disc space & Free disc space is unavailable, see attached screenshot of max.
When i press the "devices and interfaces", "Network settings" or "Add/remove software" tabs the communication to the cRIO times out.
I can reconnect to the cRIO by refreshing, but i get no further than the system settings screen. And communication to the controller seems to go much slower than usua as it takes long time to get the system state and memory status.
I also triedenabling the safe mode switch, with the same results.
Because of this i havent been able to reformat or reload the OS into the cRIO, and feel quite stuck at the moment.
This cRIO has worked for quite some time, but suddenly this happened on a power cycle.
Has anyoneelse here experienced similar problems, or do you have any idea how to resolve this, or maybeknow the cause of the problem?
04-09-2013 01:16 AM
1) What application do you expect to start on boot? Please check the ni-rt.ini settings.
2) If there are communication problems using the MAX try to delete the device and refresh the list of network devices. After the redetect you should be able to access the software settings to reinstall the cRio.
Hope it helps
Christian