|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||||
|
||||||
|
Re: CRio Connection: Buggy
Does the serial console show anything interesting?
|
|
#2
|
|||||
|
|||||
|
Re: CRio Connection: Buggy
I have console dumps, but haven't been able to look at them.
I did get it working, but I'll have to wait on posting an update. I'm in transit between teams. |
|
#3
|
|||
|
|||
|
Re: CRio Connection: Buggy
We managed to get code to deploy/run a few times but mostly we get the four flashes in Status. On one of the times it worked, I checked the memory usage and there was still 16K or so free.
The four flashes in status start even after a reboot with no attempt to deploy. I tried disconnecting everything - removing all sidecar adapters, ethernet connections etc. And rebooted. And still the cRIO showed four flashes. From a laptop I can ping the cRio before trying to run. When I try to run I get "can't connect to real time target" but after cancelling, I can still ping the cRio. I have not tried to go back to v25. I'll check that out. |
|
#4
|
|||
|
|||
|
Re: CRio Connection: Buggy
16K is not much. Can you verify that number and clarify when you are at 16K?
Greg McKaskle |
|
#5
|
||||||
|
||||||
|
Re: CRio Connection: Buggy
I just want to jump in to say that we've seen similar issues since the update.
Since the update we haven't been able to deploy code wirelessly. When we try to deploy wired, we haven't been successful when hooked to the Dlink. If we connect directly to the cRIO, we are successful deploying about 25% of the time (i.e. it takes about 4 tries before it works). After deploying new software and rebooting, we are able to get the robot to run wirelessly through the driver station. No issues. We have not yet been able to run software via the Run button since the update. It starts to run and then it promply loses connection. That's all I have for now. I won't see the cRIO until Wednesday night, so if I notice anything new then I'll try and post it. |
|
#6
|
||||
|
||||
|
Re: CRio Connection: Buggy
I currently have a temporary solution. Our team had the same problem and what we found is that we plug an ethernet cord into the linksys slot 1 in the rear and plug the other end into a laptop and wait a bit it finally works. we have no clue why but it works. also, one of our mentors (going for his masters in computer science) played around with it a bit and all of a sudden it works well now. We don't even have to plug it into an ethernet cord and laptop.
yay ![]() Last edited by IisMathwizard : 08-02-2011 at 15:30. Reason: added information |
|
#7
|
||||
|
||||
|
Re: CRio Connection: Buggy
I can later reply back with a post on what he did when i meet him next.
|
|
#8
|
|||
|
|||
|
Re: CRio Connection: Buggy
We made some progress in identifying this problem.
First, reimaging back to the v25 cRio firmware corrected the problem. There were no blinking status lights and we could deploy code at will. I then re-imaged using v27 making sure to connect directly from PC to cRio via ethernet. The four blink status light returned. We could not deploy code getting the "failed to connect to Real-time Target" message. We checked to make sure Labview was at 3.1 FRC level. We had loaded the CAN driver for the Black Jaguar Serial Bridge and had that working under v25. In the cRio Imaging tool I first changed the plugin to "None" leaving "Enable NetConsole" checked. Reimaged at v27 and still had four blink status. Then I unchecked "Enable NetConsole" and reimaged. That seemed to fix it. cRio booted and I was able to deploy code. It appears that adding the NetConsole and maybe CAN is consuming memory and putting us over. We have a 2009 cRio. Does this make sense? Are we going to have to avoid CAN? An ideas? |
|
#9
|
|||
|
|||
|
Re: CRio Connection: Buggy
Please post console logs (both NetConsole and Serial Console) when you see this issue.
Thanks, -Joe |
|
#10
|
|||||
|
|||||
|
Re: CRio Connection: Buggy
I don't think the logs I captured are particularly useful, and they weren't comprehensive.
I had to bring in several other laptops after the problem occurred to start the monitoring. This particular log shows two boots, but unfortunately the problem may have been fixed by this point. The first boot generated the 4 flashes, and caused an automatic reboot. The second boot was a successful recovery from the same. I have had several other cRIOs reimaged without any issues. Maybe one 4-flash that caused a then successful reboot. In the case I saw, the v27 reformatting enabled NetConsole, and had None for CAN. Cycling the power had no affect and the 4-flashes continued unabated. Changing DIP switches, e.g., Safe Mode, didn't seem to affect the 4-flashes and the cRIO remained unresponsive. The flashes began very quickly, so it may be before any image gets loaded or early in the load process. Reimaging (from same Classmate) with v27 completed successfully, but had no affect. Reimaging to v25 worked, then a repeat of v27 was successful. -------- On a side note, Classmates that installed the LabVIEW Update, but didn't install the LabVIEW DVD, look normal from a distance. I had to be there to notice all the missing software, but the version information was right up to date... Last edited by Mark McLeod : 09-02-2011 at 14:11. |
|
#11
|
|||
|
|||
|
Re: CRio Connection: Buggy
We are having the exact same problem on our robot. I didn't check for the blinking LED, but once we updated to version 27 we could still reimage and connect through ftp, however LabVIEW was unable to connect. Once we reimaged with v25, all was good. One of our tests included not imaging with the black jaguar plugin and we still had issues.
|
|
#12
|
|||
|
|||
|
Re: CRio Connection: Buggy
I re-imaged our cRio to v27 first with just NetConsole and then with both NetConsole and CAN Jaguar Black Serial plugin. Of course, now it seems to work. I ran LabView code that was essentially the default FRC cRIO Robot Project modified to drive a single motor using CAN.
From the console log, I did see two troubling messages when the cRIO boots: interrupt: PCI Error: initiator aborted due to timeout interrupt: PCI Error: initiator aborted due to timeout I'm not sure what they mean but the system appeared to work. I was able to deploy and run CAN code. The system crashed once, I think when I was using the System Monitor. In the several times I ran code from LabView I received the Unable to connect to real-time target only once, accompanied by four flashes in the status LED. I didn't see anything in the netConsole at that time. I'll do more testing tomorrow. The NetConsole log I captured is attached. |
|
#13
|
|||
|
|||
|
Re: CRio Connection: Buggy
where do we put the downloaded image on the PC so it shows up in frc crio imaging tool.
thanks ![]() |
|
#14
|
|||
|
|||
|
Re: CRio Connection: Buggy
nvm got it guys. thanks
|
|
#15
|
||||
|
||||
|
Heads up.
Our team played at the Suffield Shakedown, they had the real field and FMS setup. Our cRIO was imaged with this early release version of v28 and our robot was not able to connect to the field. I can't say for sure if others will see this same issue at regionals, but avoid the headache an re-image asap using the official release. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|