ts-7000
[Top] [All Lists]

[ts-7000] Re: PC-104 Initialization and usage for a beginner

To:
Subject: [ts-7000] Re: PC-104 Initialization and usage for a beginner
From: "wildpossum928" <>
Date: Tue, 07 Dec 2010 04:56:30 -0000

Hi

I'll set out what I use to get the Four Serial Card working under PC-104.

 > 1)I have the initialization values from the manual but where in the code 
 > should I set them .And using which commands ? 
 
As shell commands (you can enter then in directly at the root system console as 
follows (my comments follow the # which you do not type in):

. /initrd/ts7800.subr    # This sets up the ts7800 subroutines to pwd.

pc104on                  # This sets automatically the PC104 buss on.

##Normally I now make the Four Serial I/O card visible to Linux by  ##loading a 
kernel module aka device driver for my applications ##software to use.

modprobe ts7800_isa16550 irq=6 io=0x3e8

##This driver makes the PC104 bus look like a ISA bus as far as the 
##software is concerned.  You can see it is loaded correctly by doing 
##the following command.

lsmod

##You will see the kernel modules listed along with others on the SBC.


 > 2)" peekpoke BITS ADDRESS VALUE " needs to be set .I gathered from one of 
 > the previous posts that to be set using the command line . Should I do it 
 > before I compile the code ? And on the telnet connection or the serial 
 > connection ? 

PeekPoke is a non OS way of allowing you to modify the kernel memory map and/or 
device capabilities.  All PeekPoke should be done from an account with root 
permissions.  You can either use the sys-console (/dev/ttyS0) or telnet in as 
root appropriately.


 
> 3) How can I check back the if the values have been written correctly ? I 
> will read that address to check but where can I see the value ?

Poke is used to write values to memory or registers, Peek is used to read 
values at particular addresses back.

You need to read several times the PeekPoke Howto which is somewhere on the ftp 
server or within the TS7800 user manual (I seems to recall).

Hope this assists you.
Cheers.



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

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