各位大神,请帮忙瞧瞧。
第一步:
我用evmdm6437_v2\tests\video_colorbars\Debug\video_colorbars.out
通过
Y:\work\TI\dm6437\flashburn\spraag0e\ais_utility\bin>genAIS.pl -otype bin -i vid
eo_colorbars.out -o video_colorbars_nand.bin -bootmode nand
AIS File Generation Complete
生成video_colorbars_nand.bin
第二步:配置NAND boot 拔码,通过CCS3.3连接DM6437 EVM板子,加载evmdm6437.gel
Boot Mode Reader:
> [Boot Mode]: NAND Boot
> [Fast Boot]: Yes
> [Bus Width]: 8-bit
> [PCI] : OFF
> [Endianess]: Little Endian
> [AEAW][4] : EMIFA ADDR[20:0]
> [AEM] [1] : [EMIFA 8-bit][CCDC 16-bit][VENC 8-bit]
第三步:通过spraag0e\Sample NAND Secondary Boot\NANDWriter\build\Debug\NANDWriter.out
烧写video_colorbars_nand.bin, 就出现了以下错误:
Starting test of NAND Flash...
Starting NANDWriter.
Initializing NAND flash...
Manufacturer ID = 0x00000020
Device ID = 0x00000076
Pages Per Block = 0x32
Number of Blocks = 0x4096
Bytes Per Page = 0x512
Total blocks: 4096
Total pages: 131072
Total bytes: 67108864
Enter the File Name
Y:\work\TI\dm6437\flashburn\spraag0e\ais_utility\bin\video_colorbars_nand.bin
Number of blocks needed for writing: 0x00000002
Attempting to start in block number 0x00000001
Erasing blocks 0x00000001 through 0x00000002.
Writing 512 bytes of data:
Data mismatch! Verification failed.
Block = 1
Page = 0
i = 0
src[i] = 0
dest[i] = 0
NAND_VerifyPage() failed.
Skipping bad block at block number :1:
Attempting to start in block number 0x00000002
Erasing blocks 0x00000002 through 0x00000003.
Writing 512 bytes of data:
Data mismatch! Verification failed.
Block = 2
Page = 0
i = 0
src[i] = 0
dest[i] = 0
NAND_VerifyPage() failed.
Skipping bad block at block number :2:
Attempting to start in block number 0x00000003
Erasing blocks 0x00000003 through 0x00000004.
Writing 512 bytes of data:
Data mismatch! Verification failed.
Block = 3
Page = 0
i = 0
src[i] = 0
dest[i] = 0
NAND_VerifyPage() failed.
Skipping bad block at block number :3:
Attempting to start in block number 0x00000004
Erasing blocks 0x00000004 through 0x00000005.
Writing 512 bytes of data:
Data mismatch! Verification failed.
Block = 4
Page = 0
i = 0
src[i] = 0
dest[i] = 0
NAND_VerifyPage() failed.
Skipping bad block at block number :4:
Attempting to start in block number 0x00000005
Erasing blocks 0x00000005 through 0x00000006.
Writing 512 bytes of data:
Data mismatch! Verification failed.
Block = 5
Page = 0
i = 0
src[i] = 0
dest[i] = 0
NAND_VerifyPage() failed.
Skipping bad block at block number :5:
Warning! Write Failed
: Writing data failed!! Error code = 276942744.