g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013 
<== Date ==> <== Thread ==>

Subject: gtr1-2 for SIS3301 DMA error.
From: "Kiman Ha" <hkm@postech.ac.kr>
To: <anj@aps.anl.gov>
Cc: <tech-talk@aps.anl.gov>, "Marty Kraimer" <mrk@aps.anl.gov>
Date: Mon, 8 Mar 2004 09:27:14 +0900
Andraw wrote:

>Oops, I didn't realize I was using that routine here - add this function
>somewhere, I have it in sysLib.c:

The compile and loding was success!
But the trigger from "FP gate enabled", DMA error messages occur.

file : drvSisfadc.c
function : readContiguous()
Error Message : Can't perform DMA: S_errno_EFAULT


STATIC void readContiguous(sisInfo *psisInfo,
    gtrchannel *phigh,gtrchannel *plow,uint32 *pmemory,
    int nmax,int *nskipHigh, int *nskipLow)
{

                    .............

                    if(epicsDmaFromVmeAndWait(psisInfo->dmaId,
                                   psisInfo->dmaBuffer,
                                   (unsigned long)(pmemory + ind),
                                   VME_AM_EXT_SUP_ASCENDING,
                                   nnow*sizeof(long),
                                   sizeof(long)) != 0) {
                        printf("Can't perform DMA: %s\n", strerror(errno));
                        psisInfo->dmaId = NULL;
                        psisInfo->dmaBuffer[dmaInd] = pmemory[ind];
                    }


}


Kiman Ha,
PLS Control and Electronics taskforce team



hkm@postech.ac.kr wrote:

  I have BSP compile errors, when the added univDma.c.



c:\Tornado2.2\target\proj\Prj_sis3301\default\C:\Tornado2.2\target\config\mv
5100\univDma.c :240: undefined reference to `sysLocalToPciAdrs'

Oops, I didn't realize I was using that routine here - add this function
somewhere, I have it in sysLib.c:




Navigate by Date:
Prev: Re: SDDSepics compile problem with 3.14.5 Ernest L. Williams Jr.
Next: RE: SDDSepics compile problem with 3.14.5 Hammonds, John P.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013 
Navigate by Thread:
Prev: RE: SDDSepics compile problem with 3.14.5 Hammonds, John P.
Next: EtherNet/IP for AB SLC5/05 PLC. Kiman Ha
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·