I have shared the specifications of the hardware and software we are working on.
Apalis iMX8MQM 4GB WB IT V1.1E
ixora Development Carrier Board V1.3A
Linux OS 5.15.129-6.5.0
We are developing software for ophthalmology surgical instruments. We are facing issues where our software hangs. We tried several methods to identify the problem, including checking both the OS and the software separately. The software and the OS work fine on their own, but when we use them simultaneously, the software hangs, particularly in the settings section.
Thanks & Regards,
Saravanan G
Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!
Did you like my answer?
Hi Saravanan,
Given the information you provided, it seems like the issue might be related to the interaction between your software and the specific hardware configuration. Here are a few steps you can take to diagnose and potentially resolve the issue:
-
Check for Resource Conflicts:
- Ensure that there are no resource conflicts, such as memory or I/O conflicts, when both the OS and your software are running together.
-
Monitor System Resources:
- Use tools like
top
, htop
, or vmstat
to monitor CPU, memory, and I/O usage. This can help identify if there are any resource bottlenecks when your software hangs.
-
Enable Debugging:
- Enable debugging in your software to get more detailed logs. This can help pinpoint where the software is hanging.
- You can also enable kernel debugging to see if there are any kernel messages that might indicate a problem.
-
Check for Kernel Messages:
- Use
dmesg
to check for any kernel messages that might indicate hardware or driver issues.
-
Update Software and Firmware:
- Ensure that you are using the latest version of the Linux kernel, U-Boot, and any relevant firmware. Sometimes, updates can resolve compatibility issues.
-
Test with Minimal Configuration:
- Try running your software with a minimal configuration to see if the issue persists. This can help isolate if a specific feature or module is causing the problem.
-
Review Known Issues:
-
Contact Technical Support:
- If the issue persists, consider reaching out to Toradex technical support for further assistance. Provide them with detailed logs and any other relevant information to help diagnose the issue.
If you need more specific guidance, please provide additional details about the exact nature of the hang (e.g., any error messages, logs, or specific actions that trigger the hang).
Best regards,
[Your Name]
Hi @embdengr1
And what type of software exactly are you developing?
- Is it a GUI?
- Are you using any peripherals?
- Which language/framework are you using?
And what do you mean by “the software works fine on their own”?
How are you running it separately from the Linux OS?