Hi Aldo,
thanks, but we don't use IAR because we have very bad experiences with it. We use kDevelop in combination with gdb on Linux. kDevelop supports CMake directly.
Since the gdb command descirption in "Getting Started with MCUXpresso SDK for EVK-MIMX8MM.pdf" seems to be wrong I wrote my own gdb script. The CM4 Debugger works fine now until RPMGS starts.
The CM4 opens an RPMSG channel and waits, until an own Linux driver on the A53 side opens the channel as peer. Then the Debugger crashes ans prints "Cannot read register" error messages. Debugging is then not possible any longer.
Does someone have an Idea whats going wrong?
-Christoph