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

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

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

952 Views
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 Kudos
1 Reply

362 Views
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 Kudos