This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cannot change Variables during debug session

Hi,

I'm using Keil µVision 5.24.2 with a Segger JLink and STM32F468IG MCU. In my SPI Module I have a SPI Data Struct which has some Flags (uint8_t). For some debugging I want to change the Variable when target is in Breakpoint.

The Problem is, I can type in a different value, but the debugger cannot set or save it in RAM. So the Value does not change.

What do I need to change/set in debugger or MCU to enable changing values in RAM?

Kind regards
Andreas

Parents
  • Hi again,

    fast response from myself :).

    The value I wanted to change was a Value from an other module which is a pointer. So in the called function this is out of context.

    Since I copy the content of the pointer to a local value I can change this local value.

    So no Problem anymore!

    Thanks

    Kind regards
    Andreas

Reply
  • Hi again,

    fast response from myself :).

    The value I wanted to change was a Value from an other module which is a pointer. So in the called function this is out of context.

    Since I copy the content of the pointer to a local value I can change this local value.

    So no Problem anymore!

    Thanks

    Kind regards
    Andreas

Children
No data