Tuesday, October 17th 2017, 1:09pm UTC+2

You are not logged in.

  • Login
  • Register

Reply

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Message information
Message
Settings
Automatically converts internet addresses into links by adding [url] and [/url] around them.
Smiley code in your message such as :) is automatically displayed as image.
You can use BBCode to format your message, if this option is enabled.
Security measure

Please enter the letters that are shown in the picture below (without spaces, and upper or lower case can be used).

The last 2 posts

Today, 10:43am

by SEGGER - Nino

Hello Maciej,

Sorry for the delay in response.
Thank you for your inquiry.

Quoted

Is it possible to execute a script on specific action like breakpoint, stop and run?

This is currently not possible.

Quoted

I'm writting soft for nRF52832 using Nordic Semiconductor nRF52 SDK.
The chip is programmed with so called softdevice a closed-source software which uses interrupts and co-exists with my appliacation.
Every time I need to break I need to change register PRIMASK (Cortex-M4) to 1 to suppress interrupts just before the breakpoint.
That is the only way to debug without hardfault - one step after the breakpoint.

In such a case you can use the monitor debug mode that Nordic devices support.
More information can be found here: https://www.segger.com/products/debug-pr…mode-debugging/

Best regards,
Nino

Thursday, October 12th 2017, 3:39pm

by godmode

Change register on action (run, stop, breakpoint) hook

Is it possible to execute a script on specific action like breakpoint, stop and run?
I'm writting soft for nRF52832 using Nordic Semiconductor nRF52 SDK.
The chip is programmed with so called softdevice a closed-source software which uses interrupts and co-exists with my appliacation.
Every time I need to break I need to change register PRIMASK (Cortex-M4) to 1 to suppress interrupts just before the breakpoint.
That is the only way to debug without hardfault - one step after the breakpoint.

So is it possible in Segger Embedded Studio to configure a hook to execute change in a register on a breakpoint?