This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

'Load memory' ruins debug session

Hi,

I've a global variable in DDR memory, which I want to initialize using the 'Load memory' function (eventually using AIS). Unfortunately the debugger gets wrong after loading the data. Here is what I do:

  1. I pause the program just before accessing the variable.
  2. I check using the memory viewer the contents of the memory (all zero's)
  3. I use 'load program' to load a bin file at location 0xc0000000 (start of DDR)
  4. The memory viewer shows that the file is correctly loaded, all data is there
  5. The debugger now suggests that the program counter is also at 0xc0000000 and only restarting the debug session allows me to do anything. The restart button is also greyed out.

Why is it that loading memory conflicts with the debug session?


I've added two images showing before and after the 'load memory' command.

Kind regards,

Remco Poelstra