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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | The memory map of mv2302 |
From: | "Weixing Cheng" <[email protected]> |
To: | <[email protected]> |
Date: | Mon, 5 Mar 2001 14:53:13 +0800 |
Dear Sir:
I have developed the TD4V card's
EPICS driver successfully under the help of Tobiyama, TD4V card is a
programmable delay module used in Timing system ( KEKB guys maybe familar with
this card). The developing system was based on mv162+Redhat6.2(with
EPICS).
The card initing code of device
support is like this:
if(sysBusToLocalAdrs(VME_AM_EXT_SUP_DATA,(char *)Base_IO,(char
**)&p)==ERROR)
{
logMsg("VmeTd4v: cannot find
extended address space\n");
return(ERROR);
}
/* The memory of 162 is correct*/
for(cardNum=0;cardNum<td4v_num_links;cardNum++)
{
if(vxMemProbe((char
*)&(p->PreSet),READ,2,&probeVal[0])<OK)
{
logMsg("No TD$V
with cardNum=%d\n probe=%x\n",cardNum,p);
cards[cardNum].card=NULL;
}
else
{
logMsg("Found TD4V with
cardNum=%d\n address=%x\n",cardNum,p);
cards[cardNum].card=p;
}
...
Now I want to change the mv162 board to mv2302. using the same
initing code. and set the proper Base_IO address under the instruction of
.../target/config/mv2302/target.nr This time it doesn't work
at all.
What's wrong about the memory map of 2302 ?
|