Community news, upcoming events and general discussions
Threads: 27 Posts: 68
Get technical support from the community
Threads: 760 Posts: 4132
Threads: 15 Posts: 54
Tell us how to make XDK better!
Threads: 34 Posts: 112
Share and discuss community member projects
Threads: 22 Posts: 120
I have a problem with my XDK Flash button. Even when the project content has changed pressing the Flash doesn´t start the build anymore. I have to start the build manually to update my binary before flashing.
Any idea whats wrong?
I assume the cause of your issue is a missing set build option which automatically building before flashing. Please go to:
Window > Preferences > XDK > Flash.
There, the option Auto build project before flash should be set for Flash via COM: if you are using the standard USB interface, or Flash via JLink if you are using the debugger. The set the missing option.
Please tell me if this option is set for your workbench, and feel free to ask further questions.
Kind regards, Franjo
the options are set correct and the status bar also shows building project. But even if I changed one of the source files they will not be compiled and linked. Seems like the compiler doesn´t see the change on the file.
Any additional idea?
this is more then unusual. I assume you are saving your project files after every source change. But the XDK Workbench flashes after the build of the changed project still the unchanged project on the XDK. Am I right so far?
I would ask you to go more into detail about the application you are trying to flash to the XDK.
Could you please tell me what kind of changed application you are trying to flash to the XDK? Is it an example, a demo or an own implementation? Are you using a project which you renamed before?
In addition, maybe you can try to clean the project first and then build and flash it to the XDK.
Please tell me if this is helpful and do not hesitate to ask if you have further questions.
The application takes sensor data and pushes them to Bosch Cloud via a PHP interface.
Basically I did a new project and in the beginning it worked perfect. there is one point in time when the function gets lost, but I can´t see the root cause for this.
For me the question is: How does Ecplise usually detect that a source file has changed and needs to be rebuild?
thank you providing the information about your application. Generally I can only assume about how eclipse is detecting source changes. There is an option within the preferences in General > Workspace called Build automatically, which ensures an automatic build when sources are changed. Maybe you can check if this option is set within your XDK Workbench. Additionally the option Save automatically before build should be set too. Both will ensure that sources changes are saved and built before flashing to the XDK.
In addition, I recommend to close all unrelated projects within your project explorer of the XDK community to ensure the build is made correctly. Otherwise I recommend, if you used a new created project for your application, to check if the project name matches the name in the build directory path in C/C++ Build within your project properties and the name of BCDS_APP_NAME in the makefile of the project.
all of those settings are correct in my environment. It´s really strange :-/
Do you have any additional idea?
this is really more than unusual. It is difficult to narrow the cause down, because I am not able to reproduce the issue and can only make guesses about why it is appearing. Not to mention that is very difficult to find a solution.
Thus, I would ask you to verify some additional information.
Are you using the latest XDK Workbench 2.0.1? Did the issue only appear in your own created project or did it appear in other examples, demos, too?
If the issue only appears in that one project you mentioned, then I guess it could be related to the project's settings and I would need to analyze it more in detail. Therefore, I would ask you to post your email in here, so that I am able to contact you for the project.