Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
andy9a9 committed Mar 17, 2018
1 parent fc60b2f commit 2dd0c17
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Read and write the eeprom of an FX2 chips

### Compile
```
- Install min req Visual studio 2008 or Microsoft .NET Framework 3.5(msbuild) with Windows Driver Kit Version 7.1.0(vsbuild)
- go to msvc directory and run:
- build_fxload.bat for fxload build
- build_pc.bat for read/write eeprom utility
- Output artefacts will be available in Win32 directory
```

### Using
1. Connect device and install WinUSB driver eg. via (http://zadig.akeo.ie/) utility
2. load fx2 FW into device
`fxload.exe -t fx2 -d 0x04b5:0x4032 -i Vend_Ax.hex`
3. Run read/write utility
* read 256B from address 0x00 `eerd.exe eeprom.raw 0x00 0x100`
* write 256B from file `eewr.exe eeprom.raw 0x100`

Over Vend_Ax.hex firmware is possible to read and write 500kB of FPGA.

0 comments on commit 2dd0c17

Please sign in to comment.