Experimental Physics and Industrial Control System
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
[email protected] 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
<2004>
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- 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
<2004>
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024