Skip to content

0wwafa/fx2eeprom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read and Write the eeprom of an fx2 chip with the vend_ax.hex firmware


COMPILE
-------
- Install libusb-dev or libusb-1.0-0-dev (rPI) on your system.
- (Optional) Install fxload
- Run make


USE
---
1) Mount the usbfs
mount -t usbfs usbfs /proc/bus/usb

2) Download the fw
fxload -I vend_ax.hex  -D /proc/bus/usb/002/011  -t fx2 -v

3) Run fx2eeprom
3a)Read example
./fx2eeprom r 0x123 0x234 45 > eeprom.raw
3b)Write example
cat eeprom.raw | ./fxeeprom w 0x123 0x234 45 > eeprom.raw



vend_ax.hex came is property of Cypress

About

FX2 EZ USB eeprom reader/writer for libusb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.5%
  • Dockerfile 2.9%
  • Makefile 1.6%