Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: LPC2148 - using USB RAM for other purposes

2006-03-31 by roger_lynx

--- In lpc2000@yahoogroups.com, "shergtu" <shergtu@...> wrote:
>
> Hi,
> 
> Do I need to do anything special to use the 8K block of RAM on the 2148 
> located from 0x7FD0.0000-0x7FD0.1FFF?  (The one earmarked for USB DMA 
> transfers).
> 
> I won't be using the USB functionality & figured that gives me another 
> 8K of RAM.  However, writes to this 8K region seem to have no effect 
> (read back 0), at least through the debugger.
> 
> Perhaps there is some register that needs to be told "enable the USB 
> DMA RAM for general purpose use by the CPU"?
> 
> Thanks!
>

I have found so far, that by making changes to linker file, RAM  is
there available for RD/WR, but C-Spy will *not* show anything but
zeros; it treats it as ROM, any overtyped value is ignored.
I have downloaded JARM.DLL ver 3.14, replaced my 2.74c, with no
difference in behavior. 
Is anybody outhere able to see in C-Spy the USB_DMA RAM as RAM? 

I appreciate your feedback. 
BTW, EWARM 4.31A is out, have not tested it, yet. 
My observations were for ver. 4.30A.

Thanks!

Roger

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.