I am new to the forum and this is the first year we use Wind River as a development platform. We used LabView last year.
Upon following the instructions very carefully on installing Wind River, loading all updates, reflashing the firmware of the cRIO to v19 etc. We are at the point of loading the sample "DefaultRobot" program to the robot and try things out. We successfully compiled the code and downloaded it to the robot but it doesn't work. Here is the details.
- Before we even fired up Wind River workbench, we fired up the Classmate PC (Driver station), set up all the configurations include team number. We saw the Communication light went green and so was the Stop Button light. But the Robot Code light remained RED. Also the Volts displayed --.-- (and yes we checked the jumper on the Analog bumper to make sure it is on reporting voltage instead of another analog channel).
- Since the Robot Code light is RED, we decided to fire up Wind River Workbench, compile some code and load it to the robot.
- After successfully downloaded the code, the driver station "Robot Code" light is still RED. So we decided to follow the instruction to reboot the robot anyway and see if the code gets activated. BTW, we also connected a null modem cable to the cRIO and saw the boot activities on the Terminal console.
- During boot, the terminal console showed a lot of "Undefined symbol" error and said the program failed to load. I attached some of the output below.
Code:
Warning: module 0x134d238 (FRC_UserProgram.out) holds reference to undefined symbol _ZN5nFPGA33n0BA6BBDC5CE760BA2A9A95D92CEA342A14tAnalogTrigger26writeS
ourceSelect_AveragedEbPi.
Warning: module 0x134d238 (FRC_UserProgram.out) holds reference to undefined symbol _ZN5nFPGA33n0BA6BBDC5CE760BA2A9A95D92CEA342A6tAlarm16writeTriggerTim
eEjPi.
Warning: module 0x134d238 (FRC_UserProgram.out) holds reference to undefined symbol _ZN5nFPGA33n0BA6BBDC5CE760BA2A9A95D92CEA342A3tAI19readConfig_ScanSiz
eEPi.
Warning: module 0x134d238 (FRC_UserProgram.out) holds reference to undefined symbol _ZN5nFPGA33n0BA6BBDC5CE760BA2A9A95D92CEA342A8tEncoder11kNumSystemsE.
(unloading partially loaded module FRC_UserProgram.out)
...FRC_UserProgram failed to load.
task 0x1d633c8 (t2) deleted: errno=0 (0) status=0 (0)
- We even abandoned the sample program and wrote our own SimpleRobot code just in case the sample was linking something that we do not have but we got the same result.
Since this is our first time to use Wind River, I am sure it is something simple possibly a configuration issue of Wind River. We'd appreciate if somebody would give us a pointer on what could be wrong with our config.
BTW, I did search for previous threads and found some describing the same issue but was from last year and never saw any sort of conclusions to those threads.
Thanks.