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

error 123: AGDI: invalid operation when using Display command

Hi all,

When I use CooCox ColinkEx and Keil 4.23 to debug STM32F407, it seems that there're problems with AGDI.

When the CPU is set as STM32F407IG / Cortex-M4 FPU:
-----------------------------------
If the CPU is halted, the memory window can not show any address data, it is blank. And I execute the display command "D 0x0, 0x100" in command window gives "error 123: AGDI: invalid operation".

When the CPU is set as Cortex-M4:
-----------------------------------
If the CPU is halted, the memory window works fine. And I execute the display command "D 0x0, 0x100" in command window gives the memory result.

I compared the two target in the blinky.uvproj, I find the problem depends on the FPU2 option in the Cpu tag.
when the Cpu like:

<Cpu>IRAM(0x20000000-0x2001FFFF) IRAM2(0x10000000-0x1000FFFF) IROM(0x8000000-0x80FFFFF) CLOCK(25000000) CPUTYPE("Cortex-M4") FPU2</Cpu>


Then the memory window and display command can not work.

when the Cpu like:

<Cpu>IRAM(0x20000000-0x2001FFFF) IRAM2(0x10000000-0x1000FFFF) IROM(0x8000000-0x80FFFFF) CLOCK(25000000) CPUTYPE("Cortex-M4")</Cpu>


Both the memory window and display command work fine.

Is there any workaround for this problem ?

Here is a similar problem: www.segger2.com/index.php

0