Hi all,
Thank you for your reply! The problem was done.
One guy gave me a bootrom.bin
file, and I flash it into mvme5500 Boot Rom. Finally the hytec8401 works
well. But really I don’t know the secret of bootrom.bin file.
Best regards,
LIU Ping
Hi,
As a fresh man, I need your help. The hardware is
Hytec8002 and hytec8401. Hytec8401ip driver came from Diamond website. I made
my own application project with EPICS V3.14.8.2
and VxWorks V5.5.1. The codes compiling is no error but some warnings. When downloaded
to VME(mvme5500), there are some error message as below:
## Load record instances
dbLoadRecords("db/8401.db")
value = 0 =
0x0
#######################
#
slot int options
IPCAC6 = ipacEXTAddCarrier(&EXTHy8002, "6 2
10")
Id: drvHy8002.c,v 1.10 2001/11/20 12:21:42 wscott Exp
8002 initialise 6 2 10
PROM manufacturer ID: 0x8003 (HyTec Electronics Ltd., Reading, UK)
PROM model #: 0x8002, board rev. 0x03
PROM Xilinx rev.: 0x03, 0x00, 0x07
PROM Serial #: 0x00 0x00 0x00 0x00 0x05
0xce
drvHy8002filename="../.: A32 RegisterAddress
error (status=./..34144267/src/libCom/)osi/devLib.c" line vmeslot
number=282
6, ipslot unable to m0ap address VME A32 at
address base=0X11800000800000 size =
0X100000
0xIP memo1ef31290ry register (error!
tShell): drvHy8002ipacAddCarrie: Cannot register A32
device at r: 1800000Hytec VICB8002. Error is driver retur209000bned an
error.
new symbol "IPCAC6" added to symbol
table.
IPCAC6 = 0x1ee87ff0: value = -1 =
0xffffffff
#-------- 8401 (Analogue
Input)------------------------------------------------
#
card, slot, ipsl, intl, inte, aity,
clks, clkr, inhi, samp, spac, trig
Hy8401ipConfigure ( 60, IPCAC6,
A, 0, 0, 0,
0, 15, 0, 1,
1, 0)
$Id: drvHy8401ip.c,v 1.8 2005/10/27 09:07:01 mga83 Exp
$
Hy8401ipConfigure: card 60, VME slot -1, IP slot
0,
vector 0, itr state 0, ai type 0,
clock src 0, clock rate 15, inhibit 0,
samples 1, spacing 1, trigger 0
value = 0 = 0x0
shellPromptSet "1054-Test> "
value = 2178076 = 0x213c1c
= shellHistSize + 0x4
iocInit()
Starting iocInit
############################################################################
### EPICS IOC CORE built on Jul 16
2008
### EPICS R3.14.8.2
$R3-14-8-2$ $2006/01/06 15:55:13$
############################################################################
***drvIpac version extended for Hot
Swap
***$Id: drvIpac.c,v 1.3 2004/05/17 10:57:14 pho Exp
$
SPAWNING HOTSWAP SCAN TASK
0x1ef31290 (tShell): drvHy8401ip: Cannot register
Hy8401ip A16 device.iocInit: All initialization complete
value = 0 =
0x0
Done executing startup script
/home/blctrl/hytec_ADC/iocBoot/iocHy8401ADC/st.cmd
1054-Test>
////////////////////////////////////////////////////
I check out the error “A32 RegisterAddress error” come
from the line 667 of drvHy8002.c file
How to correct? Thanks a lot!
====================================
LIU Ping
Beamline
Control Group
Shanghai
Synchrotron Radiation Facility
Shanghai
Institute of Applied Physics
Chinese Academy of Sciences
Zhangheng Rd 239,Pudong Dist.,
Shanghai
201204
China
Tel:+86-21-33933237
===================================