[U-Boot-Users] SPI EEPROM on MBX problem
Antonio Di Bacco
antonio.dibacco at aruba.it
Sat Mar 18 21:35:45 CET 2006
I'm trying to make a work an SPI EEPROM connected to the expansion connector
of an old MBX board featuring MPC860EN processor. I used the spi.c driver in
u-boot with no results, then I tried applying the patch from Gurevitch but
nothing. Could I have problems with relocation of DPRAM for SPI?
I double checked all the connections to the SPI EEPROM and it seems ok, when
configuring the SPIMISO, SPIMOSI, SPICLK and SPISEL as GPIO active output I
can measure a right voltage level on these pins when I write something to
Port B data register. Unfortunately I have a not an oscilloscope to see what
happen when I use the sspi command like this:
sspi 0 8 05 (for Gurevitch patch)
05 is the code read a configuration register.
Sometimes the EEPROM answer FF, some others 00 , it is completely randomic.
More information about the U-Boot