AnsweredAssumed Answered

Boundary SABRE Lite i.MX6: is my SPI Flash broken or is U-Boot?

Question asked by Louis Koziarz on Jan 24, 2013
Latest reply on Apr 5, 2013 by Louis Koziarz

Hi all,


I was hoping someone out there has some experience with the SPI Flash EEPROM on the new Boundary SABRE Lite board.

 

In the process of practicing with U-boot and the loader I've apparently messed up the SPI Flash on the board.  No big deal, so I'm rebooting in USB OTG mode and running U-Boot out of RAM.  When I try to run the 6q_upgrade script off of SD to reflash the board, it fails. 


It seems that spi_flash.c isn't getting the manufacturer code back from the Flash at the correct time.  I've recompiled with DEBUG and If I run the probe alone, I get the manufacturer code:

 

U-Boot > sf probe

SF: Got idcodes

00000000: bf 25 41 bf 25    .%A.%

SF: Detected SST25VF016B with page size 4 KiB, total 2 MiB

 

But if I run "sf probe 1" as the 6q_upgrade script likes to do, I get this:

 

U-Boot > sf probe 1

SF: Got idcodes

00000000: 00 00 00 00 00    .....

SF: Unsupported manufacturer 00

Failed to initialize SPI flash at 0:1

 

and just for kicks...

 

U-Boot > sf probe 0

SF: Got idcodes

00000000: 00 00 00 00 00    .....

SF: Unsupported manufacturer 00

Failed to initialize SPI flash at 0:0

 

Anyone have any ideas?

 

Thanks,

Louis Koziarz

 

 

 

 

 

Outcomes