No, software that can’t handle paths with spaces should be avoided We live in 2011 where a file name can be more than 8 chars long, the last name more than 3 chars and paths can have spaces
Software that can’t handle such issues belongs in 1993.
Daav, i’ll make a clean build now and post the results.
I updated my version of OpenAT after I installed DS 1.2.0, but that shouldn’t pose any problems should it? I mean, I should be able to download a new firmware from your repository and use it without having to re-install DS every time right?
Yes of course.
We guarantee DS to be backward compatible with all former package versions. Sometimes recent packages could require a DS upgrade (e.g. some Software Suite 2.34 packages require at least DS 1.1.2), but here you’re using the all latest versions, all is compatible.
Back to your issue: sounds like a project dependency upgrade issue.
The WmOatIdeRteDefFile should point on a file provided in the OS 6.34 folder.
Can you check in the Project Properties > Open AT Application page if the Open AT OS dependency is well positioned to the 6.34 version?
Please can you try "Apply"ing again this dependency update, to check if the variable is updated?
And last questions:
What was the previous Open AT OS version you used for this project?
Is there any chance that the project description files are in read-only mode (.project ; .cproject ; .settings.ebsdata files in your project folder) – we already noticed dependencies upgrade issues in this case)?
Just click the Apply button in the “Open AT Application” page.
To be sure I’m understanding well the use case: was this hello world project created with Open AT AS 6.34 dependency, or was it with another version (which one?) and then upgraded to 6.34?
With the changes to export.def i can get DS to launch the RemoteTasks Monitor program when i hit ‘Debug’. However after that it just sits there. Nothing more happens. The only button i can press is the red ‘Terminate’ button.
If i hit that one it comes up with an error after a while:
Target request failed to interrupt.
Also, why doesn’t DS by default add a RTE debug configuration when you create a new Open At project??
When RTE monitor is invoked, you have to press the Start button (in RTE monitor window) in order to launch the application.
It’s true that the workflow is not obvious, but as I said, it is now considered as a temporary solution while waiting for the new one.
By using the “Debug as > Open AT RTE application” in the right click menu of the project, the debug configuration is automatically created. Or even simply click the Debug toolbar button while project is selected and RTE build Configuration is enabled, and it will do the same.
Mmmm… sounds definitely like there is something wrong there: all of this should work like a charm, and it’s actually the first time we’re hearing about such troubles in setting up the RTE debug on a simple app…
This should be related to the bad export.def reference. Please can you zip your Hello World sample project directory and attach it here?
I have now tried clearing the computer from all Wavecom/Sierra related software and then re-installed DS 1.2.0.
This has fixed the export.def issues and also now it adds RTE debug capability as default when i create a new project.
Everything works fine, until the step described above where it gives me the “Target request failed to interrupt” message after i have pushed the ‘Start’ button in the RemoteTask Monitor.
Sounds better now.
Some things to know about RTE debugging:
you have to wait a couple of seconds before your application starts in RTE mode (it is not as fast as target mode)
traces sent by your RTE application are configured in the RTE Monitor dialog (not in DS usual interface): select ADL in the drop-down list + select the desired levels; Traces will appear in blue in the DS traces view.
sometimes (reproducibility: 10%), application won’t start at all because of synchronization issues between DS and the target.
These points are not new regarding DS, the behavior was the same with Visual Studio.
Now some restrictions:
GDB (the debugger we’re using) doesn’t allow to setup breakpoints during execution, so you have to setup them before launching the debug session, or while the execution is stopped (on another breakpoint), otherwise they’ll be ignored.
Stopping the execution (using “Pause” button) doesn’t work. You must use breakpoints.
And finally, to properly handle process termination, you have to use RTE monitor Stop and Quit buttons (Stop button from Debug view doesn’t work either).
I still have the same problem. If i set a breakpoint in the timer handler in the hello world sample, i never get this breakpoint. After i hit ‘Start’ in the remote task monitor, nothing happens and the debugger gives a yellow triangle at all breakpoints that i set, indicating that they’re unresolved??
If i open the console view, i can see the Hello World messages coming at a faster rate than if i just run the sample in target mode.
This shows that the global communication system is functional (your app DLL → RTE kernel → Selima → com0com → DS → your target).
The timer different rate is an already known issue.
Now the last issue is with the debugger: please can you have a look to your RTE Debug Configuration, on the debugger tab (maybe could make a snapshot, and attach it here?). GDB command file should reference a .gdbinit file located in your build configuration output directory. Please can you paste it contents here also?
(Note that you should go through the windows explorer, as Eclipse usually hides .xxx files in the project explorer).
Absolute path to your .gdbinit file has to be configured
Do you remember how did you create this debug configuration?
You should maybe try to delete it and recreate it by the right click menu > debug as… > Open AT RTE application…
Normally all the fields should be automatically and correctly initialized.