No EEPROM/flash device found


Rendering Error in layout Widget/Social: Call to a member function exists() on null. Please enable debug mode for more information.
More
8 years 6 months ago - 8 years 6 months ago #1663 by Rickkap
Not sure if this is the right place for this topic but I'm having problem with it seeing the EEPROM. I have read most of the forum trying to find the solution, which most people have done but don't mention how they have done it.

I've checked the wiring over and over

Pin1 - 24
Pin2 - 21
Pin3 - 17
Pin4 - 25
Pin5 - 19
Pin6 - 23
Pin7 - 17
Pin8 - 17

ran all the sudo commands needed without any problems

sudo raspi-config
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install pciutils
sudo apt-get install libftdi-dev
sudo apt-get install libusb-dev
sudo apt-get install libpci-dev

Downloaded the flashrom from here

sudo git clone github.com/stefanct/flashrom.git

Then entered this

cd flashrom
sudo make
sudo make install
Sudo nano /etc/modprobe.d/raspi-blacklist.conf < empty file

and all I get is No EEPROM/flash device found.

My MBA is a 11" A1466, I've tried the switch in both 1 & 2, still nothing

Even when I run sudo flashrom -p linux_spi:dev=/dev/spidev0.0 I still get No EEPROM/flash device found.

The only thing I'm unsure about is do I need to apply power, from either the battery or the MagSafe, to the board??

What am I doing wrong

Please help !!!
Last edit: 8 years 6 months ago by Rickkap.

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

More
8 years 6 months ago #1664 by CygnusX1
Try it without the WP cable connected .

If I helped you buy me a latte!

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

More
8 years 6 months ago #1665 by Rickkap
Tried it with pin 3 removed and also pin 7, switch in both places still doesn't work - No EEPROM/flash device found

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

More
8 years 6 months ago - 8 years 6 months ago #1666 by CygnusX1
Ok, have you tried sliding the switch to the other position? Also, be sure to disconnect the battery from the logic board!

If I helped you buy me a latte!
Last edit: 8 years 6 months ago by CygnusX1.

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

More
8 years 6 months ago #1667 by Rickkap
Yes tried the switch in both positions and the board I am using has no power from the battery or magsafe

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

More
8 years 6 months ago #1668 by Rickkap
Yes tried the switch in both positions and the board I am using has no power from the battery or magsafe

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

More
8 years 6 months ago - 8 years 6 months ago #1669 by CygnusX1
You don't need any power from the magsafe or the battery. Try connecting the WP wire and the HLD wire. Put the switch to the left (pinout1) then connect the clip to the chip BEFORE powering up the PI. All your pinouts are correct so it may be a bad connection. How long are your wires? Are you also using a 5v 2amp power supply for the PI?

If I helped you buy me a latte!
Last edit: 8 years 6 months ago by CygnusX1.

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

More
8 years 6 months ago #1687 by Rickkap
Ok. I tried what you said, connect clip to MBA and then turn on the PI still doesn't see the EEPROM.

I tried another MBA (as I have 20-30 donor boards) and that didn't work.

I removed pins 3 tried that and then both 3,7 and that doesn't work!!!!

My wired are 6" and I'm using 5v 2.4A adaptor

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

More
8 years 6 months ago #1688 by Rickkap
Right I have found the problem, it is the clip SPI connector which is faulty. If I hold the connector in a certain position it will see the EEPROM...

Is the connector suppose to be loose as this one is, I have to hold it in position because if I would let go it would just pop off!!!!

Please advise where we go from here.

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

More
8 years 6 months ago #1689 by CygnusX1
We are missing something here. Are you connecting the clip the correct way? Don't get upset I am covering all the bases. The wire length is fine, the flashrom looks to be installed correctly and since you tried it on different boards it has to be miswired or the obvious, a bad clip.

If I helped you buy me a latte!

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

More
8 years 6 months ago #1690 by Rickkap
Hi CygnusX1

I have check everything and if I hold the clip in a certain way I can read the EEPROM. To get around this problem I have used my microscope to open the gold contacts a little so that I sits firmly into the socket on my MBA.

All is working for now.

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

More
8 years 6 months ago #1691 by CygnusX1
So you weren't getting a good connection?!

If I helped you buy me a latte!

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

More
8 years 6 months ago #1706 by thaGH05T
i am glad you posted your solution as sometimes it simply falls down to the connection. I always get eye level with a magnification device and physically check each pin. This way I can rule the connection out as a point of failure.

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

More
8 years 6 months ago #1716 by Rickkap
Yes all sorted now... done my first read & write to the EEPROM.

Quick question, I know this is the wrong place for this but, do you have and dumps without the serial numbers on them of which I can copy the string?

The reason I ask is because I have 15 boards that I will be selling and I don't want to have the old serial number on them, I would prefer to sell them serial free and allow the end user to put there number on it. I know there is software that will allow you to do this.

Thanks for your help

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

More
8 years 6 months ago #1719 by thaGH05T
I have plenty that can be found in the downloads section if you specify by EMC and a download button is populated it is in the repos.

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

More
8 years 5 months ago #1731 by Rickkap
Thanks

Can any of these files be written to MBA without me inputting a serial number into them?

If not does anyone have a bin file, doesn't matter what year where if you boot to OS x and go to about this mac the serial number will show Unavailable

Thanks

Rick

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

More
8 years 5 months ago #1736 by thaGH05T
Yes just replace the serial number with an equal string of any kind.

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

More
8 years 5 months ago - 8 years 5 months ago #1763 by ggltech

Rickkap wrote: Hi CygnusX1

I have check everything and if I hold the clip in a certain way I can read the EEPROM. To get around this problem I have used my microscope to open the gold contacts a little so that I sits firmly into the socket on my MBA.

All is working for now.


I think the programming port has some sort of unique raised sections and our clip needs modification for better connection.

I have checked 2010 Macbook Air , 2011 Air both do not have these raised areas.....must be some sort of security measure.


Attachments:
Last edit: 8 years 5 months ago by ggltech.

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

More
8 years 5 months ago #1764 by Dlw51
Replied by Dlw51 on topic No EEPROM/flash device found
Looks like Apple has changed from Molex to HiRose connectors. The center 'key tabs' show clearly on the HiRose data sheet.

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

More
8 years 5 months ago #1770 by thaGH05T
Send me a link to the datasheet please, so I can compare them...

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

Who's Online

We have 172 guests and no members online

N00BZ

  • ljamal
  • ljamal74
  • mikeg2atest
  • ducchinhbui
  • anjarezt

Cookies