Skip to contentSkip to conversation

spi_flash_probe returns zero idcodes and hangs

U-Boot Amit Mahadik 1 participant 1 message May 24, 2014

lore
Share & tools
lore
#0 lore raw

Hello All,
? ? ? ? ? ? ? ? I am using a custom ARM based development board running u-boot from PNOR memory. However, it does not have support for the Micron SPI flash memory (N25Q064A). I have added support for the micron memory in drivers/mtd/spi/stmicro.c file and included the flag CONFIG_SPI_FLASH_STMICRO in the config file and recompiled the u-boot source source. Then, ran it directly through RAM memory. The new u-boot ran from RAM. Now when I run sf probe 0 command I get the following output
Got Idcodes 000000: 00 00 00 00 ?and the code hangs after this.?

Please help me regarding this issue.

Regards,
Amit.