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 Reply Children
  • Hello !

    Thanks for your reply. Yes, I have followed that tutorial and successfully executed the blinky code. However, when I tried to run the code in "\SDK 14.0.0\examples\ble_central_and_peripheral\experimental\ble_app_att_mtu_throughput" , I faced that error.

    I am attaching the screenshot of my debug console, output console here for your convenience. Thanks!

    1. Debug Console

       

    2. Debug Console

    3. Debug Console

    4. Output Console

Related