Unable to read chip please advice


Rendering Error in layout Widget/Social: Call to a member function exists() on null. Please enable debug mode for more information.
More
8 years 1 week ago - 8 years 1 week ago #3134 by imcool
Hello friends, I have connected chip as per connection below but while I am running command, its giving me error. Please advice, how to troubleshoot?
chip details - A1502 EMC2678
Raspberry pi 3 model B v1.2
ghostlyhaks.com/forum/raspberry-pi/450-raspberry-pi-3-apple-efi-help#3121


Error Log
paste.ubuntu.com/16121960/
Attachments:
Last edit: 8 years 1 week ago by imcool.

Please Log in or Create an account to join the conversation.

More
8 years 1 week ago #3135 by imcool
update:

now I am getting this error


pi@raspberrypi:~/flashrom $ sudo flashrom –r ~/efi/read1.bin -V -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.9-r1954 on Linux 4.1.19-v7+ (armv7l)
flashrom is free software, get the source code at flashrom.org
pi@raspberrypi:~/flashrom $
pi@raspberrypi:~/flashrom $ sudo flashrom –r ~/efi/read1.bin -V -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.9-r1954 on Linux 4.1.19-v7+ (armv7l)
flashrom is free software, get the source code at flashrom.org

Error: Extra parameter found.
Please run "flashrom --help" for usage info.
pi@raspberrypi:~/flashrom $

Please Log in or Create an account to join the conversation.

More
8 years 1 week ago #3141 by CygnusX1

imcool wrote: update:

now I am getting this error


pi@raspberrypi:~/flashrom $ sudo flashrom –r ~/efi/read1.bin -V -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.9-r1954 on Linux 4.1.19-v7+ (armv7l)
flashrom is free software, get the source code at flashrom.org
pi@raspberrypi:~/flashrom $
pi@raspberrypi:~/flashrom $ sudo flashrom –r ~/efi/read1.bin -V -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.9-r1954 on Linux 4.1.19-v7+ (armv7l)
flashrom is free software, get the source code at flashrom.org

Error: Extra parameter found.
Please run "flashrom --help" for usage info.
pi@raspberrypi:~/flashrom $


Try this:
sudo flashrom -p linux_spi:dev=/dev/spidev0.0

If I helped you buy me a latte!

Please Log in or Create an account to join the conversation.

More
8 years 1 week ago - 8 years 1 week ago #3149 by imcool

CygnusX1 wrote:

imcool wrote: update:

now I am getting this error


pi@raspberrypi:~/flashrom $ sudo flashrom –r ~/efi/read1.bin -V -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.9-r1954 on Linux 4.1.19-v7+ (armv7l)
flashrom is free software, get the source code at flashrom.org
pi@raspberrypi:~/flashrom $
pi@raspberrypi:~/flashrom $ sudo flashrom –r ~/efi/read1.bin -V -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.9-r1954 on Linux 4.1.19-v7+ (armv7l)
flashrom is free software, get the source code at flashrom.org

Error: Extra parameter found.
Please run "flashrom --help" for usage info.
pi@raspberrypi:~/flashrom $


Try this:
sudo flashrom -p linux_spi:dev=/dev/spidev0.0

pi@raspberrypi:~ $ sudo flashrom -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.9-r1954 on Linux 4.1.19-v7+ (armv7l)
flashrom is free software, get the source code at flashrom.org




Calibrating delay loop... OK.
No SPI device given. Use flashrom -p linux_spi:dev=/dev/spidevX.Y
Unhandled programmer parameters (possibly due to another failure): dev/spidev0.0
Error: Programmer initialization failed.
pi@raspberrypi:~ $


pi@raspberrypi:~ $ sudo flashrom -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.9-r1954 on Linux 4.1.19-v7+ (armv7l)
flashrom is free software, get the source code at flashrom.org

Calibrating delay loop... OK.
linux_spi_init: failed to open /dev/spidev0.0: No such file or directory
Error: Programmer initialization failed.
pi@raspberrypi:~ $


pi@raspberrypi:~ $ sudo flashrom -r /efi/read1.bin -V -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.9-r1954 on Linux 4.1.19-v7+ (armv7l)
flashrom is free software, get the source code at flashrom.org

flashrom was built with libpci 3.2.1, GCC 4.9.2, little endian
Command line (5 args): flashrom -r /efi/read1.bin -V -p linux_spi:dev=/dev/spidev0.0
Calibrating delay loop... OS timer resolution is 1 usecs, 599M loops per second, 10 myus = 10 us, 100 myus = 101 us, 1000 myus = 999 us, 10000 myus = 10022 us, 4 myus = 5 us, OK.
Initializing linux_spi programmer
Using device /dev/spidev0.0
linux_spi_init: failed to open /dev/spidev0.0: No such file or directory
Error: Programmer initialization failed.
pi@raspberrypi:~ $
Last edit: 8 years 1 week ago by imcool.

Please Log in or Create an account to join the conversation.

More
8 years 1 week ago #3150 by thaGH05T
did you initiate the SPI module?
The following user(s) said Thank You: imcool

Please Log in or Create an account to join the conversation.

More
8 years 6 days ago #3151 by CygnusX1
Yes, be sure you have SPI enabled in the PI setup.

If I helped you buy me a latte!
The following user(s) said Thank You: imcool

Please Log in or Create an account to join the conversation.

More
8 years 6 days ago - 8 years 6 days ago #3152 by imcool

thaGH05T wrote: did you initiate the SPI module?

Yes
Please check the error log, now I am getting Error "NO EEPROM/flash device found."

CygnusX1 wrote: Yes, be sure you have SPI enabled in the PI setup.

yes, its enabled.Please check the error log, now I am getting Error "NO EEPROM/flash device found."
paste.ubuntu.com/16163879/
Last edit: 8 years 6 days ago by imcool.

Please Log in or Create an account to join the conversation.

More
8 years 5 days ago #3153 by CygnusX1

imcool wrote:

thaGH05T wrote: did you initiate the SPI module?

Yes
Please check the error log, now I am getting Error "NO EEPROM/flash device found."

CygnusX1 wrote: Yes, be sure you have SPI enabled in the PI setup.

yes, its enabled.Please check the error log, now I am getting Error "NO EEPROM/flash device found."
paste.ubuntu.com/16163879/


Looks like it's working but you are not getting a good connection somewhere. How long are your wires? Do you have a picture of your setup?

If I helped you buy me a latte!

Please Log in or Create an account to join the conversation.

More
8 years 4 days ago #3155 by imcool

CygnusX1 wrote:

imcool wrote:

thaGH05T wrote: did you initiate the SPI module?

Yes
Please check the error log, now I am getting Error "NO EEPROM/flash device found."

CygnusX1 wrote: Yes, be sure you have SPI enabled in the PI setup.

yes, its enabled.Please check the error log, now I am getting Error "NO EEPROM/flash device found."
paste.ubuntu.com/16163879/


Looks like it's working but you are not getting a good connection somewhere. How long are your wires? Do you have a picture of your setup?


Ohh I see, wires are too long I think, Please see picture, I will resolder them and make them as small as possible.




Please Log in or Create an account to join the conversation.

  • .::iRizwan::.
  • .::iRizwan::.'s Avatar
  • Offline
  • Haxor Guru
  • Haxor Guru
  • One Machine can do the work of 50 ordinary men, No Machine can do the work of 1 extraordinary man
More
8 years 4 days ago - 8 years 4 days ago #3156 by .::iRizwan::.
yes wires are too long.
i normally use 10-15cm long wires.
also wires shouldn't be too thin.

if i helped you Buy me a Coffee
Last edit: 8 years 4 days ago by .::iRizwan::..

Please Log in or Create an account to join the conversation.

Moderators: token.paul

Who's Online

We have 143 guests and no members online

N00BZ

  • ljamal
  • ljamal74
  • mikeg2atest
  • ducchinhbui
  • anjarezt

Cookies