-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |