sf probe return error code -2 and -19 on LX2160A-TCD platform

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

sf probe return error code -2 and -19 on LX2160A-TCD platform

1,175 Views
andy_ueng
Contributor I

I use sf probe to display NOR flashes information on LX2160A-TCD platform. It only shows Micron n25q128a11 communicate through FlexSPI. But it can't shows two Winbond W25Q32JV communicate through SPI.

The following is log messages of sf probe.

=> sf probe 0:0
SF: Detected n25q128a11 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
=> sf probe 0:1
unrecognized JEDEC id bytes: 00, 00, 00
Failed to initialize SPI flash at 0:1 (error -2)
=> sf probe 1:0
Invalid bus 1 (err=-19)
Failed to initialize SPI flash at 1:0 (error -19)

0 Kudos
1 Reply

1,168 Views
andy_ueng
Contributor I

I have fixed this issue by enabling Freescale DSPI dirver through "make menuconfig" command.

0 Kudos