init.shのなかからinit400.shを呼び出している。 init400.shのなかで # DSP program load ./m ${server} "ldsp ${device_cs} ${dsp_cs} ../dspgen/release/DSP.DXE" という記述がある。 DSPプログラムのアップロードに失敗しているようである。 ldspコマンドは msa_cmc_com.c 内の Msa_Com_Cmc_ldspに対応づけられている。 Msa_Com_Cmc_ldspは msa_cmc_0.c 内の Msa_Cmc_ldsp を呼び出している。 int Msa_Cmc_ldsp( int device_num, int dsp_id, char *filename ) { int error; error = Msa_Bw21k_StartDsp( device_num, dsp_id, filename ); if( error != MSA_OK ) return error; error = Msa_Dsp_pci_addr_w( device_num, dsp_id ); return error; } ldspの説明は以下のようにある。 "Load dsp program, and write shared PCI address" この関数内ではプロンプトが帰ってこないということはハードウエアの反応がないということ???? ########################################################## MESSIAのマニュアルにDSPボードの試験のやり方が記載されていたので、それに従って試験してみた。 結果は以下の通り。 DSPには異常はなさそう。 メモリーに異常あり。 [messia@sanjigen system]$ cd /usr/local/dsp21ksf [messia@sanjigen bin]$ export DSP21KSF=/usr/local/dsp21ksf [messia@sanjigen bin]$ ./dspbad -h dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. usage: dspbad [flags] flags: -b use board number (overrides -d and -i switches) ...board number is device number * 10 + id number example: -b22 is the same as -d2 -i2 -d use device number (defaults to first found device) -h show usage -i use processor with id number (defaults to id number 1) -n run tests times -p pause before dsp self test -s silent tests -t test types is one of the following p - PC tests n - iNternal tests d - DSP tests x - eXternal tests i - Interrupt tests f - Flash test r - pRimes test (default is all except flash) ...multiple -t switches are allowed -v show version information -? show usage [messia@sanjigen bin]$ [messia@sanjigen bin]$ ./dspbad -d0 -i1 -tn dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) PC MEMORY INTERFACE TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................68 failed at address 0x044cd3 wrote 0004:4cd3:0000 read 0014:4cd3:0000 at address 0x047893 wrote 0004:7893:0000 read 0014:7893:0000 at address 0x047d53 wrote 0004:7d53:0000 read 0014:7d53:0000 at address 0x047d93 wrote 0004:7d93:0000 read 0014:7d93:0000 at address 0x047ed3 wrote 0004:7ed3:0000 read 0014:7ed3:0000 66 errors Self-Address Complement......50 failed at address 0x040052 wrote fffb:ffad:ffff read fffb:ffbd:ffff at address 0x040072 wrote fffb:ff8d:ffff read fffb:ff9d:ffff at address 0x040092 wrote fffb:ff6d:ffff read fffb:ff7d:ffff at address 0x0400d2 wrote fffb:ff2d:ffff read fffb:ff3d:ffff at address 0x0400f2 wrote fffb:ff0d:ffff read fffb:ff1d:ffff 814 errors Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............50 failed at address 0x040051 wrote 2cd4:8f2c:882e read 2cd4:8f2c:883e at address 0x04005d wrote 40cd:2035:87ab read 40cd:2035:87bb at address 0x040065 wrote 3d11:d77f:9d6c read 3d11:d77f:9d7c at address 0x0400a5 wrote 3f91:aae7:b1cc read 3f91:aae7:b1dc at address 0x0400b1 wrote 2020:051d:1645 read 2020:051d:1655 1112 errors Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............50 failed at address 0x050063 wrote 676f:d81c read 677f:d81c at address 0x050085 wrote 3d81:59fd read 3d91:59fd at address 0x05008b wrote 3aa8:a66e read 3ab8:a66e at address 0x0500ad wrote a4ac:9642 read a4bc:9642 at address 0x0500ed wrote ce0e:9b87 read ce1e:9b87 1016 errors DSP SELF TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok [messia@sanjigen bin]$ [messia@sanjigen bin]$ ./dspbad -d0 -i1 -td dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) DSP SELF TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok External Bank 0 Test at 0x800000, Size: 0x4000000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok [messia@sanjigen bin]$ [messia@sanjigen bin]$ ./dspbad -d0 -i1 -tp dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) PC MEMORY INTERFACE TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................87 failed at address 0x048493 wrote 0004:8493:0000 read 0014:8493:0000 at address 0x0486d3 wrote 0004:86d3:0000 read 0014:86d3:0000 at address 0x049153 wrote 0004:9153:0000 read 0014:9153:0000 3 errors Self-Address Complement......50 failed at address 0x040072 wrote fffb:ff8d:ffff read fffb:ff9d:ffff at address 0x0400b2 wrote fffb:ff4d:ffff read fffb:ff5d:ffff at address 0x0400d2 wrote fffb:ff2d:ffff read fffb:ff3d:ffff at address 0x040112 wrote fffb:feed:ffff read fffb:fefd:ffff at address 0x0401b2 wrote fffb:fe4d:ffff read fffb:fe5d:ffff 818 errors Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............50 failed at address 0x040066 wrote db2e:ae2d:bc35 read db2e:ae3d:bc35 at address 0x040071 wrote 132d:1fb4:8549 read 132d:1fb4:8559 at address 0x04007a wrote 6a60:fcab:54fd read 6a60:fcbb:54fd at address 0x0400a7 wrote 332d:1208:8fcf read 333d:1208:8fcf at address 0x0400af wrote f100:7f0f:16db read f110:7f0f:16db 884 errors Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............50 failed at address 0x0500e5 wrote 5e2b:f6a4 read 5e3b:f6a4 at address 0x05013b wrote 23ce:52c6 read 23de:52c6 at address 0x05014d wrote cd28:4424 read cd38:4424 at address 0x050163 wrote b225:abe3 read b235:abe3 at address 0x050177 wrote 8feb:6e7e read 8ffb:6e7e 1033 errors External Bank 0 Test at 0x800000, Size: 0x4000000 32-bit Words Self-Address.................50 failed at address 0x947c31 wrote 0094:7c31 read 0084:7c31 at address 0x947c33 wrote 0094:7c33 read 0084:7c33 at address 0x947c35 wrote 0094:7c35 read 0084:7c35 at address 0x947c37 wrote 0094:7c37 read 0084:7c37 at address 0x947c39 wrote 0094:7c39 read 0084:7c39 2146798 errors Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............50 failed at address 0x800043 wrote 425a:dfec read 424a:dfec at address 0x800045 wrote f636:c07e read f626:c07e at address 0x800053 wrote 532d:94d4 read 533d:94d4 at address 0x800063 wrote 7f31:bcef read 7f21:bcef at address 0x800065 wrote fa92:4de3 read fa82:4de3 8441421 errors [messia@sanjigen bin]$ ########################################################### ISLEの予備の512MBのメモリーを付けた。 [messia@sanjigen dsp21ksf]$ cd bin [messia@sanjigen bin]$ export DSP21KSF=/usr/local/dsp21ksf [messia@sanjigen bin]$ ./dspbad -d0 -i1 -tn dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) PC MEMORY INTERFACE TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok DSP SELF TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok [messia@sanjigen bin]$ [messia@sanjigen bin]$ ./dspbad -d0 -i1 -td dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) DSP SELF TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok External Bank 0 Test at 0x800000, Size: 0x4000000 32-bit Words Self-Address.................99 failed at address 0x800000 wrote 0080:0000 read 0000:0002 at address 0x800001 wrote 0080:0001 read 047f:ffff at address 0x800002 wrote 0080:0002 read 0000:0002 at address 0x800003 wrote 0080:0003 read 047f:ffff at address 0x800004 wrote 0080:0004 read 0000:0002 67108864 errors Self-Address Complement......99 failed at address 0x800000 wrote ff7f:ffff read 0000:0002 at address 0x800001 wrote ff7f:fffe read fb80:0000 at address 0x800002 wrote ff7f:fffd read 0000:0002 at address 0x800003 wrote ff7f:fffc read fb80:0000 at address 0x800004 wrote ff7f:fffb read 0000:0002 67108864 errors Checkerboard A...............99 failed at address 0x800000 wrote aaaa:aaaa read 0000:0002 at address 0x800002 wrote aaaa:aaaa read 0000:0002 at address 0x800004 wrote aaaa:aaaa read 0000:0002 at address 0x800006 wrote aaaa:aaaa read 0000:0002 at address 0x800008 wrote aaaa:aaaa read 0000:0002 67108294 errors Checkerboard 5...............99 failed at address 0x800000 wrote 5555:5555 read 0000:0002 at address 0x800002 wrote 5555:5555 read 0000:0002 at address 0x800004 wrote 5555:5555 read 0000:0002 at address 0x800006 wrote 5555:5555 read 0000:0002 at address 0x800008 wrote 5555:5555 read 0000:0002 67107438 errors All Bits Set.................99 failed at address 0x800000 wrote ffff:ffff read 0000:0002 at address 0x800002 wrote ffff:ffff read 0000:0002 at address 0x800004 wrote ffff:ffff read 0000:0002 at address 0x800006 wrote ffff:ffff read 0000:0002 at address 0x800008 wrote ffff:ffff read 0000:0002 67107379 errors All Bits Clear...............99 failed at address 0x800000 wrote 0000:0000 read 0000:0002 at address 0x800002 wrote 0000:0000 read 0000:0002 at address 0x800004 wrote 0000:0000 read 0000:0002 at address 0x800006 wrote 0000:0000 read 0000:0002 at address 0x800008 wrote 0000:0000 read 0000:0002 33554432 errors [messia@sanjigen bin]$ [messia@sanjigen bin]$ ./dspbad -d0 -i1 -tp dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) PC MEMORY INTERFACE TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok External Bank 0 Test at 0x800000, Size: 0x4000000 32-bit Words Self-Address.................50 failed at address 0x800000 wrote 0080:0000 read f330:0128 at address 0x800001 wrote 0080:0001 read 0000:0000 at address 0x800002 wrote 0080:0002 read fc00:0008 at address 0x800003 wrote 0080:0003 read 0000:0000 at address 0x800004 wrote 0080:0004 read fc00:0010 67108864 errors Self-Address Complement......50 failed at address 0x800000 wrote ff7f:ffff read f330:0128 at address 0x800001 wrote ff7f:fffe read 0000:0000 at address 0x800002 wrote ff7f:fffd read fc00:0008 at address 0x800003 wrote ff7f:fffc read 0000:0000 at address 0x800004 wrote ff7f:fffb read fc00:0010 67108864 errors Checkerboard A...............50 failed at address 0x800000 wrote aaaa:aaaa read f330:0128 at address 0x800001 wrote aaaa:aaaa read 0000:0000 at address 0x800002 wrote aaaa:aaaa read fc00:0008 at address 0x800003 wrote aaaa:aaaa read 0000:0000 at address 0x800004 wrote aaaa:aaaa read fc00:0010 67108864 errors Checkerboard 5...............50 failed at address 0x800000 wrote 5555:5555 read f330:0128 at address 0x800001 wrote 5555:5555 read 0000:0000 at address 0x800002 wrote 5555:5555 read fc00:0008 at address 0x800003 wrote 5555:5555 read 0000:0000 at address 0x800004 wrote 5555:5555 read fc00:0010 67108864 errors All Bits Set.................50 failed at address 0x800000 wrote ffff:ffff read f330:0128 at address 0x800001 wrote ffff:ffff read 0000:0000 at address 0x800002 wrote ffff:ffff read fc00:0008 at address 0x800003 wrote ffff:ffff read 0000:0000 at address 0x800004 wrote ffff:ffff read fc00:0010 67108864 errors All Bits Clear...............50 failed at address 0x800000 wrote 0000:0000 read f330:0128 at address 0x800002 wrote 0000:0000 read fc00:0008 at address 0x800004 wrote 0000:0000 read fc00:0010 at address 0x800006 wrote 0000:0000 read fc00:0018 at address 0x800008 wrote 0000:0000 read fc00:0020 33554432 errors Random Numbers...............50 failed at address 0x800000 wrote 7600:b2ec read f330:0128 at address 0x800001 wrote 3016:752e read 0000:0000 at address 0x800002 wrote f1ce:5e61 read fc00:0008 at address 0x800003 wrote 948e:45bf read 0000:0000 at address 0x800004 wrote 1ada:539c read fc00:0010 67108864 errors [messia@sanjigen bin]$ Internalは良くなったが、Externalがおかしい。 しかもまったくアクセスできていないようである。 [messia@sanjigen bin]$ ./dspbad -d0 -i1 -tn dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) PC MEMORY INTERFACE TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok DSP SELF TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok [messia@sanjigen bin]$ ############################################################ メモリーサイズを変えたらDSPボードの設定でSDRAM sizeとMSIZEを変えなければいけないという 記述が、マニュアルにあった。 /usr/local/dsp21ksf/bin/bwcfgm を用いる。 Operations: 1 - View / Change Properties 2 - Change Device Number 3 - Change Configuration File 4 - Remove B - Back to Device List Q - Quit Select an operation: 1 +----------------------+--------+---------------------------------------------+ | Name | Device | Configuration File | +----------------------+--------+---------------------------------------------+ | Hammerhead | 0 | N/A | +----------------------+--------+---------------------------------------------+ | BAR0: 0xf3300000 Size: 0x00000200 BAR3: Size: 0x0 | | BAR1: 0xf3400000 Size: 0x00400000 BAR4: 0xfc000000 Size: 0x01000000 | | BAR2: 0xfa000000 Size: 0x02000000 BAR5: Size: 0x0 | +-----------------------------------------------------------------------------+ | Interrupt 25 factory date 08/04/2005 | | serial number 998282 cluster number A | | processor type ADSP-21160 SharcFIN rev. 6.0 | | number of DSPs 4 board rev. 2.0 | | part number HHPC-47-08 bus, slot, func 5, 1, 0 | | WAIT register 0x01ce1b86 slot path 5:1| | | MSIZE d (64MW) recommended d (64MW) | | SDRAM size: 256MB SDRAM (code 56) autodetect: 0MB (timeout error) | +-----------------------------------------------------------------------------+ 1 - Blink lights to identify board 2 - Stop blink 3 - Set WAIT 4 - Set MSIZE 5 - Set SDRAM size B - Back to Previous Menu 当初、上のような設定であったのを、下のような設定に変えた。 +----------------------+--------+---------------------------------------------+ | Name | Device | Configuration File | +----------------------+--------+---------------------------------------------+ | Hammerhead | 0 | N/A | +----------------------+--------+---------------------------------------------+ | BAR0: 0xf3300000 Size: 0x00000200 BAR3: Size: 0x0 | | BAR1: 0xf3400000 Size: 0x00400000 BAR4: 0xfc000000 Size: 0x01000000 | | BAR2: 0xfa000000 Size: 0x02000000 BAR5: Size: 0x0 | +-----------------------------------------------------------------------------+ | Interrupt 25 factory date 08/04/2005 | | serial number 998282 cluster number A | | processor type ADSP-21160 SharcFIN rev. 6.0 | | number of DSPs 4 board rev. 2.0 | | part number HHPC-47-08 bus, slot, func 5, 1, 0 | | WAIT register 0x01ce1b86 slot path 5:1| | | MSIZE e (128MW) recommended e (128MW) | | SDRAM size: 512MB SDRAM (code 57) autodetect: 0MB (timeout error) | +-----------------------------------------------------------------------------+ 1 - Blink lights to identify board 2 - Stop blink 3 - Set WAIT 4 - Set MSIZE 5 - Set SDRAM size B - Back to Previous Menu [messia@sanjigen bin]$ ./dspbad -d0 -i1 -tn dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) PC MEMORY INTERFACE TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok DSP SELF TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok [messia@sanjigen bin]$ ./dspbad -d0 -i1 -td dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) DSP SELF TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok External Bank 0 Test at 0x800000, Size: 0x8000000 32-bit Words Self-Address.................99 failed at address 0x800000 wrote 0080:0000 read 0000:0002 at address 0x800001 wrote 0080:0001 read 087f:ffff at address 0x800002 wrote 0080:0002 read 0000:0002 at address 0x800003 wrote 0080:0003 read 087f:ffff at address 0x800004 wrote 0080:0004 read 0000:0002 134217728 errors Self-Address Complement......99 failed at address 0x800000 wrote ff7f:ffff read 0000:0002 at address 0x800001 wrote ff7f:fffe read f780:0000 at address 0x800002 wrote ff7f:fffd read 0000:0002 at address 0x800003 wrote ff7f:fffc read f780:0000 at address 0x800004 wrote ff7f:fffb read 0000:0002 134217728 errors Checkerboard A...............99 failed at address 0x800000 wrote aaaa:aaaa read 0000:0002 at address 0x800002 wrote aaaa:aaaa read 0000:0002 at address 0x800004 wrote aaaa:aaaa read 0000:0002 at address 0x800006 wrote aaaa:aaaa read 0000:0002 at address 0x800008 wrote aaaa:aaaa read 0000:0002 134216377 errors Checkerboard 5...............99 failed at address 0x800000 wrote 5555:5555 read 0000:0002 at address 0x800002 wrote 5555:5555 read 0000:0002 at address 0x800004 wrote 5555:5555 read 0000:0002 at address 0x800006 wrote 5555:5555 read 0000:0002 at address 0x800008 wrote 5555:5555 read 0000:0002 134217041 errors All Bits Set.................99 failed at address 0x800000 wrote ffff:ffff read 0000:0002 at address 0x800002 wrote ffff:ffff read 0000:0002 at address 0x800004 wrote ffff:ffff read 0000:0002 at address 0x800006 wrote ffff:ffff read 0000:0002 at address 0x800008 wrote ffff:ffff read 0000:0002 134217216 errors All Bits Clear...............99 failed at address 0x800000 wrote 0000:0000 read 0000:0002 at address 0x800002 wrote 0000:0000 read 0000:0002 at address 0x800004 wrote 0000:0000 read 0000:0002 at address 0x800006 wrote 0000:0000 read 0000:0002 at address 0x800008 wrote 0000:0000 read 0000:0002 67108864 errors [messia@sanjigen bin]$ [messia@sanjigen bin]$ ./dspbad -d0 -i1 -tp dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) PC MEMORY INTERFACE TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok External Bank 0 Test at 0x800000, Size: 0x8000000 32-bit Words Self-Address.................50 failed at address 0x800000 wrote 0080:0000 read f330:0128 at address 0x800001 wrote 0080:0001 read 0000:0000 at address 0x800002 wrote 0080:0002 read fc00:0008 at address 0x800003 wrote 0080:0003 read 0000:0000 at address 0x800004 wrote 0080:0004 read fc00:0010 134217728 errors Self-Address Complement......50 failed at address 0x800000 wrote ff7f:ffff read f330:0128 at address 0x800001 wrote ff7f:fffe read 0000:0000 at address 0x800002 wrote ff7f:fffd read fc00:0008 at address 0x800003 wrote ff7f:fffc read 0000:0000 at address 0x800004 wrote ff7f:fffb read fc00:0010 134217728 errors Checkerboard A...............50 failed at address 0x800000 wrote aaaa:aaaa read f330:0128 at address 0x800001 wrote aaaa:aaaa read 0000:0000 at address 0x800002 wrote aaaa:aaaa read fc00:0008 at address 0x800003 wrote aaaa:aaaa read 0000:0000 at address 0x800004 wrote aaaa:aaaa read fc00:0010 134217728 errors Checkerboard 5...............50 failed at address 0x800000 wrote 5555:5555 read f330:0128 at address 0x800001 wrote 5555:5555 read 0000:0000 at address 0x800002 wrote 5555:5555 read fc00:0008 at address 0x800003 wrote 5555:5555 read 0000:0000 at address 0x800004 wrote 5555:5555 read fc00:0010 134217728 errors All Bits Set.................50 failed at address 0x800000 wrote ffff:ffff read f330:0128 at address 0x800001 wrote ffff:ffff read 0000:0000 at address 0x800002 wrote ffff:ffff read fc00:0008 at address 0x800003 wrote ffff:ffff read 0000:0000 at address 0x800004 wrote ffff:ffff read fc00:0010 134217728 errors All Bits Clear...............50 failed at address 0x800000 wrote 0000:0000 read f330:0128 at address 0x800002 wrote 0000:0000 read fc00:0008 at address 0x800004 wrote 0000:0000 read fc00:0010 at address 0x800006 wrote 0000:0000 read fc00:0018 at address 0x800008 wrote 0000:0000 read fc00:0020 67108864 errors Random Numbers...............50 failed at address 0x800000 wrote baef:79c2 read f330:0128 at address 0x800001 wrote ff4d:84cc read 0000:0000 at address 0x800002 wrote 011b:99b9 read fc00:0008 at address 0x800003 wrote 4b6e:baf2 read 0000:0000 at address 0x800004 wrote 0140:95a5 read fc00:0010 134217728 errors [messia@sanjigen bin]$ 状況は変わらなかった。 ##################################################### DSPボードの使用では256MBまでしかサポートしていない。 ISLEの256MBのメモリーを付けた。 [messia@sanjigen bin]$ ./dspbad -d0 -i1 -tn dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) PC MEMORY INTERFACE TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok DSP SELF TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok [messia@sanjigen bin]$ [messia@sanjigen bin]$ ./dspbad -d0 -i1 -td dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) DSP SELF TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok External Bank 0 Test at 0x800000, Size: 0x4000000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok [messia@sanjigen bin]$ [messia@sanjigen bin]$ ./dspbad -d0 -i1 -tp dspbad: PC Memory interface and DSP self tests Example PCI 32-bit port using GNU C++ (for Linux). Release 7.20 [ DSP21K-SFPK, Dec 5 2003 03:20:42 ], Version 3.04 Copyright (c) 2000-2003 BittWare, Inc. All rights reserved. Testing #1: dsp 1 on Hammerhead (device 0) PC MEMORY INTERFACE TEST Internal Block 0 Test at 0x040000, Size: 0xaaaa 48-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok Internal Block 1 Test at 0x050000, Size: 0x10000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok External Bank 0 Test at 0x800000, Size: 0x4000000 32-bit Words Self-Address.................ok Self-Address Complement......ok Checkerboard A...............ok Checkerboard 5...............ok All Bits Set.................ok All Bits Clear...............ok Random Numbers...............ok [messia@sanjigen bin]$ OK やはりメモリーが悪かったようである。 256MBまでしか対応できていないことも明確になった。