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 ?
|