nrf9160 aws_iot sample is hangind inside the nrf_spu_flashregion_set() function.

I am currently running the aws_iot sample on the nrf9160-dk, however i Have noticed that the program is not getting into the main function at all, but is getting stuck before that. So I ran the debugger and pressed pause that when I noticed that it is stuck in the function below

The call stack is as shown below, showing that an exception has been thrown.

...

I am still getting acquainted with the nrf controllers and Zephyr. would you know what maybe the cause for this?

Kind Regards

Parents
  • Hello Raymond,

    Which NCS Version you are using and which target you are building for?

    I am using NCS V2.4.0, and the sample AWS_IOT using the VS Code Extension

    Also make sure SDK and the Toolchain both are correct / compatible

    I built for the nrf9160dk_nrf9160_ns board target

    After successful compilation, I flashed it onto the DK (Before that I just tested my DK with hello world sample and connected Putty to the COM ports to make sure that DK is all good).

    I could see the output as below.

    Maybe you could try to follow the same (test hello world sample, connect to com port, make sure sdk and toolchain are correct, compile and flash sample).

    BR, Naeem

Reply
  • Hello Raymond,

    Which NCS Version you are using and which target you are building for?

    I am using NCS V2.4.0, and the sample AWS_IOT using the VS Code Extension

    Also make sure SDK and the Toolchain both are correct / compatible

    I built for the nrf9160dk_nrf9160_ns board target

    After successful compilation, I flashed it onto the DK (Before that I just tested my DK with hello world sample and connected Putty to the COM ports to make sure that DK is all good).

    I could see the output as below.

    Maybe you could try to follow the same (test hello world sample, connect to com port, make sure sdk and toolchain are correct, compile and flash sample).

    BR, Naeem

Children
Related