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

Unknown command type 79 when parsing ECP5 bit file #324

Closed
jeremyherbert opened this issue Mar 4, 2023 · 3 comments
Closed

Unknown command type 79 when parsing ECP5 bit file #324

jeremyherbert opened this issue Mar 4, 2023 · 3 comments

Comments

@jeremyherbert
Copy link

I am trying to build and flash the example here: https://github.com/orangecrab-fpga/orangecrab-examples/tree/main/litex

When I try to flash the file using openFPGALoader -c orbtrace orangecrab.bit, I get the following output:

Found 1 compatible device:
	0x1209 0x3443 0x3 Orbtrace
Open file: DONE
Unknown command type 79.

Parse file: FAIL
Error: Failed to program FPGA: std::exception

I am using the latest git master version of this tool. Please also see the bit file attached.
orangecrab.bit.zip

@trabucayre
Copy link
Owner

True:
with this gateware ecppack is called with --spimode qspi. This option adds instruction 0x79 (SPI_MODE) followed by one byte (spi mode operation), followed by 2 blank bytes.
Fixed by this commit

@jeremyherbert
Copy link
Author

Thanks! I can confirm that it is fixed by that commit.

@trabucayre
Copy link
Owner

Thanks for your feedback and to point this error!

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