In the getting started guide of iMX7/colibri eval board, a hello-world and RPMsg application examples are provided for the Cortex-M4, where a firmware has to be built and sent to the Cortex M4 through u-boot.
However it’s not clear whether it is possible to debug a Cortex-M4 application online and directly from a host system, just like debugging a Cortex A9 application.
So is there any direct debugging way for Cortex-M4 using eclipse or other software?
Thanks in Advance.
You can refer to this post about importing the FreeRTOS examples to Eclipse. You just have to use the correct linker script. You can use the Segger-provided script using a J-Link connected to JTAG to debug the applications through Eclipse.
Thank you for your answers. Can I connect the cable which comes with the J-Link directly to the J-Tag port auf dem Colibri eval Board or do i need any adapter that are listed in the J-Link webpage?
We found that sometimes the JTAG connection through the spring-loaded contacts is not reliable enough. In such cases it helps to put some electrically isolated weight onto the module to fix connection issues.