- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Env: Ubuntu 20.04, SDK1.3.4_linux
The thing is no matter use cyusb_linux or download_fx3, flash programmer can be loaded to RAM successfully, but the SPI part failed. the terminal log is as below
```
➜ cyusb_linux_1.0.5 ./bin/cyusb_linux
Found FX3 flash programmer
SPI sector erase failed
Failed to erase SPI flash
Thanks in advance!
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
After replacing the cyfxflashprog.img, cyusb_linux works properly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the control center(windows) seems work for me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Finally, I found download_fx3 works for me, please close this thread.
the solution is building the cyfxflashprog in cyfx3sdk/firmware/basic_examples/cyfxflashprog yourself instead using the prebuilt cyusb_linux_1.0.5/fx3_images/cyfxflashprog.img. I guess the cyusb_linux directly uses the prebuild flashprog
```
download_fx3 -t RAM -i ./cyfxflashprog.img
download_fx3 -t SPI -i ./test.img
```
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for the update. Glad to here the the problem is resolved
Please let me if replacing the newly build cyfxflashprog.img with prebuild cyfxflashprog.img helps to program SPI flash with cyusb_linux
Please take a backup of prebuild cyfxflashprog.img before replacing with newly build image.
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
After replacing the cyfxflashprog.img, cyusb_linux works properly