cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE 1.16.1 issue with Segger J-link and large buffers

OGhis
Senior

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.

3 REPLIES 3
AScha.3
Chief II

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".

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.

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".