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

nrfThread Eddystone example problems (SDK4 Thread)

Hello everyone, 

I am trying to evaluate the multiprotocol capabilities of the nrf modules and am having issues compiling the 'ble_thread_dyn_coap_srv_eddystone' example under multiprotocol/ble_thread.

The documentation mentions the example does not support ses compiler (no reason given) and I manage to get to the point where it tries to compile the multiprotocol_802154_config.c and it fails saying nrf_raal_softdevice.h: No such file or directory.

I have already triple checked that the paths are correct and the file is indeed there without success. I've also tried it using armgcc with the exact same results so I'm not sure what's going on. I've also attempted loading the pre-compiled hex file (and the softdevice) through nrfConnect but nothing runs on the 52833 dev kit, I get the following on RTT:

<info> app_timer: RTC: initialized.

<error> app: Fatal error

I should say I've tried this for both pca10100 and pca10056 with the exact same results.

Also. I'm running Win10, SES 4.42a, latest SDK and gnu arm embedded toolchain.

Any help would be greatly appreciated.

  • Hello,

    This example should be supported by SES as far as I can tell. I was able to run it on my 52833 DK without making any changes at least. So, I'm wondering if it might be related to path lengths. I have encountered a few cases where the source and include paths become too long even on Windows 10 (was far more common with W7). Could you try to shorten the paths by moving the SDK directory closer to the root of your hard drive?    

    The 'ble_thread_dyn_coap_srv_eddystone' debug log I got here :

    <info> app_timer: RTC: initialized.
    <info> app: Thread version   : OPENTHREAD/20180926-01143-g8a1992e2; NRF52833; Dec 10 2019 22:38:51
    <info> app: Network name     : OpenThread
    <info> app: Thread interface has been enabled.
    <info> app: 802.15.4 Channel : 11
    <info> app: 802.15.4 PAN ID  : 0xABCD
    <info> app: Radio mode       : rx-on-when-idle
    <info> app: BLE Thread dynamic CoAP server eddystone example started.
    <info> app: State changed! Flags: 0x011FD33D Current role: 1
    
    <info> app: State changed! Flags: 0x00000040 Current role: 1
    
    <info> app: State changed! Flags: 0x008012A5 Current role: 4
    

    Thanks,

    Vidar

  • Well, that did the trick... I modified the path removing spaces and dots but did not think of shortening it significantly. 
    Thanks for the quick update!

Related