
13 Mar
2013
13 Mar
'13
11:10 p.m.
I am working with a board derived from mx53loco. We have SPI NOR on ECSPI1, and are using U-Boot u-boot-2013.04-rc1.
I appear to be having some trouble mapping the device in correctly. I am able to use 'sf probe 0', and using a logic analyzer, we can see the SPI transaction run correctly to ID the device; the command is sent out, CS remains active, and then we see the device ID stream back. However, the read FIFO for SPI controller always reads zero. I have "debug" enabled in <mxc_spi.c>, as well as many of mine own printf()'s, and the end result shows that read FIFO to be zero after we see the correct transaction on the wire.
Does anyone have an example, or tips, of how to map in SPI NOR with this version of U-Boot on i.MX53?
Thanks,
tom