Writing a Device Driver for External Memory Controller (EMC) peripheral on LPC3250

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Writing a Device Driver for External Memory Controller (EMC) peripheral on LPC3250

670 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by yildizabdullah on Mon Aug 26 02:07:06 MST 2013
I need some help with External Memory Controller (EMC) peripheral on LPC3250 microprocessor.

I want to write a device driver for this peripheral but I could only have found a definition for the addresses of the various sections of the peripheral at linux-2.6.27.8/arch/arm/mach-lpc32xx/include/mach/platform.h:

include/mach/platform.h:#define EMC_BASE        0x31080000
include/mach/platform.h:#define AHB1_SIZE       ((EMC_BASE - DMA_BASE) + SZ_4K)
include/mach/platform.h:#define EMC_CS0_BASE0xE0000000
include/mach/platform.h:#define EMC_CS1_BASE0xE1000000
include/mach/platform.h:#define EMC_CS2_BASE0xE2000000
include/mach/platform.h:#define EMC_CS3_BASE0xE3000000
include/mach/platform.h:#define EMC_DYCS0_BASE0x80000000
include/mach/platform.h:#define EMC_DYCS1_BASE0xA0000000


What should I do after that? Could you help me with this?
Labels (1)
0 Kudos
4 Replies

526 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by yildizabdullah on Mon Aug 26 09:11:31 MST 2013
I think the image attached to this post supports your claim.

It is the current memory map of the system. Am I right?
0 Kudos

526 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by kenh6942 on Mon Aug 26 05:07:47 MST 2013
Check the uboot patches. The EMC peripheral needs to be operational before OS loading since the OS is likely loaded into external RAM.
0 Kudos

526 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by yildizabdullah on Mon Aug 26 02:47:23 MST 2013
Yes, but no answer so far.
0 Kudos

526 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Mon Aug 26 02:28:17 MST 2013
Have you tried asking on LPCLinux.com?
http://www.lpclinux.com/
0 Kudos