BLE Mesh setup issue.

hello,
I started working on BLE mesh using nrf52832 QFAAE1.
from hardware side i have custom self design nrf52832 QFAAE1 lot's of board, and every board working, i verify it via test BLE data communication code.

Now, from software side, i install nrf tool chain latest version and nrfsdkformesh version 5.0.0 
But i facing issue in setup and specifically flash code in my board. see in nrfsdkformesh in that i open the basic light switch example in the folder there are client and server file both files accessible for embedded studio, and in that when i build file, it give me error because the main.c file in application folder.

On nordic you tube channel i see that they use VS code, so i install it and learn BLE in VS code, because i done my all code in embedded studio, so i learn VS Code environment flashing process, file editing and all. but i don't know how i set up nrfsdkformesh with vs code and how i flash mesh codes in my boards using vs code.

here i attach my embedded studio screen shot.



please guide me how i use the nrfsdkformesh 5.0.0 and access the code also able to understand and flash it into board.

Another thing is that in this process i also install nrfjprog to flash the code, but in that also i face same issue that do not know how to use to flash the code.

Parents
  • Hello,

    If you have not moved around any of the files or folders in the SDK, the reason SES fails is probably one of the two:

    1: The path is too long. Try unzipping the SDK in a location closer to C:\ . This is a compiler issue in Windows. The max length of the path length can't be longer than 250 characters. 

    2: It is looking for a file in the "normal" SDK. So if you are using nrf5 SDK for mesh v5.0.0, you need a normal nRF5_SDK_17.0.2_d674dde located in the same folder as your nrf5_sdk_for_mesh_v5.0.0_src.

    but i don't know how i set up nrfsdkformesh with vs code and how i flash mesh codes in my boards using vs code.

    You can't *

    *it is possibly possible, but it is not something that we support. 

    Our VS Code plugin is intended for nRF Connect SDK (NCS), and not the nRF5 SDK (or nRF5 SDK for Mesh). If you installed and used VS Code with NCS for BLE, then you have everything you need to get going. There are some mesh samples located in ncs\nrf\samples\bluetooth\mesh. 

    If you have not set up NCS, then this is the SDK we recommend for new Bluetooth Mesh applications. 

    https://www.nordicsemi.com/Products/Development-software/nRF-Connect-SDK

    On that site, there is a link in the upper right linking to the nRF Connect SDK Fundamentals course on DevAcademy. It shows you how to set everything up to get started.

    Best regards,

    Edvin

  • thanks for replay Edvin,
    here i follow all steps for setup and successfully able to build mesh sample code, but every time facing issue in flashing process, and the issue is fatal error.

    I try every type in build configuration i try mdk, kbd, dk of my nrf52832. still facing same issue.
    now what can i do?

Reply Children
No Data
Related