ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] Re: TS-7390 tssdcard and tsuart driver incompatibility with DMA
From: Jeremy Freeman <>
Date: Sun, 9 Aug 2009 07:29:59 -0700 (PDT)


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.

--
J


From: Doug <>
To:
Sent: Saturday, August 8, 2009 9:21:16 PM
Subject: [ts-7000] Re: TS-7390 tssdcard and tsuart driver incompatibility with DMA

 

--- In .com, "Breton M. Saunders" <breton.saunders@ ...> wrote:

Hey Brett,

> I am unconvinced by the stability of the sdcard driver.

Me too. We first noticed this problem because it was causing corrupted versions of shared libraries to be loaded into RAM, causing a strange program crash. We also saw other odd behavior (playsound was cutting out on some sounds and making the sounds stutter, and saying invalid format on others). When we loaded our program from the NAND instead of the SD card all was fine. Hopefully it's an easy fix, we'll see...anyway, we've seen a lot of random weird behavior with the SD card and we're hoping this problem I reported is the root cause of it. We tried to reduce it down to a simple test case so it would be easy to reproduce.

> I'm not sure about the 7350 - but on the TS7400 there is a design issue
> (or rather lack of clarity): The port_b4 gpio line doubles up as the
> dmaenable line for dma channel 0. This is undocumented - and caused a
> problem with a board I designed. The issue arises when using dma
> enabled on the driver and channel 0 is used.
>
> The driver software for the 8 bit CPLD interfaces (7250 and 7400)
> contain a busy wait loop in them to stop faulty signaling on them. Im
> not sure about the 16 bit interfaces (e.g. the 73 series) - but there
> may be an equivalent loop or a race condition in that loop in the driver.
>
> Id suggest checking that the two external DMA signaling lines aren't
> attached to any circuitry you may be using.

Thanks for the ideas...we'll definitely check on this on Monday to make sure. We've seen this problem on two TS-7390 boards, and on one of them I believe all we had hooked up externally was the two wires to the TS uart and an ethernet cable, so I dunno.

> Does anyone fancy co-operating on reverse engineering and open sourcing
> the SDcard driver?
> Is doing that legal?

Not sure on the legality of it. I think it would be easier to just take the binary blob as is and port the open source portion of the driver to newer kernel versions perhaps? It would be an interesting thing to try (either method).

Thanks for your info!

Doug




__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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