AnsweredAssumed Answered

J-Link crashes when reconfiguring FlexRAM on RT1050

Question asked by Jack King on Oct 16, 2019
Latest reply on Nov 6, 2019 by David Huwiler

I am trying to perform a software reconfiguration of FlexRAM on the IMXRT1052, using just the SDK example, after the FlexRAM is reconfigured, the J-Link debugger halts with a HardFault.  I assume the J-Link is using RAM for execution and loses this when the RAM is reconfigured.

 

Is there a way to allow the J-Link to continue after the RAM is reconfigured?

 

Executed SetRestartOnClose=1
[MCUXpresso Semihosting Telnet console for 'evkmimxrt1060_flexram_ram_allocate_01 JLink Debug' started on port 56243 @ 127.0.0.1]

SEGGER J-Link GDB Server V6.51b (beta) - Terminal output channel

FLEXRAM ram allocate example.

Allocate on-chip ram:

OCRAM bank numbers 4

DTCM bank numbers 4

ITCM bank numbers 8

Allocate on-chip ram success

 

Outcomes