|
Re: No Code Error
This can happen for two reasons - you don't have code (sounds like you do) or the code is failing to execute.
First, check that the FIRST Downloader in Windriver is downloading the program you expect and that your team # is set properly. Both of these are set in Windows->Preferences->FIRST Downloader Preferences.
Failure to execute is often caused by a mismatch in version between what your code is compiled against (WPILib in Windriver) and the cRIO's FPGA image on the robot.
Have you downloaded and applied all updates to Windriver?
Have you imaged your cRIO with the latest C++ image version (version 19)?
Update everything, recompile, and re-download your code. Restart your robot. If you continue to have problems, it is helpful to either:
A. Undeploy the program, reboot the robot, and load your code using the Debug facility in Windriver -- this will give you the ability to get any errors back as the program is loaded, and also to know your code is getting there.
-or-
B. Attach a serial cable to your cRIO's serial port, turn on the "console out" DIP switch on the cRIO, reboot your robot and watch the console messages on a terminal program on your laptop. This can give further details.
|