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

Unable to set breakpoint at in nRF91 sample project

Hi,

Some time i could not put break points inside main for sample projects provided for nRF91, i tried clean build, erasing the flash 'nrfjprog -e' and evn enable the configuration option CONFIG_DEBUG_OPTIMIZATIONS=y

But none of the things helped, its not that i am not able debug some projects i face this issue, can you let me know what could have went wrong?

regards

KK

Parents
  • Hey, I was able to resolve this issue with a sample I edited yesterday, and today I was having this problem too.

    The process was:

    . Uninstall Segger and J-link completely, (Including folders in AppData/Roaming/SEGGER and AppData/Local/SEGGER and my documents)

    . Uninstall GNU toolchain

    . Make sure the path to the nordic SDK has no spaces (ex. C:\NordicSDK\ncs\...)

    . Install the GNU toolchain in a path without spaces (ex. C:\gnuarmembed)

    . Install SES

    Note: Remember to set the paths to Zephyr and the toolchain.

    I hope this helps!

Reply
  • Hey, I was able to resolve this issue with a sample I edited yesterday, and today I was having this problem too.

    The process was:

    . Uninstall Segger and J-link completely, (Including folders in AppData/Roaming/SEGGER and AppData/Local/SEGGER and my documents)

    . Uninstall GNU toolchain

    . Make sure the path to the nordic SDK has no spaces (ex. C:\NordicSDK\ncs\...)

    . Install the GNU toolchain in a path without spaces (ex. C:\gnuarmembed)

    . Install SES

    Note: Remember to set the paths to Zephyr and the toolchain.

    I hope this helps!

Children
Related