This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

otSysInit freeze

Hello

I have an application running which boots up fine.

I've written a bootloader which boots up first, and then jumps into the application including softdevice.

So the application works without the bootloader. If i jump into the application from the bootloader, the application freezes at the thread_init function.

I suspect it to be the otSysInit function.

 

The bootloader device uses the app_timer instance, which initializes the RTC.

Because i think it's something related with the clocks that messes up the thread initialization process, but i'm not sure.

Any thoughts ?

Kind regards

Parents
  • Hello,

    You are using the nRF5 SDK for Thread and Zigbee, and not NCS, right?

    Can you tell me how you programmed the device, and what you programmed on it? Did you remember to erase it before programming it?

    And what did you program on the chip? bootloader? Softdevice? Bootloader settings?

    What does the DK look like after you programmed it? Any LEDs turned on? Or is it a custom board?

    Does the log say anything?

    Have you tried debugging the application? What IDE are you using? Segger Embedded Studio? If so, look for the option Tools->Attach Debugger, as this doesn't program the device, but only starts a debugger session. If you program the device through the IDE, then the bootloader settings will be wrong. And how did you generate the bootloader settings (if you did)?

    Best regards,

    Edvin

Reply
  • Hello,

    You are using the nRF5 SDK for Thread and Zigbee, and not NCS, right?

    Can you tell me how you programmed the device, and what you programmed on it? Did you remember to erase it before programming it?

    And what did you program on the chip? bootloader? Softdevice? Bootloader settings?

    What does the DK look like after you programmed it? Any LEDs turned on? Or is it a custom board?

    Does the log say anything?

    Have you tried debugging the application? What IDE are you using? Segger Embedded Studio? If so, look for the option Tools->Attach Debugger, as this doesn't program the device, but only starts a debugger session. If you program the device through the IDE, then the bootloader settings will be wrong. And how did you generate the bootloader settings (if you did)?

    Best regards,

    Edvin

Children
Related