FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO will not run code

If we flash the RIO it will run the default program.  If we try to replace it with a windriver program the code does not run.  It always looks like it downloaded and the default program is gone but nothing happens.

We had this happen once during build when I switched computers, problem went away.  No such luck this time.

I see on Chief Delphi that some other teams have had the same problem but have seen no solutions.

0 Kudos
Message 1 of 4
(5,183 Views)
  • When you say is doesn't work - does it continue to run the default program or does it do nothing?
  • If you FTP to the controller can you determine if the .out file that contains your compiled program is present?
  • What steps are you following to compile and deploy your code?
  • In C:\WindRiver\workspace\<your project name> what files are present?
  • Did this computer ever compile or download code without issues or is this a persistent problem?

I hope the answers to these questions will help give us some explination as to what is happening.  At the very least it will give us some areas to focus our investigations.

Cheers,

Mark

NI FIRST Support

Mark
NI App Software R&D
0 Kudos
Message 2 of 4
(3,052 Views)
  • It will run default program. I can undeploy default program but when I deploy the same code that we used at the Regional and Atlanta it appears to deploy but DS says No Code.
  • Have not done that.
  • I have done it 2 ways just deployed without undeploying and undeplying first then deploying. Same result
  • FilesPresent
    • Build Targets
    • Binaries
    • Includes
    • PPC603GNU
    • MyRobot.ccp
  • This computer worked fine until 2 weeks ago.
  • Had this same problem once during build. It went away when I used a different computer. That did not work this time.
    0 Kudos
    Message 3 of 4
    (3,052 Views)

    Look to see if the .out file is being generated correctly if it is it will be found at the following path:

    C:\WindRiver\workspace\<your project name>\PPC603gnu\SimpleTemplate\Debug\<your project name>.out

    If I am understanding you correctly you have attempted to deploy this code from multiple computers with the same result.

    • Is there any chance the firewall settings changed on the computer? 
    • Can you confirm you Kernel Task is set up correctly in the Run dialog window?
    • Are you sure your cRIO is configured for Wind River? (note you do not need to completely reimage you cRIO to change this setting)

    Feel free to attach your project and all of your support files in a zip file to your next reply.  Once you have answered my couple of questions about and provided me the project I'll be running tests to try to reproduce your issue. 

    Thanks again for contacting us!

    Cheers,

    Mark

    Mark
    NI App Software R&D
    0 Kudos
    Message 4 of 4
    (3,052 Views)