给omapl138中焼写程序,之前我的工程.out文件只有300k,生成的.bin文件只有60k,可以正常焼写进板子,现在我的程序中添加了lwip库,.out文件变成了600k,是以前的2倍,生成的.bin文件也是之前的2倍120k,这时候焼写失败,nandwrite提示:
Number of blocks needed for data: 0x1
Attempting to start write in block number 0x1.
Unprotecting blocks 0x1 through 0x1.
Erasing block 0x1 through 0x1.
Writing image data to Block 0x1, Page 0x0
Data verification failed! Block: 0x1 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x1 through 0x1.
Attempting to start write in block number 0x2.
Unprotecting blocks 0x2 through 0x2.
Erasing block 0x2 through 0x2.
Writing image data to Block 0x2, Page 0x0
Data verification failed! Block: 0x2 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x2 through 0x2.
Attempting to start write in block number 0x3.
Unprotecting blocks 0x3 through 0x3.
Erasing block 0x3 through 0x3.
Writing image data to Block 0x3, Page 0x0
Data verification failed! Block: 0x3 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x3 through 0x3.
Attempting to start write in block number 0x4.
Unprotecting blocks 0x4 through 0x4.
Erasing block 0x4 through 0x4.
Writing image data to Block 0x4, Page 0x0
Data verification failed! Block: 0x4 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x4 through 0x4.
Attempting to start write in block number 0x5.
Unprotecting blocks 0x5 through 0x5.
Erasing block 0x5 through 0x5.
Writing image data to Block 0x5, Page 0x0
Data verification failed! Block: 0x5 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x5 through 0x5.
Attempting to start write in block number 0x6.
Unprotecting blocks 0x6 through 0x6.
Erasing block 0x6 through 0x6.
Writing image data to Block 0x6, Page 0x0
Data verification failed! Block: 0x6 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x6 through 0x6.
Attempting to start write in block number 0x7.
Unprotecting blocks 0x7 through 0x7.
Erasing block 0x7 through 0x7.
Writing image data to Block 0x7, Page 0x0
Data verification failed! Block: 0x7 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x7 through 0x7.
Attempting to start write in block number 0x8.
Unprotecting blocks 0x8 through 0x8.
Erasing block 0x8 through 0x8.
Writing image data to Block 0x8, Page 0x0
Data verification failed! Block: 0x8 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x8 through 0x8.
Attempting to start write in block number 0x9.
Unprotecting blocks 0x9 through 0x9.
Erasing block 0x9 through 0x9.
Writing image data to Block 0x9, Page 0x0
Data verification failed! Block: 0x9 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x9 through 0x9.
Attempting to start write in block number 0xA.
Unprotecting blocks 0xA through 0xA.
Erasing block 0xA through 0xA.
Writing image data to Block 0xA, Page 0x0
Data verification failed! Block: 0xA page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0xA through 0xA.
Attempting to start write in block number 0xB.
Unprotecting blocks 0xB through 0xB.
Erasing block 0xB through 0xB.
Writing image data to Block 0xB, Page 0x0
Data verification failed! Block: 0xB page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0xB through 0xB.
Attempting to start write in block number 0xC.
Unprotecting blocks 0xC through 0xC.
Erasing block 0xC through 0xC.
Writing image data to Block 0xC, Page 0x0
Data verification failed! Block: 0xC page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0xC through 0xC.
Attempting to start write in block number 0xD.
Unprotecting blocks 0xD through 0xD.
Erasing block 0xD through 0xD.
Writing image data to Block 0xD, Page 0x0
Data verification failed! Block: 0xD page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0xD through 0xD.
Attempting to start write in block number 0xE.
Unprotecting blocks 0xE through 0xE.
Erasing block 0xE through 0xE.
Writing image data to Block 0xE, Page 0x0
Data verification failed! Block: 0xE page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0xE through 0xE.
Attempting to start write in block number 0xF.
Unprotecting blocks 0xF through 0xF.
Erasing block 0xF through 0xF.
Writing image data to Block 0xF, Page 0x0
Data verification failed! Block: 0xF page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0xF through 0xF.
Attempting to start write in block number 0x10.
Unprotecting blocks 0x10 through 0x10.
Erasing block 0x10 through 0x10.
Writing image data to Block 0x10, Page 0x0
Data verification failed! Block: 0x10 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x10 through 0x10.
Attempting to start write in block number 0x11.
Unprotecting blocks 0x11 through 0x11.
Erasing block 0x11 through 0x11.
Writing image data to Block 0x11, Page 0x0
Data verification failed! Block: 0x11 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x11 through 0x11.
Attempting to start write in block number 0x12.
Unprotecting blocks 0x12 through 0x12.
Erasing block 0x12 through 0x12.
Writing image data to Block 0x12, Page 0x0
Data verification failed! Block: 0x12 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x12 through 0x12.
Attempting to start write in block number 0x13.
Unprotecting blocks 0x13 through 0x13.
Erasing block 0x13 through 0x13.
Writing image data to Block 0x13, Page 0x0
Data verification failed! Block: 0x13 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x13 through 0x13.
Attempting to start write in block number 0x14.
Unprotecting blocks 0x14 through 0x14.
Erasing block 0x14 through 0x14.
Writing image data to Block 0x14, Page 0x0
Data verification failed! Block: 0x14 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x14 through 0x14.
Attempting to start write in block number 0x15.
Unprotecting blocks 0x15 through 0x15.
Erasing block 0x15 through 0x15.
Writing image data to Block 0x15, Page 0x0
Data verification failed! Block: 0x15 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x15 through 0x15.
Attempting to start write in block number 0x16.
Unprotecting blocks 0x16 through 0x16.
Erasing block 0x16 through 0x16.
Writing image data to Block 0x16, Page 0x0
Data verification failed! Block: 0x16 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x16 through 0x16.
Attempting to start write in block number 0x17.
Unprotecting blocks 0x17 through 0x17.
Erasing block 0x17 through 0x17.
Writing image data to Block 0x17, Page 0x0
Data verification failed! Block: 0x17 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x17 through 0x17.
Attempting to start write in block number 0x18.
Unprotecting blocks 0x18 through 0x18.
Erasing block 0x18 through 0x18.
Writing image data to Block 0x18, Page 0x0
Data verification failed! Block: 0x18 page: 0x0. First Failing Byte: 0x0
Verify failed. Attempting to clear page
Erasing block 0x18 through 0x18.
Attempting to start write in block number 0x19.
Unprotecting blocks 0x19 through 0x19.
ERROR: Write failed.
NAND flashing failed!
我是用AISgen for D800k008 Bootloader v1.9转换的,也试过用mkhex4bin.exe直接把.out转换成.bin,但转出来的.bin文件将近2G,更是没法用
请问怎么让代码的体积变小?或者我要怎么做才能把程序烧进板子?还有,哪里能找到 AISgen的user guide,我找了半天也没找到。。。
希望尽快得到答复,谢谢!