Hi there,
According to the ts7800 manual, there's a register at address
0xE800000C to control the timing of the PC/104 bus, and this register
should contains some default power-on values.
My problem is that if i read the register with a "peek32 0xE800000C",
i get 0x16bdc, which doesn't correspond to the expected value. For a
default ISA strobe length of 40 and a default setup length of 14, i
should get something like 0x162A8.
If i try with 0x162FF (max timing), the system freeze as soon as i try
to read anything. 0x162A8 seems to work better, i can see that the
peripheral board is accessed (there's a LED that show PC104 access on
it), but the values returned looks a bit random.
I would like to configure the ISA bus in a state which will be as
compatible as possible with the ISA specs.
Can anyone explain me why do i get these default power-on values? And
which value will really put me into a kind of ISA compliant mode?
I tried to play with this register, since i can't get a peripheral
board working, the kernel module need to read/write a couple of
registers on the bus, unfortunately reading these registers return
always 0, and i'm sure that i should get something different.
Basically, here is what the code is doing:
// board configured for ISA address 0x180
int io_base = 0xEE000000 + 0x180
volatile uint8_t* reg_base = __ioremap( io_base, 4096, 0);
uint8_t value = *reg_base;
// value is always 0x00 with peek32 0xE800000C 0x16bdc
// value looks a bit random with peek32 0xE800000C 0x162A8
With best regards,
Chris
------------------------------------
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/
|