Crio windriver programming problems

So I am a rookie coder trying to get code into our robot. Originally we were able to deploy and run code just fine onto our crio. Then all of a sudden one day we get comms but absolutely no code. I checked the system file within the crio folder and code is indeed being deployed, but the crio refuses to read it. I’ve already tried reimaging the crio, formatting then reimaging, using our spare crio, updating all utilities, using other computers as driver stations, deploying several different codes, checked the wiring, and pretty much done everything I could think of. If it helps on a side note I also cannot read voltage on the DS about the battery (meaning instead of reading something like 12.00V or even 0.00V we get an empty space about the communications). Any help would very much be appreciated!

P.S. extra details about what we did: try turning off and on the firewall of the deploying computer (no luck), toggle safe mode on/off (did nothing), redownload EVERYTHING (yes everything), the usual undeploy->deploy->reboot->turn on DS (didn’t help), windriver deploy/undeploy and manual deploy/undeploy (using ftp).

Fire up Netconsole, then reset the cRIO to see the console dump for boot/startup errors.

where is the Netconsole located?

A little painful to get to the first time you do it…but in Eclipse/Windriver-Workbench, on the left hand side, you should (depending on configuration) see two panes - one that’s about projects and one that’s about targets. You had to create one of these targets in the beginning in order to deploy the first time…

If you right-click on the target, you should see a “Connect” command in the menu. Connect. Then there will be a cascade of items that are found under that connected target. Now right-click on the target again and goto ‘Target Tools’ -> Target Console … and when the dialog comes up, you can simply click “OK”. You’ll get a black text console which looks a lot like a cmd/dos-box. This is the netconsole.

bob

what do I do when i get into the netConsole?

You’ll want to report (copy/paste) what it says for bootup. It may give some clues to the folks that were asking.

bob

ok sorry but i am really new at this i could reall use a full step by step

If you don’t understand how to follow the step-by-step set of instructions that Bob already posted, I don’t know what else would help you. You’ll probably be best served by finding a local resource to show you in person. I don’t have a good feel for how long it takes to get around the Los Angeles area, but there must be more than a dozen teams within shouting distance of you.

I have found that if your program crashes, the crio shows no code. The netconsole will usually show an exception.

Do you guys use a debugger? I’ve found that using a debugger is the main source of hair loss and frustration for many programmers I’ve met.