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

improved softdevice debugging

I remember reading somewhere an article on how debugging with softdevice was going to be easier, with the debugger doing something along the lines of actually not stopping execution when hitting a breakpoint, but rather executing a loop in the background so your code is effectively stuck, but softdevice can keep functionning normally.

Would anyone know where to find information about that? Especially, what are the conditions to get this behaviour (JLink patch, nRF52.....?). Thanks!

Parents
  • Hello Jonathan,

    I believe you are referring to the Monitor Mode Debugging (mmd) capabilities of the Cortex-M3/M4 chipset. The following link presents a starters guide to get up and running. There are also a couple of additional blog postings on the Nordic site that you may want to read as well. Note that mmd is not available on the nrf51xxx chipset as this conains a cortex-M0.

    Additionally, you should ensure that your J-Link software is upto v6.x as it allows the softdevice to correctly work with the amended mmd vector table as well as the provision of a few mmd related bug fixes/enhancements.

    This link also provides a basic overview of the mmd capabilities within the SoC.

    Regards,

    leonwj

Reply
  • Hello Jonathan,

    I believe you are referring to the Monitor Mode Debugging (mmd) capabilities of the Cortex-M3/M4 chipset. The following link presents a starters guide to get up and running. There are also a couple of additional blog postings on the Nordic site that you may want to read as well. Note that mmd is not available on the nrf51xxx chipset as this conains a cortex-M0.

    Additionally, you should ensure that your J-Link software is upto v6.x as it allows the softdevice to correctly work with the amended mmd vector table as well as the provision of a few mmd related bug fixes/enhancements.

    This link also provides a basic overview of the mmd capabilities within the SoC.

    Regards,

    leonwj

Children
Related