Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error writing to flash #268

Closed
Onicc opened this issue Nov 4, 2022 · 4 comments
Closed

Error writing to flash #268

Onicc opened this issue Nov 4, 2022 · 4 comments

Comments

@Onicc
Copy link

Onicc commented Nov 4, 2022

Hi,

I write bitstream to RAM everything works fine, but write to flash I get an error.

$ openFPGALoader -c ft232 -b zybo_z7_20 -f led_twinkle.bit
write to flash
Board default cable overridden with ft232
Jtag frequency : requested 6.00MHz   -> real 6.00MHz  
Open file DONE
Parse file DONE
use: /usr/local/share/openFPGALoader/spiOverJtag_xc7z020clg400.bit.gz
Error: fail to open /usr/local/share/openFPGALoader/spiOverJtag_xc7z020clg400.bit.gz
Error: Failed to program FPGA: Error: fail to open /usr/local/share/openFPGALoader/spiOverJtag_xc7z020clg400.bit.gz

Host: Ubuntu20.04 amd64
Board: xc7z020clg400-2

@trabucayre
Copy link
Owner

As mentionned in the documentation write to flash is not available through JTAG. The SPI Flash is connected to the PS part and can't be acceded from FPGA.
I'm agree the error is not explicit for this specific case and a check must be done at CTOR level with a better error message.

@trabucayre
Copy link
Owner

with commit openFPGALoader will no more tried wrongly to write bitstream for xc7z devices.

@trabucayre
Copy link
Owner

It's good to you? can I close it?

@Onicc
Copy link
Author

Onicc commented Dec 5, 2022

Yes, it's safe to close this issue, added error messages are more appropriate.

@Onicc Onicc closed this as completed Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants