|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
cRIO only works in safe mode (also: where are docs?)
I can't seem to find the good comprehensive documentation like in years past on the FIRST or NI site about crio, driver station, etc... I can only find basics getting started. If someone can point me in that direction, I'd be much appreciative.
(if you don't want to read story, questions are at end) Yesterday I was working on re-downloading our old logomotion code compiled for 2012 on a v43 formatted crio for an upcoming school open house demo. First try I downloaded and rebooted successfully, but when I enabled, the jaguars (On CAN bus) did not enable, except the last one. I presses the space bar to disable, but to my shock, horror, and dismay, it is the new estop button AND the reboot robot button is disabled, so I had to power cycle the robot manually (not fun). Upon the next boot up and enable, the can system worked, but no motor commands were being sent (strange, since it was our final working code on same robot from last year), so I added a few printfs and commented out unneeded code. Re-dowloaded a few times with more printfs, etc, and rebooted. Then the Symptoms started. It was taking a while to come back up, so I checked Ethernet cables, and rebooted full robot stack. It still did not come up after 5 minutes, so I direct plugged into crio (bypassing switch), which still did not work. after unplugging unnecessary-to-drive systems, making sure necessary systems were plugged in, and battery was ok, I rebooted robot stack again. Still nothing. I flipped the safe mode dip switch (cRIO I) and rebooted, and it came up. I re-imaged it, turned off safe mode, and rebooted. Still nothing. I watched the netconsole, which stayed empty (no pings either) I watched the status lights above the dip switches, and found that the "Status" light was slow blinking yellow. So, #1 what is the key to disable the robot? (last year was spacebar) #2 what does this yellow blinking "Status" (above "User" light) light mean? |
|
#2
|
|||||
|
|||||
|
Re: cRIO only works in safe mode (also: where are docs?)
1. Enter is the new disable.
-During the beta test, we brought up the issue of accidental e-stops, but the FRC/NI people would not consider changing the e-stop/disable mapping to be consistent with past years. 2. No help here 3. If you can't get it to do anything, you can format the cRio in NI MAX (Measurement and Automation Explorer) - find the cRio and "Format Disk". |
|
#3
|
||||
|
||||
|
Re: cRIO only works in safe mode (also: where are docs?)
Quote:
2. what was the question you are referring to? 3. would that work in safe mode? |
|
#4
|
||||
|
||||
|
Re: cRIO only works in safe mode (also: where are docs?)
Every year FIRST changes the navigation of the documentation and it seems to get harder to find.
From the FRC page go to Game and Season Info-->Competition Manual-->Kit of Parts. Then use the links on the right side to navigate the various documentation pages. I had to look at the page a couple of times to figure this out, since it's not intuitive. Most of the Java and C++ progamming related documentation is on FIRST Forge under the WPILib project. There must be links to this in the other documents on the Kit of Parts site, because I had to remember this from last year. |
|
#5
|
||||
|
||||
|
Re: cRIO only works in safe mode (also: where are docs?)
Quote:
However the Details on the cRIO link is broken, and I don't see any other manuals on status lights, etc... |
|
#6
|
||||
|
||||
|
Re: cRIO only works in safe mode (also: where are docs?)
Update: safe mode does not work either now.
Status light sequence: [power on] [power light on] half second delay status light on waits 3 or 4 seconds status light off one second delay status blink one second status blink one second status blink etc... |
|
#7
|
|||
|
|||
|
Re: cRIO only works in safe mode (also: where are docs?)
I found this for the FRC-cRIO 1 by doing a google search, the FRC II docs is on the NI Community
Quote:
Last edited by DavisC : 07-02-2012 at 19:10. |
|
#8
|
||||
|
||||
|
Re: cRIO only works in safe mode (also: where are docs?)
I had the same problem like a day ago. I resolved it just by tinkering with the imaging tool. First I imaged it with safemode and ipreset dip switches on. But then I imaged it with all the dip switches on except for safemode which I left off. Then it worked perfectly. What your cause for the safemode and crazy lights is basically that your cRIO root files are corrupt and that is why it's causing your cRIO to go into safemode and act crazy. It needs imaging. After what I did above I didn't have any problems after that. I had to play around. I'm sure you can resolve it as well. It just takes a while and makes your head hurt.
|
|
#9
|
|||
|
|||
|
Re: cRIO only works in safe mode (also: where are docs?)
Yes, it definately makes your head hurt and I suffered early last year. When I finally figured out how I got it to work every time, I made it into a guide and I follow the guide to the point.
So, I attached it as a PDF for you. Hope it works! |
|
#10
|
||||
|
||||
|
Re: cRIO only works in safe mode (also: where are docs?)
thank you!
I'll try that tomorrow |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|