I am doing a memory map to acess EIM registers. I am unable to map EIM_WCR register and acess it

I have initalized the structure to memory map resgisters for using the EIM module as follows:

typedef struct
{
    CSxGCR1 EIM_CS0GCR1;

    CSxGCR2 EIM_CS0GCR2;
    CSxRCR1 EIM_CS0RCR1;
    CSxRCR2 EIM_CS0RCR2;
    CSxWCR1 EIM_CS0WCR1;
    CSxWCR2 EIM_CS0WCR2;

    CSxGCR1 EIM_CS1GCR1;
    CSxGCR2 EIM_CS1GCR2;
    CSxRCR1 EIM_CS1RCR1;
    CSxRCR2 EIM_CS1RCR2;
    CSxWCR1 EIM_CS1WCR1;
    CSxWCR2 EIM_CS1WCR2;

    CSxGCR1 EIM_CS2GCR1;
    CSxGCR2 EIM_CS2GCR2;
    CSxRCR1 EIM_CS2RCR1;
    CSxRCR2 EIM_CS2RCR2;
    CSxWCR1 EIM_CS2WCR1;
    CSxWCR2 EIM_CS2WCR2;

    CSxGCR1 EIM_CS3GCR1;
    CSxGCR2  EIM_CS3GCR2;
    CSxRCR1 EIM_CS3RCR1;
    CSxRCR2 EIM_CS3RCR2;
    CSxWCR1 EIM_CS3WCR1;
    CSxWCR2 EIM_CS3WCR2;

    CSxGCR1 EIM_CS4GCR1;
    CSxGCR2 EIM_CS4GCR2;
    CSxRCR1 EIM_CS4RCR1;
    CSxRCR2 EIM_CS4RCR2;
    CSxWCR1 EIM_CS4WCR1;
    CSxWCR2 EIM_CS4WCR2;

    CSxGCR1 EIM_CS5GCR1;
    CSxGCR2 EIM_CS5GCR2;
    CSxRCR1 EIM_CS5RCR1;
    CSxRCR2 EIM_CS5RCR2;
    CSxWCR1 EIM_CS5WCR1;
    CSxWCR2 EIM_CS5WCR2;

    UINT32 EIM_WCR;
    UINT32 EIM_DCR;
    UINT32 EIM_DSR;
    UINT32 EIM_WIAR;
    UINT32 EIM_EAR;
}tEIM_CSP_WEIM_REGS, *ptEIM_CSP_WEIM_REGS;

I am able to access the chip select registers but not able to access WCR register.
I have attached the project and would like to know if there are issues in memory mapping, since the code is building sucessfully.

project link: link text

Dear @tank
Please try to use our RegAccess tool.

It allows you to read and write from absolute addresses, while changing parameters such as bus width.
The tool is based on the MapMemory Lib. So if the tool is successful, also your code should be able to do the read.

For your specific request, the address to read is according to the iMX7 datasheet:

EIM_WCR:
Address: 30BC_0000h base + 90h offset = 30BC_0090h (enter 0x30bc0090 in the tool)

Regards, Andy

Dear @andy.tx ,

I am currently using the WinCE7 ver. 1.1 BETA, Build 4 and RegAccess tool ver. 1.5. I tried accesing the register using the RegAccess tool as you suggested and the system hangs when I try to do so.

Thanks,

Tanmay

Dear @tank
This happens usually if you try to access a register region which is not clocked. I recommend you verify that all EIM-related clocks are enabled.
Regards, Andy