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

Setup a Debug environment on Segger Embedded Studio using ARM GCC tools

We are currently developing for a product that uses the nRF52832, using Segger Embedded Studio (SES) 4.52c, and the ARM GCC toolchain (2019 q4 version. 

We have set up an SES project to build using ARM GCC, and this is successful. We have no issues with the release executable. Our issue is with Debugging. In BLE-enabled projects, if breakpoints are hit, the session becomes unstable and it may stop with the code appearing to run to sections of memory that the SoftDevice resides in. There are also issues where breakpoints are enabled on sections of code that are definitely being encountered, but breakpoints set there are never hit. 

There is obviously something wrong with our debug configuration, and I was hoping someone could point me to instructions or a HOW TO if someone has set up a Debug Environment in the same way we wish to. Versions being the same are not very important. 

Parents Reply Children
Related