Hi Yipingwang,
Thanks for the quick and valuable response.
I tried the comp.b and got the the difference as:
=> tftp 0x10000000 u-boot-with-spl-pbl.bin
Using FM1@DTSEC3 device
TFTP from server 10.60.101.187; our IP address is 10.60.101.180
Filename 'u-boot-with-spl-pbl.bin'.
Load address: 0x10000000
Loading: ############################################################
2.7 MiB/s
done
Bytes transferred = 875408 (d5b90 hex)
=> nand read 0x20000000 0 $filesize
NAND read: device 0 offset 0x0, size 0xd5b90
875408 bytes read: OK
=> cmp.b 0x10000000 0x20000000 $filesize
byte at 0x100170b5 (0x0) != byte at 0x200170b5 (0x40)
Total of 94389 byte(s) were the same
=>
Hence it's clearly a mismatching with one byte at 0x100170b5 and 0x200170b5.
Could you please suggest how to resolve this issue and make the CodeWarrior programmer working for NAND flash.
Thanks and Regards,
Awadhesh Singh