Releases: elfmimi/libfx2
ez-dap-rc
CMSIS-DAP ported to CY7C68013A EZ-USB FX2LP
PB7: SWCLK
PB5: SWDIO
use https://pypi.org/project/fx2/ to do the followings.
To load it temporarily for trial run:
python -m fx2.fx2tool -d 04B4:8613 load ez-dap.hex
To rewrite the EEPROM after proper operation is confirmed:
python -m fx2.fx2tool -d 04B4:8613 -B program -V 04B4 -P 8613 -W 2 -f ez-dap.hex
you'll need to unplug and re-plug it afterward.
In case of Linux, you may need to unload usbtest kernel module.
modprobe -r usbtest
This command requires root privilege.
ez-dap-preview
CMSIS-DAP ported to CY7C68013A EZ-USB FX2LP
PB7: SWCLK
PB5: SWDIO
use https://pypi.org/project/fx2/ to do the followings.
To load it temporarily for trial run:
python -m fx2.fx2tool -d 04B4:8613 load ez-dap.hex
To rewrite the EEPROM after proper operation is confirmed:
python -m fx2.fx2tool -d 04B4:8613 -B program -V 04B4 -P 8613 -W 2 -f ez-dap.hex
you'll need to unplug and re-plug it afterward.