some peripherals are memory mapped, you can view the memory map of the
TS7xxx in the group (files link), for the processor point of view it
thinks of it as a kind of memory, while the peripheral intepret it as a
kind of data or command (please read if available "Programming Embedded
Systems
By Michael Barr,", also i think it's much logical to use the GPIO
instead of the PC/104 if all what you need is general purpose I/O
(GPIO), well i am not equiped yet with the details of TS7xxx board but
similar GPIO ports can be configured as I/O based upon some register
values fixing( address also is in the memory map file). PC/104 is
suitable for expansion much like the ISA or PCI in ordinary PCs.
Ahmed Emad
--- In "HOSAM YOUSIF" <> wrote:
>
> hi all..
> the first question i can ask that i have now some c-codes for my
> ts-7250 all of this code have the same part that is open"mem/dev" then
> using start=mmap to put the first using address in pointer...
> BUT!!!!!i want to write a code to out the address i choose from the
> address pins(A0-A19)on pc/104....plz any one help me i can't
understand
> this point and why always they map the address to virual address.
> thanks alot
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|