Application won't boot when bootloader and app are using 32kHz RC oscillator. When using MPSL (BLE and IEEE802.15.4 raw) or usb_cdc.

Hi,

We're having a problem that our application will hang when using the 32 kHz RC oscillator in the mcuboot bootloader and the Zephyr application. We encountered this problem when we updated from NCS 1.5.1 to 1.8.0. 

We have looked at https://devzone.nordicsemi.com/f/nordic-q-a/81418/bug-in-ncs-v1-7-1-with-32khz-rc-oscillator-and-mcuboot-enabled and https://github.com/zephyrproject-rtos/zephyr/issues/40538 but that does not seems to fix our issue or is not included in release 1.8.0

In the supplied files is a markdown file with steps how to reproduce the problem.

What could be a temporary fix? 

What is the prospect of a permanent fix?

Best regards,

Maarten

rc_oscillator_problem_files.zip

Parents
  • Hi Hung Bui,

    I've tested and verified that your 4075merged.hex is working on my devkit. I've also tested it on a second devkit which also works.

    I've tried to reproduce the binary but my sha256 hash won't match your binary. I'm using the following setups:

    Mac: 

    arm-toolchain-9-2020-q2-update

    NCS-1.8.0

    cmake version 3.21.4

    West version: v0.11.0

    Linux Ubuntu 20.04:

    Zephyr SDK 0.13.1

    NCS-1.8.0

    cmake version 3.22.0

    West version: v0.10.1

    What setup are you using and could you try to reproduce ours? 

     

    Lastly could you specify which command you used to produce the hex file you provided? 

    Thanks!

    Best regards,

    Maarten

Reply
  • Hi Hung Bui,

    I've tested and verified that your 4075merged.hex is working on my devkit. I've also tested it on a second devkit which also works.

    I've tried to reproduce the binary but my sha256 hash won't match your binary. I'm using the following setups:

    Mac: 

    arm-toolchain-9-2020-q2-update

    NCS-1.8.0

    cmake version 3.21.4

    West version: v0.11.0

    Linux Ubuntu 20.04:

    Zephyr SDK 0.13.1

    NCS-1.8.0

    cmake version 3.22.0

    West version: v0.10.1

    What setup are you using and could you try to reproduce ours? 

     

    Lastly could you specify which command you used to produce the hex file you provided? 

    Thanks!

    Best regards,

    Maarten

Children
Related