Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?
Based on the context provided, it seems like you are trying to run a “Hello World” application on the Cortex-M core of the Apalis iMX8 module but are encountering issues with the output not displaying as expected. Here are a few things to consider:
-
UART Configuration: Ensure that the UART pins used by the Cortex-M core are not being taken over by the Linux kernel. You might need to apply a device tree overlay to disable the Linux kernel’s access to these pins, as mentioned in the context. This is crucial because the Linux kernel might be reconfiguring the pins, causing the Cortex-M UART output to stop.
-
Device Tree Overlay: Make sure you have applied the correct device tree overlay for the Apalis iMX8 to disable the UART used by the Cortex-M. This is necessary to prevent the Linux kernel from interfering with the UART communication.
-
Firmware Loading: Double-check the memory addresses and ensure that the firmware is being loaded correctly. The addresses used in your environment variables (
0x95400000
to0x34fe0000
) should match the expected memory map for the Cortex-M core. -
Debugging: If the above steps do not resolve the issue, consider using JTAG debugging to step through the code and verify that the “Hello World” application is running as expected. This can help identify if the application is crashing or if there is another issue preventing the output.
-
Check for Reboots: Since you mentioned that the system reboots, ensure that there are no watchdog timers or other mechanisms that might be causing the Cortex-M core to reset.
If these suggestions do not resolve the issue, you may need to consult additional resources or contact Toradex technical support for further assistance.
Please, also check if these links can help you solve your problem: