This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Accessing USB DMA RAM on LPC2148

Hi,

I am trying to do memory test on all RAM memory spaces on LPC2148. Till the end of static RAM 0x40007FFF there is no problem. But when I try to access and write (Base Address=7FD00000H)USB DMA RAM getting error on console and it enters infinite loop.
Data Abort: ARM Instruction at 00000070H, Memory Access at 7FD00000H

But in manual it says "While the USB DMA is the primary user of the additional 8 kB RAM, this RAM is also accessible at any time by the CPU as a general purpose RAM for data and code storage."

Thanks for answers.

Arjun

Parents
  • hi,

    As he said I tried to set PUSB bit in PCONP Power Control for Peripherals Register at startup.s
    PCONP EQU 0x801817BE.

    But I read it in manual in section "Prefetch abort and data abort exceptions" here they have clearly said that system generates the appropriate bus cycle abort exception if an access is
    attempted for an address that is in a reserved or unassigned address region.

    Is there any work around for this?

    Forgive me if I am wrong. I am beginner.

Reply
  • hi,

    As he said I tried to set PUSB bit in PCONP Power Control for Peripherals Register at startup.s
    PCONP EQU 0x801817BE.

    But I read it in manual in section "Prefetch abort and data abort exceptions" here they have clearly said that system generates the appropriate bus cycle abort exception if an access is
    attempted for an address that is in a reserved or unassigned address region.

    Is there any work around for this?

    Forgive me if I am wrong. I am beginner.

Children
No data