ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7390 tssdcard and tsuart driver incompatibility with DM

To:
Subject: [ts-7000] Re: TS-7390 tssdcard and tsuart driver incompatibility with DMA
From: "Doug" <>
Date: Mon, 10 Aug 2009 04:49:15 -0000
--- In  Jeremy Freeman <> wrote:

> Doug,
> 
> Do you think this issue will manifest itself on the 7800 boards? I and a few 
> others have experienced a lot of instability using the 7800 boards when 
> serial and SD Card IO are simultaneous.

Hi Jeremy,

I don't know for sure. There are a lot of ifdefs in the SD card driver that do 
different stuff depending on whether it's a TS-7800 or a TS-72xx/73xx. I 
believe the 7800 has a different DMA driver too. If you're using the UARTS in 
the FPGA rather than the ones that the CPU provides it's certainly a 
possibility. I didn't notice any weirdness when using the serial ports on the 
CPU, only the FPGA one I tried. To know for sure you'd have to try the 
"causeSDProblem" script I uploaded to the Files section.

A few notes about the script: I realized when you download it from Yahoo 
groups, it adds a .sh extension to the end of it. The script assumes that 
there's no .sh extension and that it's in /mnt/root, so you need to delete the 
.sh extension from it.

I flush the disk caches in the script a lot. Make sure you have everything 
mounted read only. Flushing the disk caches causes any cached writing to be 
discarded, so you shouldn't be doing any writing while running the script.

The script defaults to reading from ttts0 at 9600 baud, but doesn't print any 
of it to the screen. It should ideally run until you terminate it, which would 
mean it's not detecting anything weird happening. But if you run the script and 
it exits and prints a message when you start sending serial data to the port it 
opened, that would mean that you're affected by this same issue.

Doug



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

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