This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Unable to access EMIF ASYNC1 on RM48 HDK - help needed

Other Parts Discussed in Thread: HALCOGEN

Hi,

I have interfaced a 16-bit device with RM48 HDK which has 32KB on-chip SRAM. I interfaced it using CS2 and configured ASYNC1 in halcogen.

When i try to access this memory-mapped device, i.e. do read/write operations, the system jumps to sys_intvecs.asm and executes b _dabort. What might be the problem? Is there some MPU setting required or what? 

Please help me on this.

Thanks & Regards

Anila

  • Yes make sure that the memory range is mapped in the MPU as strongly ordered, and try making sure it is accessible in both user/priv for r/w. This should let you do everything except execute from this memory.

    If you need more SRAM though you can go to the RM57L - it has 512K on chip SRAM .. twice the RM48's.
    You can get it on a launchpad for $29.99.
  • also make sure to look in emif.h and call the async init() function for the chip select you are using...

    the EMIF needs to be configured with this function before you can access the memory,

    if you skip this step I don't think you'll be getting the data abort - that would come from the MPU.

    But it may be the answer to the next problem you run into if you forgot this.