![]() |
Debug Windriver issue.....
Hello, two problems i am having are 1) on the DS it says Battery: No Code and 2) when i try debugging the cRIO i get a nice screen of error messages "Unresolved Symbols on Download Module. On downloading module '/IterativeDemo/PPC603gnu/IterativeDemo/Debug/IterativeDemo.out' on target 'VxWorks6x_10.5.22.2-MPC5200', the module symbols could not be fully resolved. and then i get a nice list of unresolved symbols. What does this mean? Any help would be greatly appreciated.
|
Re: Debug Windriver issue.....
Funny you should ask this question, we had the same error pop up yesterday. When VxWorks loads a kernel module (ie your robot code) it makes sure that every function that is called by your code exists somewhere in the running kernel or the previously loaded modules. This check is not done when the code is built or linked.
Look at each symbol it is complaining about and ensure that you haven't made a typo and that the method is actually implemented in your code. Our problem yesterday was that the base class didn't have a method implemented. |
Re: Debug Windriver issue.....
but i haven't edited the code at all. I just used the template, built it, and it built with no errors. Does this mean i have to actually write code for it to work, instead of just building and downloading the template?
|
Re: Debug Windriver issue.....
Quote:
|
Re: Debug Windriver issue.....
yes i did, am i doing something wrong somewhere?
|
Re: Debug Windriver issue.....
To elaborate more on the problem that Mike referred to, we had something like this
Code:
class AWhat template are you using? What are the symbols that it complains about? Maybe posting your source and headers may help us help you. |
Re: Debug Windriver issue.....
Quote:
|
Re: Debug Windriver issue.....
Quote:
If that's what you're seeing make sure that the cRIO is flashed with the same version of code as the library you're using for your C/C++ program. We are trying to keep the releases in sync so at any point in time, the two should match. And we'll say on the download page what is required for the C/C++ library. |
Re: Debug Windriver issue.....
In trying to build the simple robot example we are seeing this issue... Unresolved symbols for nFPGA things.
How can we verify that we have matching versions of the library and the firmware? Thanks, -Wade Hasbrouck |
Re: Debug Windriver issue.....
we are experiencing the same errors. WE upgraded the cRio to v20, but are still getting the same "unresolved modules" issues.
We are using the simpleRobot template without any modifications |
Re: Debug Windriver issue.....
Quote:
A new programming update was released a couple of days ago, with cRIO image v27. |
Re: Debug Windriver issue.....
Thank you Alan. I found the new cRio version and will be trying it tomorrow. I'll report back the results.
In case anyone needs it, this is the link to the new CRio version http://firstforge.wpi.edu/sf/go/proj...1_0_for_2011_f |
Re: Debug Windriver issue.....
Ok, I updated cRio to v27. The SimpleRobot program compiles and loads correctly. So at least we are moving forward. Now, I have a different issue; nothing happens when the program runs.
I open the Driver Station and in the Diagnostics window I get the "Attempting to reuse an allocated resource" .... Now to look at others posts in the site for solution to this problem |
| All times are GMT -5. The time now is 02:31. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi