Workbench 2.0 - Can't find binarie
응답
17. 2. 22 오전 9:16

Hi,

I've just updated to Workbench 2.0 but I am now unable to flash my device.

I am getting the following error:
No binary file found in selected project.

I've already cleaned and built the project.

 

0 (0 투표)
RE: Workbench 2.0 - Can't find binarie
응답
17. 2. 22 오전 9:48 as a reply to Lee Weiyang.

I'm also getting the following error:

 

0 (0 투표)
RE: Workbench 2.0 - Can't find binarie
응답
17. 2. 22 오전 9:49 as a reply to Lee Weiyang.
RE: Workbench 2.0 - Can't find binarie
0 (0 투표)
RE: Workbench 2.0 - Can't find binarie
응답
17. 2. 22 오후 11:48 as a reply to Lee Weiyang.

Hello Lee, 

the workbench 2.0 included some changes in the XDK Software Development Kit (SDK) and the interface URU_UsbResetUtility.h is deprecated now.

Thus the workbench is not able to build your WB 1.7 project and no binary can be found. 

There are two possibilities to fix this issue. You could either go to

SDK > xdk110 > Common > ReleaseNotes.txt

and check the release notes to migrate your old project to workbench 2.0. You would need to replace all deprecated interfaces and methods. This process would have the benefit that if you made many changes in the source code. They are still included.

If you did not make any changes or only a few, I would recommend to rename the project in your workspace ( See Workbench First steps guide section 5.4).
Afterwards check that there is no project in your workspace and on disk with the same name. Further you can reimport the example of the welcome screen of the XDK workbench. You will get an updated example to the workbench version 2.0 that should run without any issues.

Please tell me if this was helpful and do not hesitate to ask if you have further questions.

Kind regards,
Manuel

0 (0 투표)
RE: Workbench 2.0 - Can't find binarie
응답
17. 2. 23 오전 1:28 as a reply to Manuel Cerny.

This is the latest entry:

 

/**
@page PAGE_RELEASE_NOTES_XDK Release Notes of XDK SDK
@brief Provides Release Notes and Version History of XDK SDK
<hr>
@verbatim

Date: 2016-12-09
Version: 29.00.00
Released By : dpa6cob
1. DTLS funcionality updated along with Escrypt_CycurTLS version 1.1 library which replaced cyassl library.
2. SensorLwm2mClient Application updated with FOTA Feature.
3. Firmware header Validation is done only when the header data is written into storage medium.
4. When an empty URL is given both State and Update Result is made to be 0 according to latest spec.
5. SDCardStorage_Read API is made to return error when file is not there.

Known issues:-
1. If RWM application is not flashed(once in a HW lifetime) , on pressing 'g'  "FF:FF:FF:FF" will be displayed as MAC address
2. As per few sensor dataSheets , more than 1 values(ENUM) will be accepted by the sensor driver. But XDK supports only one values,
   So chances are there  XDK returns SENSOR_UNSUPPORTED_PARAMETER will be displayed when the sensor driver returns other than that "one value"
3. Magnetometer value of x and y axis is returned high value during testing, which we found a problem of BST library.
4. Debug messages that contains more than 1024 characters are not printed on the console.
5. "De-bouncing" feature for Button module and "set brightness" feature for LED is currently not supported.
6. Executing HttpPool_subMonitorFunc() and Tcp_send() simultaneously leads to deadlock situation sometimes.
7. Support for TLS/dTLS/HTTPS is in 'technical preview' state and not ready for production use.
8. LWM2M user Application is in 'technical preview' state and not ready for production use.

Open Source Components Used in this release:
1. FreeRTOS
2. EMLIB
3. BST - BSD Library
4. GNU-ARM-GCC tool-chain for compilation
5. FATfs

 

 

I don't see any notes regarding the issues I'm facing.

0 (0 투표)
RE: Workbench 2.0 - Can't find binarie
응답
17. 2. 23 오전 1:34 as a reply to Lee Weiyang.
How do I fix the error with serval_security.h?
0 (0 투표)
RE: Workbench 2.0 - Can't find binarie
응답
17. 2. 24 오전 11:29 as a reply to Lee Weiyang.

Hello Lee,

If your code includes deprecated methods, it is not possible for the compiler of the XDK to build your project. A binary cannot be flashed to the XDK, because there is no built binary to flash since a binary is the output of the compiling process.

Maybe we need to clarify some things first.

Are you referring to the SendDataOverBLE example?

Have you tried to follow my detailed description and reimported the project?
If not, I recommend to import it and build the project again.

Did you make any changes in the source code of the example?

Kind regards,
Manuel

0 (0 투표)
RE: Workbench 2.0 - Can't find binarie
응답
17. 2. 26 오후 3:04 as a reply to Manuel Cerny.
The only issue I have now is with serval_security.h. Not my code. Please refer to the screenshot in post 3. If I #include <Serval_RestClient.h>, I get that error upon compiliation.
0 (0 투표)
RE: Workbench 2.0 - Can't find binarie
응답
17. 2. 27 오후 8:18 as a reply to Lee Weiyang.

Hello Lee,

would be so kind and reply to my questions. In order to help you with your issue we really need to go more into detail.

Your screenshot indicates that your code is not compiling because of deprecated functions.

Furthermore there is an additional compilation error with URU_UsbResetUtility.h.

Therefore I would like to know if you reimported as mentioned the SendDataOverBle example or only changed the deprecated functions of the URU_UsbResetUtility.h interface?

If you made any progress I would ask you to post a new screenshot or alternatively share your code.


Kind regards,
Manuel

0 (0 투표)
RE: Workbench 2.0 - Can't find binarie
응답
17. 3. 2 오전 1:51 as a reply to Manuel Cerny.

Hi

 

Please just ignore the screen shot in post #2 and help me with the issue in post #3.

I am not using SendDataOverBle. I was just testing to see which other projects are not working.

 

0 (0 투표)
RE: Workbench 2.0 - Can't find binarie
응답
17. 3. 2 오후 5:28 as a reply to Lee Weiyang.

Hello Lee,

I am referring to your third screenshot. I assume you are dealing with several issues at once. There are multiple errors indicating that you are building not one but two deprecated projects at the same time.

Furthermore I assume that the issue is related to an older deprecated version of Serval_Security.h.

This interface has changed in the latest XDK Workbench version 2.0 and you need to migrate it.

Please tell me if you are able to migrate the according parts on your own.

Alternatively, to make any progress, I would ask you to post the related part of your application code or screenshots in here to get detailed information about how you are currently calling the functions of the interface Serval_Security.h since I assume that your second project is not based on any example.

Kind regards,
Manuel

0 (0 투표)