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

Target halted while developing with armgcc and Eclipse

When I am trying to run my code in nrf52840 DK board, the program halts in a specific PC and does not go forward (2nd image).

I am using SDK version 14.0.0 and softdevice 140 v5.0.0-2alpha. Also, I am using armgcc and Eclipse for building and debugging purpose.

Note that, the program builds just fine. Is there any way out from this? Thanks in advance.

Image 1: Program Specification

Image 2: Target Halted repeatedly

Edit:

I have solved this issue by downgrading the GNU Toolchain from 6.3.1 to 4.9.3. However, I am facing a new error now. Image below:

Parents
  • I'm sorry, but our most experienced in Eclipse is on vacation at the moment. Have you tried with a newer version of our SDK e.g. SDK v15.3 and SD v6.1.0?

    Kind regards,
    Øyvind

  • Hi! I have resolved the problem. Turned out I haven't flashed the Softdevice. Thank you for your support.

Reply Children