How Do I Allocate and Access Address Space on Internal Data Bus

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

How Do I Allocate and Access Address Space on Internal Data Bus

1,061件の閲覧回数
jdkuo
Contributor I

I need to allocate 1K address for controlling the 20 DAC devices through internal data bus.

 

I am confused by Chapter 5 System Configuration when it talks about Local Access Windows Target Interface (p. 5-1 to 5-3).  Each window maps to different target interface (e.g. IMMR, local bus, PCI, SDRAM, etc.)  Do I need to configure the access windows in order to access the interested address space (say 0xA0000000 in this case)?  Can I directly write my DAC control values directly to 0xA0000000?

 

Chapter 10 Local Bus Controller is even more confusing.  Seems to me that it mainly talks about memory, SDRAM, etc.   It does not talk much about setup for accessing peripheral devices.  What should I look into in Chapter 10?


Thanks!
0 件の賞賛
返信
1 返信

471件の閲覧回数
wrostek
Contributor I

I assume your DACs are connected to the bus controlled by the Local Bus Controller.

Then you have to go through chap 5 and 10 in detail.

 

Take a look at the u-boot sources to find similar usage.

I found it very helpful that it is possible to try and test all these settings by u-boot commands. 

 

regards

Wolfgang R.

0 件の賞賛
返信