-
Notifications
You must be signed in to change notification settings - Fork 573
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
Spi flash quad read not working with the ulx3s #2064
Comments
The line "spiflash_master_write(0x00014307, 3, 1, 0x1);" in spiflash.c is not successfully putting the IS25LP128 FLASH into quad mode.
Now I get the following:
|
The full changes I made to spiflash.c are as follows:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I build litex with the option --with-spi-flash, the flash returns all 0xff
I then uncommented the line #define SPIFLASH_DEBUG in spiflash.c and re-built.
On boot up I got the following:
The flash region was all 0xff
When I changed the line in test_ulx3s_target.py from
to
I got the following:
The flash region was no longer all 0xff
Is there something else that needs to be done to use spi quad mode to read the flash?
The test project is attached
test2.gz
The text was updated successfully, but these errors were encountered: