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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

2,274件の閲覧回数
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?
ラベル(1)
0 件の賞賛
返信
4 返答(返信)

2,128件の閲覧回数
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 件の賞賛
返信

2,128件の閲覧回数
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 件の賞賛
返信

2,128件の閲覧回数
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 件の賞賛
返信

2,128件の閲覧回数
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 件の賞賛
返信