May 13, 1998 onl7v2: Solaris 2.6 cc ドライバのデバッグ. cc ドライバの実行 ~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/CAMAC/ onl7v2-sol2.6/camac-step02.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). 英語版 Soalris2.6 & VMEドライバ v2.2.2 が届いた。 (B). CPU-7V に Solaris2.6 のシステムをインストールした。 (C). /etc の下の各設定、および /export/home の作成をやった。 (D). Solaris2.6用の VMEドライバ、FRCvme-2.2.2 をインストールした。 (E). onl7v2 に ccドライバをインストールする。 (2). ここでやるべきこと onl7v2 上で ccドライバの動作確認をするために、サンプル・プログラムを 実行する。 (3). サンプル・プログラムの実行 (3-1). cam1 の実行 onl7v2[54]% pwd /export/home/onl7v2/inoue/CAMAC/Driver/FORCE-5V-sol2.5 onl7v2[55]% cam1 5 Input n a f (data)>3 0 0 N=3 A=0 F=0 Q=1 X=1 Data:000000(Hex) 00000000(Dec) Input n a f (data)>3 0 16 7777 N=3 A=0 F=16 Q=1 X=1 Data:001E61(Hex) 00007777(Dec) Input n a f (data)>3 0 0 N=3 A=0 F=0 Q=1 X=1 Data:001E61(Hex) 00007777(Dec) Input n a f (data)>3 0 16 0 N=3 A=0 F=16 Q=1 X=1 Data:000000(Hex) 00000000(Dec) Input n a f (data)>3 0 0 N=3 A=0 F=0 Q=1 X=1 Data:000000(Hex) 00000000(Dec) onl7v2[56]% ok. 正常終了した。 (3-2). cam3 の実行 onl7v2[56]% cam3 *** Now waiting LAM ... N=3 Loop=10 Timeout=0 sec Interrupted !! count=1 Interrupted !! count=2 Interrupted !! count=3 Interrupted !! count=4 Interrupted !! count=5 Interrupted !! count=6 Interrupted !! count=7 Interrupted !! count=8 Interrupted !! count=9 Interrupted !! count=10 *** cam3 nomal end. onl7v2[57]% cam3 *** Now waiting LAM ... N=3 Loop=10 Timeout=0 sec Interrupted !! count=1 Interrupted !! count=2 Timeout !! count=3 <-- ここで、故意にタイムアウトを起こしてみた。 Timeout !! count=4 <-- ここで、故意にタイムアウトを起こしてみた。 Interrupted !! count=5 Interrupted !! count=6 Timeout !! count=7 <-- ここで、故意にタイムアウトを起こしてみた。 Timeout !! count=8 <-- ここで、故意にタイムアウトを起こしてみた。 Timeout !! count=9 <-- ここで、故意にタイムアウトを起こしてみた。 Interrupted !! count=10 *** cam3 nomal end. onl7v2[58]% ok. 正常終了した。 (3-3). cam2 の実行 onl7v2[60]% cam2 Input transfer mode (1:word 2:long word) >1 Input loop >5 Input mode (0:QSTOP 1:QIGNORE 2:QREPEAT 3:QSCAN) >1 Input data counts >5 Input n a f >3 0 0 WARNING: VME: VME DMA not possible, set the slavewin property in VME.conf ^C <---- ここで、フリーズしてしまった。 ctl-c で中断しようとしたがダメ。 killコマンド で中断しようとしてもダメ。 結局、システムを リブートする。 --- from network <-- ネットワークからシャットダウンした。 onl7v2# shutdown -i0 -g0 Shutdown started. Thu Apr 23 13:37:23 JST 1998 Do you want to continue? (y or n): y Broadcast Message from root (pts/1) on onl7v2 Thu Apr 23 13:37:39... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: onl7v2: RPC: Program not registered Changing to init state 0 - please wait onl7v2# Connection closed. onlsun2[218]% --- console Broadcast Message from root (pts/1) on onl7v2 Thu Apr 23 13:37:39... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services stopped. Stopping the syslog service. syslogd: going down on signal 15 umount: /kekfs busy nfs umount: /kekfs/kek: is busy Apr 23 13:38:29 snmpdx: received signal 15 nfs umount: /kekfs/kek: is busy umount: /export/home busy umount: /kekfs busy The system is down. syncing file Program terminated Type help for more information ok ok boot -r Resetting ... SPARC CPU-7V, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9159440. Ethernet address 0:80:42:b:53:10, Host ID: 808bc310. Rebooting with command: -r Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: - r SunOS Release 5.6 Version Generic [UNIX(R) System V Release 4.0] Copyright (c) 1983-1997, Sun Microsystems, Inc. FRCvme VME Nexus V2.2.2 (FGA-5000 FGA-5100) configuring network interfaces: le0. Hostname: onl7v2 Configuring the /devices directory CAMAC device driver V1.3x, 1991-1993 by Y.TAKEUCHI (T.I.T.) cc0 at VME0: vme16d16 0xff00 VME level 4 vector 0xff sparc ipl 7 vmemem0 at VME0: vme32d16 0x0 vmemem1 at VME0: vme16d16 0x0 vmemem2 at VME0: vme24d16 0x0 vmemem3 at VME0: vme32d32 0x0 vmemem4 at VME0: vme16d32 0x0 vmemem5 at VME0: vme24d32 0x0 vmeplus0 at VME0: vme16d16 0x0 and vme24d16 0x0 and vme32d16 0x0 and vme16d32 0x 0 and vme24d32 0x0 and vme32d32 0x0 and space 0x2f offset 0x0 and space 0x6f offset 0x0 and space 0x10 offset 0x0 and space 0x11 offset 0x0 and space 0x50 offset 0x0 and space 0x51 offset 0x0 vmectl0 at VME0 Configuring the /dev directory Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: is clean. /dev/rdsk/c0t3d0s7: is stable. add net default: gateway ICCFG1 NIS domainname is kek.jp starting rpc services: rpcbind keyserv done. Setting netmask of le0 to 255.255.252.0 Setting default interface for multicast: add net 224.0.0.0: gateway onl7v2 syslog service starting. Print services started. volume management starting. The system is ready. onl7v2 console login: VME slave window の設定をやっていなかったようだ。 (3-3-1). "Solaris 2.x VMEbus Driver User's Manual, Edition No. 4, June 1997" を調べる。 マニュアルの "システム・メッセージ"の項を調べる。 "Warnings メッセージ"の説明のところで、マニュアルの171ページに、上記の メッセージの記述があった。 WARNING: VME: VME DMA not possible, set the slavewin property in VME.conf Some device driver tried to initiate a DMA transfer to the local CPU by means of the DDI DMA interface. To do so, it is necessary to set the slavewin property in the configuration file of the VMEbus nexus driver (see section 4.3 "Nexus Driver Fault Handling" on page 111). ローカル CPU に対して、DDI DMA interface のやり方で DMA 転送をしようする 時には、VMEbus nexus ドライバのコンフィギュレーション・ファイルの中に、 slavewin についての記述をしておくことが必要ということのようだ。 (3-3-2). VME.conf に slavewin プロパティを設定する onl7v2[44]% cd drv /kernel/drv onl7v2[45]% ls arp* ip.conf pcic.conf rts.conf sysconfig* arp.conf isp* pcmem* rtvc* tcp* be* iwscn* pcram* sad* tcp.conf bpp* iwscn.conf pcram.conf* sad.conf tl* clone* le* pcs* sd* tl.conf clone.conf lebuffer* pcser* sd.conf udp* cn* llc1* pem* se* udp.conf cn.conf llc1.conf pem.conf ses* vmectl* conskbd* log* pln* ses.conf vmectl.conf conskbd.conf log.conf pln.conf soc* vmedma* consms* mm* profile* socal* vmedma.conf consms.conf mm.conf pseudo* sp* vmedvma* ecpp* openeepr* pseudo.conf sp.conf vmedvma.conf esp* openeepr.conf ptc* ssd* vmefdma* fas* options* ptc.conf ssd.conf vmefdma.conf glm* options.conf ptsl* st* vmeplus* hme* pcata* ptsl.conf st.conf vmeplus.conf icmp* pcelx* qe* stp4020* wc* icmp.conf pci_pci* qec* sy* wc.conf ip* pcic* rts* sy.conf xbox* onl7v2[46]% /kernel/drvディレクトリに VME nexusドライバおよび VME.confコンフィギュレーション・ファイルが見当たらない。 VMEドライバをインストールした時の記録をチェック。 ---- 以下、VMEドライバをインストールした時の記録 --- onl7v2# pkgadd -d /cdrom/frcvme/pkg The following packages are available: 1 FRCctrl sysconfig driver SPARC/CPU-3CE,5CE,5TE,5V,7V,8V,20V,24V (sparc.force) V1.1 2 FRCvme VMEbus Driver CPU-3CE,5CE,5TE,5V,7V,8V,20V,24V Solaris 2.5, 2.6 (sparc.force) V2.2.2 Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: Processing package instance from sysconfig driver SPARC/CPU-3CE,5CE,5TE,5V,7V,8V,20V,24V (sparc.force) V1.1 Copyright FORCE COMPUTERS 1996,1997 Using as the package base directory. ## Processing package information. ## Processing system information. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of [y,n,?] y Installing sysconfig driver SPARC/CPU-3CE,5CE,5TE,5V,7V,8V,20V,24V as ## Installing part 1 of 1. /kernel/drv/sysconfig /opt/FRCctrl/examples/ledctl /opt/FRCctrl/examples/ledctl.c /opt/FRCctrl/examples/read_values /opt/FRCctrl/examples/sysconfig_test /opt/FRCctrl/examples/sysconfig_test.c /opt/FRCctrl/examples/temp_wait /opt/FRCctrl/examples/temp_wait.c /opt/FRCctrl/kernel/drv/sysconfig /opt/FRCctrl/man/man7/sysconfig.7d /opt/FRCctrl/sys/sysconfig_if.h [ verifying class ] ## Executing postinstall script. modifying //etc/devlink.tab Installation of was successful. Processing package instance from VMEbus Driver CPU-3CE,5CE,5TE,5V,7V,8V,20V,24V Solaris 2.5, 2.6 (sparc.force) V2.2.2 Copyright FORCE COMPUTERS 1996, 1997 Installing the following classes: base targ sysfile Using as the package base directory. ## Processing package information. ## Processing system information. ## Verifying disk space requirements. ## Checking for conflicts with packages already installed. ## Checking for setuid/setgid programs. This package contains scripts which will be executed with super-user permission during the process of installing this package. Do you want to continue with the installation of [y,n,?] y Installing VMEbus Driver CPU-3CE,5CE,5TE,5V,7V,8V,20V,24V Solaris 2.5, 2.6 as ## Installing part 1 of 1. /opt/FRCvme/SunOS_5_5/platform/sun4m/kernel/drv/VME_fga5000 /opt/FRCvme/SunOS_5_5/platform/sun4m/kernel/drv/VME_s4 /opt/FRCvme/SunOS_5_6/platform/sun4m/kernel/drv/VME_fga5000 /opt/FRCvme/SunOS_5_6/platform/sun4m/kernel/drv/VME_s4 /opt/FRCvme/drv/common/common.c /opt/FRCvme/drv/vmectl/Makefile /opt/FRCvme/drv/vmectl/vmectl.c /opt/FRCvme/drv/vmedma/Makefile /opt/FRCvme/drv/vmedma/vmedma.c /opt/FRCvme/drv/vmedvma/Makefile /opt/FRCvme/drv/vmedvma/vmedvma.c /opt/FRCvme/drv/vmefdma/Makefile /opt/FRCvme/drv/vmefdma/vmefdma.c /opt/FRCvme/drv/vmeplus/Makefile /opt/FRCvme/drv/vmeplus/safe_write.o /opt/FRCvme/drv/vmeplus/vmecopy.o /opt/FRCvme/drv/vmeplus/vmeplus.c /opt/FRCvme/examples/Makefile /opt/FRCvme/examples/README /opt/FRCvme/examples/errorcount /opt/FRCvme/examples/errorcount.c /opt/FRCvme/examples/sevenseg /opt/FRCvme/examples/sevenseg.c /opt/FRCvme/examples/shmem /opt/FRCvme/examples/shmem.c /opt/FRCvme/examples/vme_dump /opt/FRCvme/examples/vme_dump.c /opt/FRCvme/examples/vmecp /opt/FRCvme/examples/vmecp.c /opt/FRCvme/examples/vmetest /opt/FRCvme/examples/vmetest.c /opt/FRCvme/kernel/drv/VME.conf /opt/FRCvme/kernel/drv/vmectl /opt/FRCvme/kernel/drv/vmectl.conf /opt/FRCvme/kernel/drv/vmedma /opt/FRCvme/kernel/drv/vmedma.conf /opt/FRCvme/kernel/drv/vmedvma /opt/FRCvme/kernel/drv/vmedvma.conf /opt/FRCvme/kernel/drv/vmefdma /opt/FRCvme/kernel/drv/vmefdma.conf /opt/FRCvme/kernel/drv/vmeplus /opt/FRCvme/kernel/drv/vmeplus.conf /opt/FRCvme/kernel/drv/vmeplus_gw /opt/FRCvme/sys/common.h /opt/FRCvme/sys/fga5000.h /opt/FRCvme/sys/s4.h /opt/FRCvme/sys/vdi.h /opt/FRCvme/sys/vdi_types.h /opt/FRCvme/sys/vhi_types.h /opt/FRCvme/sys/vme.h /opt/FRCvme/sys/vme_debug.h /opt/FRCvme/sys/vme_types.h /opt/FRCvme/sys/vui.h /opt/FRCvme/usr/lib/libvui.a /opt/FRCvme/vui/Makefile /opt/FRCvme/vui/libvui.c [ verifying class ] /kernel/drv/vmectl /kernel/drv/vmectl.conf /kernel/drv/vmedma /kernel/drv/vmedma.conf /kernel/drv/vmedvma /kernel/drv/vmedvma.conf /kernel/drv/vmefdma /kernel/drv/vmefdma.conf /kernel/drv/vmeplus /kernel/drv/vmeplus.conf /platform/sun4m/kernel/drv/VME.conf /platform/sun4m/kernel/drv/VME_fga5000 /platform/sun4m/kernel/drv/VME_s4 [ verifying class ] /usr/include/sys/fga5000.h /usr/include/sys/s4.h /usr/include/sys/vdi.h /usr/include/sys/vdi_types.h /usr/include/sys/vhi_types.h /usr/include/sys/vme.h /usr/include/sys/vme_debug.h /usr/include/sys/vme_types.h /usr/include/sys/vui.h /usr/lib/libvui.a [ verifying class ] ## Executing postinstall script. Installing drivers... modifying //etc/devlink.tab FRCvme VME Nexus V2.2.2 (FGA-5000 FGA-5100) vmeplus0 at VME0: vme16d16 0x0 and vme24d16 0x0 and vme32d16 0x0 and vme16d32 0x 0 and vme24d32 0x0 and vme32d32 0x0 and space 0x2f offset 0x0 and space 0x6f offset 0x0 and space 0x10 offset 0x0 and space 0x11 offset 0x0 and space 0x50 offset 0x0 and space 0x51 offset 0x0 vmectl0 at VME0 NOTE: Reboot your system so that the VME drivers are loaded. Installation of was successful. The following packages are available: 1 FRCctrl sysconfig driver SPARC/CPU-3CE,5CE,5TE,5V,7V,8V,20V,24V (sparc.force) V1.1 2 FRCvme VMEbus Driver CPU-3CE,5CE,5TE,5V,7V,8V,20V,24V Solaris 2.5, 2.6 (sparc.force) V2.2.2 Select package(s) you wish to process (or 'all' to process all packages). (default: all) [?,??,q]: q onl7v2# eject onl7v2# ---- 以上、VMEドライバをインストールした時の記録の参照おわり --- この記録からわかる通り、VME.conf のファイルは /platform/sun4m/kernel/drv/VME.conf にインストールされている。チェック。 onl7v2[40]% ls -l /platform/sun4m/kernel/drv/ total 2792 -rwxr-xr-x 2 root sys 204112 Apr 20 14:15 VME* -rw-r--r-- 1 root sys 1810 Nov 21 19:56 VME.conf -rwxr-xr-x 2 root sys 204112 Apr 20 14:15 VME_fga5000* -rwxr-xr-x 1 root sys 170744 Jan 15 21:56 VME_s4* : onl7v2[41]% VMEドライバ v2.2.2 では VME.confファイルのインストール先が 変わったようだ。 VME.conf に slavewin プロパティを設定する onl7v2# mv VME.conf VME.conf.org onl7v2# cp VME.conf.org VME.conf onl7v2# ls -l VME.conf* -rw-r--r-- 1 root other 1810 Apr 24 09:42 VME.conf -rw-r--r-- 1 root sys 1810 Nov 21 19:56 VME.conf.org onl7v2# chgrp sys VME.conf onl7v2# ls -l VME.conf* -rw-r--r-- 1 root sys 1810 Apr 24 09:42 VME.conf -rw-r--r-- 1 root sys 1810 Nov 21 19:56 VME.conf.org onl7v2# vi VME.conf # %Z%$RCSfile: VME.conf,v $ $Revision: 1.5.2.1 $ %D% FRC # # vmewin must be on a 256MB boundary # vmewin= # vmewinX= # The syntax for VME A24/A16 windows is vmexxdxx=, # The parameter is currently ignored (the full 16MB/64K range is used). # If these properties exist, the VSI is programmed with a static SBus to # VMEbus mapping. # # If you don't need this and want to save range registers in the VSI, # you should comment it out. # # The slavewin property is only needed for device drivers that want to # to do DMA via the standard DDI DMA interface calls, so that the VME nexus # can provide a VMEbus address where the device can perform DMA to. # Don't define this if you do not need it, as it will eat up a VME slave # range. Note also that the VSI will decode these addresses once the # slavewin property has been set and report VME Bus Errors if no driver # uses it! So if you get strange bus errors, check this file for the # slavewin property. # The format is: # # slavewin , , # # vme_start must be aligned to vme_size. vme_size must be 0x100000 (1MB), 2MB # 4MB, 8MB, ... 64MB. Space is a bitset of the VME_BT_xxx literals defined # in sys/vme_types. Standard values are: # 0x00020000 for a slave window in A24 space # 0x00040000 for a slave window in A32 space # # Refer to the manual for possible values for different hardware. E.g. if # you want the slave memory to accept BLT/MBLT transfers, set the # VME_BT_BLT/VME_BT_MBLT bits: # 0x00040600 for a slave window in A32 space with BLT/MBLT enabled. # #vmewin1=0x40000000 #vmewin2=0x20000000 #vmewin3=0x30000000 #vmewin=0x10000000 #vme16d16=0x0,0x10000 #vme16d32=0x0,0x10000 #vme24d32=0x0,0x100000 #vme24d16=0x0,0x100000 #slavewin=0x000000,0x100000,0x00020000 slavewin=0x000000,0x100000,0x00020000 pamc=0x10, 0x11 ; "VME.conf" 48 lines, 1848 characters onl7v2# (3-3-3). システムをリブートする onl7v2# shutdown -i0 -g0 Shutdown started. Fri Apr 24 10:05:01 JST 1998 Do you want to continue? (y or n): y Broadcast Message from root (console) on onl7v2 Fri Apr 24 10:05:03... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged showmount: onl7v2: RPC: Program not registered Changing to init state 0 - please wait onl7v2# INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services stopped. Stopping the syslog service. syslogd: going down on signal 15 Apr 24 10:05:52 snmpdx: received signal 15 The system is down. syncing file systems... done Program terminated Type help for more information ok ok boot -r Resetting ... SPARC CPU-7V, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9159440. Ethernet address 0:80:42:b:53:10, Host ID: 808bc310. Rebooting with command: -r Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: - r SunOS Release 5.6 Version Generic [UNIX(R) System V Release 4.0] Copyright (c) 1983-1997, Sun Microsystems, Inc. FRCvme VME Nexus V2.2.2 (FGA-5000 FGA-5100) NOTICE: VME: slavewin at vme=0x0, size=0x100000 space=0x2c020017 configuring network interfaces: le0. Hostname: onl7v2 Configuring the /devices directory CAMAC device driver V1.3x, 1991-1993 by Y.TAKEUCHI (T.I.T.) cc0 at VME0: vme16d16 0xff00 VME level 4 vector 0xff sparc ipl 7 vmemem0 at VME0: vme32d16 0x0 vmemem1 at VME0: vme16d16 0x0 vmemem2 at VME0: vme24d16 0x0 vmemem3 at VME0: vme32d32 0x0 vmemem4 at VME0: vme16d32 0x0 vmemem5 at VME0: vme24d32 0x0 vmeplus0 at VME0: vme16d16 0x0 and vme24d16 0x0 and vme32d16 0x0 and vme16d32 0x 0 and vme24d32 0x0 and vme32d32 0x0 and space 0x2f offset 0x0 and space 0x6f offset 0x0 and space 0x10 offset 0x0 and space 0x11 offset 0x0 and space 0x50 offset 0x0 and space 0x51 offset 0x0 vmectl0 at VME0 Configuring the /dev directory Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: is clean. /dev/rdsk/c0t3d0s7: is clean. add net default: gateway ICCFG1 NIS domainname is kek.jp starting rpc services: rpcbind keyserv done. Setting netmask of le0 to 255.255.252.0 Setting default interface for multicast: add net 224.0.0.0: gateway onl7v2 syslog service starting. Print services started. volume management starting. The system is ready. onl7v2 console login: (3-3-4). cam2 テスト・プログラムを再度、実行してみる slavewin 設定、リブート後の、cam2 の実行。 onl7v2[51]% cam2 Input transfer mode (1:word 2:long word) >1 Input loop >5 Input mode (0:QSTOP 1:QIGNORE 2:QREPEAT 3:QSCAN) >1 Input data counts >5 Input n a f >3 0 0 MODE=1 N= 3 A= 0 F= 0 len= 5 lenr= 5 error= 0(Hex) Data( 1)= 0 0x 0(Hex) Data( 2)= 0 0x 0(Hex) Data( 3)= 0 0x 0(Hex) Data( 4)= 0 0x 0(Hex) Data( 5)= 0 0x 0(Hex) Data( 6)= 0 0x 0(Hex) Data( 7)= 0 0x 0(Hex) Data( 8)= 0 0x 0(Hex) Data( 9)= 0 0x 0(Hex) Data(10)= 0 0x 0(Hex) Input n a f >3 0 16 Input data >555 MODE=1 N= 3 A= 0 F=16 len= 5 lenr= 5 error= 0(Hex) Data( 1)= 555 0x 22B(Hex) Data( 2)= 555 0x 22B(Hex) Data( 3)= 555 0x 22B(Hex) Data( 4)= 555 0x 22B(Hex) Data( 5)= 555 0x 22B(Hex) Data( 6)= 0 0x 0(Hex) Data( 7)= 0 0x 0(Hex) Data( 8)= 0 0x 0(Hex) Data( 9)= 0 0x 0(Hex) Data(10)= 0 0x 0(Hex) Input n a f >3 0 0 MODE=1 N= 3 A= 0 F= 0 len= 5 lenr= 5 error= 0(Hex) Data( 1)= 555 0x 22B(Hex) Data( 2)= 555 0x 22B(Hex) Data( 3)= 555 0x 22B(Hex) Data( 4)= 555 0x 22B(Hex) Data( 5)= 555 0x 22B(Hex) Data( 6)= 0 0x 0(Hex) Data( 7)= 0 0x 0(Hex) Data( 8)= 0 0x 0(Hex) Data( 9)= 0 0x 0(Hex) Data(10)= 0 0x 0(Hex) Input n a f >3 0 16 Input data >777 MODE=1 N= 3 A= 0 F=16 len= 5 lenr= 5 error= 0(Hex) Data( 1)= 777 0x 309(Hex) Data( 2)= 777 0x 309(Hex) Data( 3)= 777 0x 309(Hex) Data( 4)= 777 0x 309(Hex) Data( 5)= 777 0x 309(Hex) Data( 6)= 0 0x 0(Hex) Data( 7)= 0 0x 0(Hex) Data( 8)= 0 0x 0(Hex) Data( 9)= 0 0x 0(Hex) Data(10)= 0 0x 0(Hex) Input n a f >3 0 0 MODE=1 N= 3 A= 0 F= 0 len= 5 lenr= 5 error= 0(Hex) Data( 1)= 777 0x 309(Hex) Data( 2)= 777 0x 309(Hex) Data( 3)= 777 0x 309(Hex) Data( 4)= 777 0x 309(Hex) Data( 5)= 777 0x 309(Hex) Data( 6)= 0 0x 0(Hex) Data( 7)= 0 0x 0(Hex) Data( 8)= 0 0x 0(Hex) Data( 9)= 0 0x 0(Hex) Data(10)= 0 0x 0(Hex) onl7v2[52]% ok. camacブロック転送(16ビットread/write) は正常に実行できた。 --- (6). 項目タイトル (6-1). サブ項目タイトル (6-1-1). サブサブ項目タイトル