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

The error message shows up after building the mesh demo code to thingy 52

Hi

I following the steps listed in the document Thingy Mesh Demo v0.1

https://github.com/NordicPlayground/Nordic-Thingy52-mesh-demo

When i perform the step 5  "Open the workspace under "Thingy_node\pca20020_s132\ses",
compile and download the firmware into multiple Thingy devices which will play the role as "Nodes"."

In Segger Embedded Studio, select Target on toolbar > Download Thingy node

After compiling, the error message shows up when downloading to Thingy as below:


How to solve this problem?

Thanks!

Parents
  • Hello William,

    Would you please help me to check:

    1. Have you executed the "setup_sdk.bat" which inside the "Nordic-Thingy-52-FW" folder? Have you met any error messages?

    2. Is there a folder "sdk_components" inside the "Nordic-Thingy-52-FW" folder?

    3. Under the path "Nordic-Thingy52-FW\sdk_components\softdevice\s132\hex", is there the softdevice file "s132_nrf52_4.0.2_softdevice.hex" inside ?

  • 1. I rerun all step from 1 to 5(delete old, create new), After executed the “setup_sdk.bat”, The log capture as attach file. (seems to no error?)

    �w�إ� sdk_components ���s�� <<===>> external\sdk13\components
    �w�إ� external\nano-pb ���s�� <<===>> external\sdk13\external\nano-pb
    �w�إ� external\segger_rtt ���s�� <<===>> external\sdk13\external\segger_rtt
    "micro-ecc not found! Let's pull it from HEAD."
    Cloning into 'external\sdk13\external\micro-ecc\micro-ecc'...
    remote: Counting objects: 1086, done.
    remote: Total 1086 (delta 0), reused 0 (delta 0), pack-reused 1086
    Receiving objects: 100% (1086/1086), 647.95 KiB | 672.00 KiB/s, done.
    Resolving deltas: 100% (637/637), done.
    mkdir _build
    Compiling file: uECC.c
    Creating library: ../../nrf52_armgcc/armgcc/micro_ecc_lib_nrf52.a
    C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major/bin/arm-none-eabi-
    ar: creating ../../nrf52_armgcc/armgcc/micro_ecc_lib_nrf52.a
    Done
    mkdir _build
    Compiling file: uECC.c
    Creating library: ../../nrf52_keil/armgcc/micro_ecc_lib_nrf52.lib
    C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major/bin/arm-none-eabi-
    ar: creating ../../nrf52_keil/armgcc/micro_ecc_lib_nrf52.lib
    Done
    ����N���~�� . . .

    2. The folder “sdk_components” is available in the “Nordic-Thingy-52-FW” folder

    3. There is no file “”, in the foldar Nordic-Thingy52-FW\sdk_components\softdevice\s132\hex, Where can i find this file?

  • Hello William,

    I would assume you faced some path or naming/encoding issue in windows system.

    Would you please:

    1. Copy the softdevice "s132_nrf52_4.0.2_softdevice.hex" which is under: "Nordic-Thingy52-FW\external\sdk13\components\softdevice\s132\hex" to the "Nordic-Thingy52-FW\sdk_components\softdevice\s132\hex

    2. Or, please right click the on the project and choose "Edit options" like

    And select the column "Debug" -> "Loader", and choose "Additional Load file[0]"

    And modfiy the path by selecting the softdevice hex file which is under 

    "Nordic-Thingy52-FW\external\sdk13\components\softdevice\s132\hex\s132_nrf52_4.0.2_softdevice.hex"

    Hope this can do help :)

  • There is no file "s132_nrf52_4.0.2_softdevice.hex" can be found under the "C:\Nordic\mesh2\Nordic-Thingy52-FW-release-v2.1.0\external\sdk13\components\softdevice\s132\hex"

    Can i use the newest version of softdevice(.hex) to replace this file? Such as s132_nrf52_6.0.0_softdevice.hex

    Or, Where can i download this file "s132_nrf52_4.0.2_softdevice.hex"

    Thanks!

Reply Children
Related