doc: add EEPROM programming

This commit is contained in:
King Kévin 2022-12-21 02:13:07 +01:00
parent 7f3c5024ad
commit c91917f370
1 changed files with 19 additions and 0 deletions

View File

@ -148,3 +148,22 @@ sudo uhubctl
# switch of port
uhubctl --action off --location 1-1.4 --ports 5
~~~
EEPROM
======
the USB2517 USB hub chip gets its configuration from an EEPROM.
to generate the configuration:
~~~
ruby eeprom.rb
~~~
this will create the `eeprom.bin` binary file.
feel free to adjust the configuration in the generating script.
after having soldered all the parts on the board, connect a programmer (here a MiniPRO TL866xx) on the J4 pin header to write the AT24C02 EEPROM:
~~~
minipro --device "AT24C02@SOIC8" --write eeprom.bin -s
~~~