This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Load firmware mesh examples into PCA10056 using Segger Embedded

Hi,

I was trying some examples of the SDK 13 and 14 for keil but now I need to undestand how works the ble mesh.

I did the download of the SDK mesh, and there are only segger's project.

I am trying to do the load of the firmware (light switch client/server) to nordic board (NRF52840) and this examples works when I use the Debug >> Go options... The problem is that when I turn off the board and remove the usb cable, the firmware is not save in the board.

I wanna know how I can load the firmware (SDK mesh examples) using SEGGER, looks like the load button in the keil. Do I need a JLink programmer to do it?

I tried also to load the firmware by command line: nrfjprog --program <dir>/light_switch_client_nrf52840_xxAA_s140_5_0_0-3_alpha.hex (Using the SDK 14/13 examples it works) but using the hex files generated from SEGGER, doenst works.

Thanks

Parents
  • Hello,

    I tested the client example on the nRF52840, and it seems to work. Please be aware that the example prints the log on the RTT, and not the UART, but if you modify the example to turn on a led, you should see that it should run after turning off the device, and switch it back on.

    Please note that the mesh SDK is not yet adapted to the nRF52840, but some of the examples should work. Can you also try to press Build->Build and Run before unplugging the device. Have you modified anything in the example? Have you added a UART, for instance?

    Do you have any way to check that the application is not actually running when you turn it back on? Can you check the RTT log, using RTT Viewer from JLink?

    Best regards,

    Edvin

  • Hi Edvin,

    I am trying to create a mesh network. Actually I have two types of boards. (PCA10056 and PCA10040) booth has the NRF52(832/840).

    Please note that the mesh SDK is not yet adapted to the nRF52840

    Can you explain this? What adaptation are not done yet?

    Are there any date to finish these adaptations?

    Can i to test all the examples shared in the nrf5_SDK_for_Mesh_v1.0.0_src using these boards?

    Have you modified anything in the example?

    Now I am putting only log to undestand the code

    Have you added a UART, for instance?

    No, but I wanna do it in the future, to send JSON objects

    o you have any way to check that the application is not actually running when you turn it back on?

    I am testing the light switch example (1 client and 3 server)... I press Build and Run and after the play button. Works fine. This way I can see the log on output window of the segger, but when I turn off the boards all the leds of all boards are turn off and the button event doenst work. Looks like that the firmware is not save.

    This process using the Keil is very simple, I need only press the load button.

    Which example I can to test the mesh network using these boards?  (PCA10056 and PCA10040)

Reply
  • Hi Edvin,

    I am trying to create a mesh network. Actually I have two types of boards. (PCA10056 and PCA10040) booth has the NRF52(832/840).

    Please note that the mesh SDK is not yet adapted to the nRF52840

    Can you explain this? What adaptation are not done yet?

    Are there any date to finish these adaptations?

    Can i to test all the examples shared in the nrf5_SDK_for_Mesh_v1.0.0_src using these boards?

    Have you modified anything in the example?

    Now I am putting only log to undestand the code

    Have you added a UART, for instance?

    No, but I wanna do it in the future, to send JSON objects

    o you have any way to check that the application is not actually running when you turn it back on?

    I am testing the light switch example (1 client and 3 server)... I press Build and Run and after the play button. Works fine. This way I can see the log on output window of the segger, but when I turn off the boards all the leds of all boards are turn off and the button event doenst work. Looks like that the firmware is not save.

    This process using the Keil is very simple, I need only press the load button.

    Which example I can to test the mesh network using these boards?  (PCA10056 and PCA10040)

Children
No Data
Related