|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Windriver wont communicate with cRIO
My team recently switched to using C++. We understand C++ itself just fine, but we seem to be having terrible luck trying to set up WindRiver.
Whenever we try to set up communications between WindRiver and the cRIO, it appears as though it is working for a little while, and then we get this: ![]() (sorry if the image is a tad big, I'm kinda new to this) We have tried reinstalling WindRiver several times, we have tried fixing the error by doing what it says to (which is very complicated, and doesn't work) Has anyone else seen this error before, or know how to fix it/what might be causing it? |
|
#2
|
|||||
|
|||||
|
Re: Windriver wont communicate with cRIO
Is your cRIO properly reformatted with the v43 image for C++ and configured for your team number (2879)? Is there a firewall blocking communication on the required port?
|
|
#3
|
||||
|
||||
|
Re: Windriver wont communicate with cRIO
I made sure to allow everything through the firewall, and I thought we had Reimaged it correctly
But, just to be sure I tired re-imageing it again (just now, like, 30 seconds before your post appeared...) I tried windriver again, and lo and behold it gives me an entirely new error: ![]() any ideas? |
|
#4
|
|||
|
|||
|
Re: Windriver wont communicate with cRIO
Quote:
Finally, click the “Select” button near the top right corner of the window. Click the “+” next to “MPC5xxx” to expand the choices. Select “MPC52xx” the click OK. Click “Finish” to create the connection. |
|
#5
|
||||
|
||||
|
Re: Windriver wont communicate with cRIO
OHHHHH MAI GHAWD!!! THANKS!!!
That fixes the connection... which should also fix the debugging and the deploying... (although, ye can never be too sure...) Once again, THANKS!!! now I can test all the code I wrote to occupy myself while I was waiting for help with this... ![]() |
|
#6
|
||||
|
||||
|
Re: Windriver wont communicate with cRIO
Ok... so...
Your suggestion DID fix the communications with the cRIO... And when I run debug, I just get a "warning" about something insignificant. But when I deployed the code, and tried out the DS, it says no robot code. I read that I am supposed to deploy the .OUT file, but I couldn't find it in the folder that it builds to, so I assumed I should just try to use the MakeFile (Ima guess that that is the wrong file to use) where should I look to find the .OUT file? EDIT: Never mind. I figured it out. Last edited by aeniug2 : 15-01-2012 at 22:58. |
|
#7
|
||||
|
||||
|
Re: Windriver wont communicate with cRIO
What did you figure out. We're dying to know, as the only thing we're seeing is a Make file as well. How did you get a .out file? (or where did you find it?)
|
|
#8
|
||||
|
||||
|
Re: Windriver wont communicate with cRIO
Well... You head on over to the folder that has the Make file (names PNGGU8227 or something, you know what I mean...) Then there should be a folder named simpletemplate, then one named debug, just keep going that direction until you find "simpletemplate.out" (It will be named this no matter what your project is named).
Sorry if this isn't detailed enough, I'm kinda almost late for school, and my laptop took awhile to boot.. If you need a more detailed explanation, I'll be online again later in the day, or perhaps some of the other people on CD will help you out. Hope this helped! |
|
#9
|
||||
|
||||
|
Re: Windriver wont communicate with cRIO
>sigh<
Alas, no additional folder in with the make file. Our guess is that for some reason, the build never really completes. We can see the target, so don't really know what's going on. Guess we'll just have to hope we can contact Brad Miller to see if he has any advice. Very frustrating to be this far into the build with nothing to program with! Thanks, Steve |
|
#10
|
||||
|
||||
|
Re: Windriver wont communicate with cRIO
Hmm...I know what you mean about not being able to program anything... It kinda sucks.
Anyways, here is the exact path that I found our .OUT file under: C:\WindRiver\Workspace\[project name]\PPC603gnu\SimpleTemplate\Debug\Simpletemplate.out In terms of it not building fully, does it show any errors? or does it appear to have built successfully? |
|
#11
|
||||
|
||||
|
Re: Windriver wont communicate with cRIO
Finally got one of the other machines to create a .out file, and tried to run that. Now I have another weird situation. Driver's station reports communication and code running, but nothing happens. I can see the battery voltage, but no PWM output. Tried running NetConsole and got the following output. Also tried putting in a printf, but got no output. So, I tried building the "Hello World" example program, and THAT doesn't even work!
Sooo tired of this!! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|