ts-7000
[Top] [All Lists]

[ts-7000] TS 7800 PC 104 DMA

To:
Subject: [ts-7000] TS 7800 PC 104 DMA
From: "digit" <>
Date: Fri, 23 Apr 2010 17:05:18 -0000
Hello!

I need to transfer a large amount of data from a device (around 8 Mbit/s)and PC 
104 seems like the right choice. The transfers can be performed by directly 
reading data, but I'd like to use DMA. 

I dug through the drivers for sdcard and nand flash and I found the dma_op() 
function which seems to do the magic. Unfortunately, so far it didn't work for 
me. I don't get any reads on the PC 104 bus.

I tried writing the DMA controller registers directly, with no results. The 
problem is that when I read the registers, the addresses apper to be 
incremented and the control register is modified, so it should work...

So I am left with a few questions:

1. First of all, has anyone used DMA on PC 104? I couldn't find any information.

2. Is 0xE8000400 the right base address for the DMA controller?

3. Which of the 8 DRQ/DACK pairs should I use with my peripheral?

4. I programmed the DMA with the physical address 0xEE0003E8 for the 
peripheral, and the result of the virt_to_phys() for the internal buffer. Am I 
doing something wrong? (I read somewhere that DMA controllers use bus addresses 
which can be different from physical addresses.)


Note 1: All DRQ lines but DRQ2 are at 3.3V, which seems a little strange to me.
Note 2: Looking as various schematics, I came across TS-7KV which apparently 
uses DRQ3/DACK3. Unfortunately, I wasn't able to find the driver that uses dma 
transfers with this peripheral.

Sorry for the long post... I hope someone can help me out.

Thank you!

Adrian Grigore



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

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>
  • [ts-7000] TS 7800 PC 104 DMA, digit <=
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