Difference between genuine and not genuine adapters

Finally found some spare time to find out what is difference between genuine and not genuine adapter cables and why on non genuine adapters you cannot change diodes lights and id is readed with faults. Take logic analyzer and make some captures to see where are differences. This is screenshot of communication between mac and cable..
On logic analyzer there is option to export in csv and here is csv
Time [s], Analyzer Name, Decoded Protocol Result
-5.635114614000000,1-Wire,RESET condition
0.000000000000000,1-Wire,RESET condition
0.030272580000000,1-Wire,RESET condition
0.030883962000000,1-Wire,PRESENCE condition
0.032112584000000,1-Wire,READ ROM command: [0x33]
0.032972514000000,1-Wire,FAMILY CODE section from ROM: [0x85]
0.033844892000000,1-Wire,ROM CODE section from ROM: [0x1003C085FA77]
0.039132810000000,1-Wire,CRC section from ROM: [0x9B]
0.040018638000000,1-Wire,RESET condition
0.040630228000000,1-Wire,PRESENCE condition
0.041093412000000,1-Wire,SKIP ROM command: [0xCC]
0.041857394000000,1-Wire,DATA: [0x5A]
0.042713522000000,1-Wire,DATA: [0xFE]
0.043576450000000,1-Wire,DATA: [0x01]
0.044425830000000,1-Wire,DATA: [0xAA]
0.045357806000000,1-Wire,DATA: [0x3C]
4.805171162000000,1-Wire,RESET condition
4.805782688000000,1-Wire,PRESENCE condition
4.806852970000000,1-Wire,SKIP ROM command: [0xCC]
4.807966544000000,1-Wire,DATA: [0x5A]
4.809146914000000,1-Wire,DATA: [0xFE]
4.810277236000000,1-Wire,DATA: [0x01]
4.811384058000000,1-Wire,DATA: [0xAA]
4.812506680000000,1-Wire,DATA: [0x3C]
After that sniff communication between arduino and magsafe adapter and find differences.First reset is 480 ms on mac it is 600 ms. It looks that emulation in chineese adapters is not flexible as ds2431 so if we wanna to make tester to read non genuine adapters we must tweak onewire library to read non genuine adapters. After some tweak of times in library finally all is done and you here can download changed arduino library that can be used to read non genuine apple adapters.

Onewire.cpp

Replace Onewire.cpp with this one and you will read non genuine cables.

One Reply to “Difference between genuine and not genuine adapters”

  1. I’m very happy to read this. This is the kind of manual that needs to be given and not the random misinformation that is at the other blogs. Appreciate your sharing this best doc.

Leave a Reply

Your email address will not be published. Required fields are marked *