ts-7000
[Top] [All Lists]

[ts-7000] Re: Unable to set anything but B[1] on TS-7800 PC-104

To:
Subject: [ts-7000] Re: Unable to set anything but B[1] on TS-7800 PC-104
From: "craignied" <>
Date: Sun, 28 Nov 2010 15:16:55 -0000
--- In  "Harold" <> wrote:
>
> You may need to write to the PC/104 MUX registers at 0xE8000030 to 0xE800003C 
> to set the pins to function as GPIO instead of ISA bus.

Whoa, you're absolutely right.

This is in the TS-7800 manual:

The PC-104 connector can be multiplexed between different functionalities 
including ISA bus and GPIO. The power-up default is GPIO mode, with all I/Os in 
a neutral state. To enable the PC-104 bus (ISA) signals, it is necessary to 
write the following values to the registers specified:
0x55555555 to address 0xE8000030
0x55555555 to address 0xE8000034
0x55555 to address 0xE8000038
0x55555 to address 0xE800003C

So I stupidly assumed that the power-up default is GPIO mode :)

This did the trick:

        BUS = ( unsigned int * ) ( base + ( 0x30 / 0x04 ) );
        *BUS = 0x0;
        BUS = ( unsigned int * ) ( base + ( 0x34 / 0x04 ) );
        *BUS = 0x0;
        BUS = ( unsigned int * ) ( base + ( 0x38 / 0x04 ) );
        *BUS = 0x0;
        BUS = ( unsigned int * ) ( base + ( 0x3C / 0x04 ) );
        *BUS = 0x0;

before any read/writes

Thanks *super*
Craig



------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU