I am using Toradex Colibri iMX6DL SBC

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Based on the context provided, it seems you are trying to use the External Interface Module (EIM) on the Colibri iMX6DL with Windows Embedded Compact 7 and are encountering issues with writing and reading data. Here are a few suggestions to help troubleshoot the problem:

  1. Memory Mapping: Ensure that the memory mapping is correctly set up. The base address and size should match the EIM configuration. Double-check the EIMBUS_BASE_ADDRESS and ensure it aligns with the EIM configuration on your hardware.

  2. EIM Configuration: Verify that the EIM is properly configured in your system. This includes setting up the correct chip select, address, and data bus width. The EIM configuration registers need to be correctly initialized before accessing the external memory.

  3. Permissions: Ensure that your application has the necessary permissions to access the memory-mapped I/O. This might involve setting appropriate access rights in your development environment or operating system.

  4. Hardware Connections: Check the physical connections to the external memory device. Ensure that all necessary signals are correctly connected and that there are no hardware issues.

  5. Debugging: Use debugging tools to step through the code and verify that the memory mapping and data writing operations are being executed as expected. This can help identify if the issue is with the code logic or the hardware setup.

  6. Consult Documentation: Refer to the Toradex documentation and any available sample code for the EIM on the Colibri iMX6DL to ensure that all necessary steps are being followed.

If these suggestions do not resolve the issue, it may be beneficial to reach out to Toradex technical support for further assistance, as they can provide more specific guidance based on your setup and configuration.

Please, also check if these links can help you solve your problem:

How to communicate through EIM in C#?.