Can't run Blinky on NRF9160-DK using nrf_connect toolchain and Zephyr

Hello, 

I've been trying to run both Blinky & Hello_WORLD examples given with NCS 1.6.1 on an NRF9160-DK but I don't see any output. I was able to build & run successfully using SEGGER and WEST commands from the command line, but on debugging, it seems to be getting a hard_fault error before hitting main(). Am I missing something here? 

Parents
  • Hello Harshil,

    Am I missing something here? 

    I’m not able to reproduce this behaviour on my side, as both the blinky and hello_world sample in NCS v1.6.1 work as expected with the nRF9160 DK. I neither experience any problems during debugging.


    I was able to build & run successfully using SEGGER and WEST commands from the command line, but on debugging, it seems to be getting a hard_fault error before hitting main().

    Are you using SES for debugging? Do the samples work if you do not use the debugging functionality?


    I've been trying to run both Blinky & Hello_WORLD examples given with NCS 1.6.1 on an NRF9160-DK but I don't see any output

    Otherwise, I strongly recommend you to upgrade to NCS v1.9.1 and use nRF Connect for VS Code instead, as this tool will make life a lot easier for you when it comes to both compiling and debugging.

    Regards,

    Markus

Reply
  • Hello Harshil,

    Am I missing something here? 

    I’m not able to reproduce this behaviour on my side, as both the blinky and hello_world sample in NCS v1.6.1 work as expected with the nRF9160 DK. I neither experience any problems during debugging.


    I was able to build & run successfully using SEGGER and WEST commands from the command line, but on debugging, it seems to be getting a hard_fault error before hitting main().

    Are you using SES for debugging? Do the samples work if you do not use the debugging functionality?


    I've been trying to run both Blinky & Hello_WORLD examples given with NCS 1.6.1 on an NRF9160-DK but I don't see any output

    Otherwise, I strongly recommend you to upgrade to NCS v1.9.1 and use nRF Connect for VS Code instead, as this tool will make life a lot easier for you when it comes to both compiling and debugging.

    Regards,

    Markus

Children
No Data
Related