Hii find a way to debug my code. if the nand_read work there only one led on,
if there is something wrong the two led will blink.
now it is tow led blink.
it something wrong here:
if ((start_addr & NAND_BLOCK_MASK) || (size & NAND_BLOCK_MASK))
return -1; /* invalid alignment */i use "dfu-util -a 0 -R -D ./led_on nand write.e 0x32000000 0 0x1000" download a image to the nand. then when i want read this image from nand, is it the start_addr is 0x32000000?
