Skip to main content
OGhis
Senior
November 3, 2024
Question

STM32CubeIDE 1.16.1 issue with Segger J-link and large buffers

  • November 3, 2024
  • 1 reply
  • 1419 views

Dear,

used: STM32H7B0 mcu, 100pins
          Segger j-link plus, v 9.4
          STM32CubeIDE 1.16.1
          GNU ARM 13.3.release 1

STM32CubeIDE goes into a very long loop and/or crash. 

How to reproduce:
- Create a large array, ex:
  uint16_t buffer[0x8000]

- start the code and add the "buffer" in "Live Expressions" 

- Open the "buffer" in " Live Expressions" and the IDE hangs.

The only way we had found is to restart the IDE to get out.

Has also try it with another compilers versions, but has the same issues.
regards.

    1 reply

    AScha.3
    Super User
    November 3, 2024

    Hi,

    For such big memory area use memory view 

    .

    Live expression is for some small or single values, that will be read and transferred permanently, as soon as you start debug.

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    OGhis
    OGhisAuthor
    Senior
    November 3, 2024

    Dear,

    OK memory view can helps to resolve this issue, but the IDE would not hang up for this reason.
    btw: with the STM link debugger I don't have this problem. it may be slow, but at least the IDE doesn't crash.

    AScha.3
    Super User
    November 3, 2024

    Ah, okay, so you should ask segger about the problem, obviously it's not a problem with the IDE.

    "If you feel a post has answered your question, please click ""Accept as Solution""."