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

running arm-none-eabi-dgb on nRF52 with soft device

Hi,

I'm trying to run the gdb on the nRF52 with softdevice s132 and in the begining it runs ok but after some time when I run (gdb) list I get: "Line number 435 out of range; main.c has 434 lines."

can somebody help with this?

Parents
  • Searching for similar error messages, I see that some people on other platforms have had this issue when the file ends in a new line with a space character. When they deleted the space, the error disappeared.


    Note:

    With the release of SDK 14.1, we have added support for Segger Embedded Studio (SES) IDE. SES is cross-platform, and can be used on Windows, Mac OS X, and Linux. You can use Segger Embedded Studio for commercial and non-commercial purpose with Nordic Semiconductor devices free of charge without any code limit. See this article for more information. I would therefore recommend using SES.

    You can download SDK 14.1 here.

    You can download Segger Embedded Studio from here.

Reply
  • Searching for similar error messages, I see that some people on other platforms have had this issue when the file ends in a new line with a space character. When they deleted the space, the error disappeared.


    Note:

    With the release of SDK 14.1, we have added support for Segger Embedded Studio (SES) IDE. SES is cross-platform, and can be used on Windows, Mac OS X, and Linux. You can use Segger Embedded Studio for commercial and non-commercial purpose with Nordic Semiconductor devices free of charge without any code limit. See this article for more information. I would therefore recommend using SES.

    You can download SDK 14.1 here.

    You can download Segger Embedded Studio from here.

Children
Related