I have an EVK-MCIMX7ULP eval board and have installed the SDK_2_9_0_EVK-MCIMX7ULP for GCC toolchain. I managed to build several demo applications and load them to QSPI-flash according to this guide.
However I have not found a way to debug code on the Cortex-M4 form my Linux host. The "Getting Started with MCUXpresso SDK for EVK-MCIMX7ULP" only describes debugging using the IAR, which is not available for Linux.
The debug probe I am using is a Segger J-link EDU.
I have tried getting it to work with the help of these posts:
1: Debugging Cortex-M4 on i.MX7D with Segger J-Link and GDB (and thus standard Eclipse)
2: Debugging MIMXRT1020 with Segger Ozone
But neither is for the i.MX7ULP processor and I could not manage to get it to work. I guess the instructions in 1) would work for the i.MX7ULP with some changes, but I have never worked with plain eclipse and the instruction are therefore a bit cryptic to me.
I don't really care what debugger to use but if someone could provide some instructions what I have to do to debug on the Cortex-M4 on the i.MX7ULP board that would be highly appreciated.
Best regards,
David
Hi David
one can try lauterbach tools available on linux
https://www.lauterbach.com/frames.html?home.html
Best regards
igor
Best regards
igor
Hi Igor,
thanks for coming back to me so fast.
It seems to me that with Lauterbach I would need one of their debug probes.
I would like to use my Segger J-link probe that I already have. Is there no possibility to get that to work?
Best regards,
David
Hi David
I am afraid Segger J-link probe will not work.
For Segger with LInux one can look below link
https://www.segger.com/products/development-tools/embedded-studio/
Best regards
igor
Hi Igor,
The SDK I downloaded is for GCC toolchain.
As far as I know Segger Embedded Studio is not supported in the SDK. Please correct me If I am wrong.
I would consider using Segger Embedded studio to debug the M4-core if that is possible.
However I would need a little more guidance from you on how to set this up.
Thanks for you help.
Best David