ts-7000
[Top] [All Lists]

[ts-7000] TS-GSM1 on TS-7260

To:
Subject: [ts-7000] TS-GSM1 on TS-7260
From: Mike Magee <>
Date: Tue, 01 Aug 2006 09:12:37 -0700
I am having trouble getting the modem board to turn on.  I have jumper 5
installed, but the light never turns on.  Also, no matter which com port
I set it to, there is no entry in /dev/tty*.  When I read the PLD at
location 0x11A00140 all I get is 7's for all the registers.

I've tried two different modem boards but they both act the same.  Is
there something I'm missing in my kernel?

It is probably something simple I'm forgetting, so here is the code I
use to read the PLD:

#include<unistd.h>
#include<sys/types.h>
#include<sys/mman.h>
#include<stdio.h>
#include<fcntl.h>
#include<string.h>

#define BASE 0x11A00000
#define PLD  0x0140
int main(int argc, char **argv)
{
   volatile unsigned char *P;
   int i;
   unsigned char state;
   unsigned char *start;
   int fd = open("/dev/mem", O_RDWR);
   printf("%d;",fd);
   start = mmap(0, getpagesize(), PROT_READ|PROT_WRITE, MAP_SHARED, fd,
BASE);
   P = (unsigned char *)(start + PLD);
   printf("%p;",P);
   for(i=0;i<8;i++){
      printf("%2X ",P[i]);
   }
   printf("\n");
   close(fd);
   return 0;
}

-- 
Mike Magee <>
Remtrol Inc.



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> 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