This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP-L138 spi write

我用spi启动开发板,进入u-boot命令操作,tftp c0700000 uImage ,然后md c0700000。出现下面

Hit any key to stop autoboot:  0                                                

U-Boot > md 0xc0700000                                                          

c0700000: 56190527 edf33e8a 93acd94f f8d32100    '..V.>..O....!..              

c0700010: 008000c0 008000c0 51cbb308 00020205    ...........Q....              

c0700020: 756e694c 2e322d78 37332e36 00000000    Linux-2.6.37....              

c0700030: 00000000 00000000 00000000 00000000    ................    

然后

U-Boot > sf probe 0                                                            

SF: Detected M25P64 with page size 256, total 8 MiB                            

8192 KiB M25P64 at 0:0 is now current device        

然后

U-Boot >sf erase 200000 200000

U-Boot > sf write 0xc0700000 0x200000 0x200000

U-Boot > md 0x00200000                                                          

00200000: 00000000 00000000 00000000 00000000    ................              

00200010: 00000000 00000000 00000000 00000000    ................              

00200020: 00000000 00000000 00000000 00000000    ................  

不是应该成功将0xc0700000 的内容写入到0x200000。但0x200000不是uImage的内容