Closed NeuerUser closed 5 years ago
This should be fixed in the current repo by the line line "flashcfg_data = flash_data" in main.v. Please double check that you have this line, git pull otherwise, and let me know if this is still an issue.
Yes, I can confirm that this line is in main.v. And the version and buildtime show that this design is really loaded on the board.
Looking over this again, it looks like I read it too fast.
Can you provide a copy of whatever's going on in the netuart output when the design fails?
Thanks!
Dan
yeah, tons of
< R
> Rffffffff
< R
> Rffffffff
< R
> Rffffffff
< R
> Rffffffff
< R
> Rffffffff
< R
> Rffffffff
Ok, that means its still going. It's likely in the process of verifying the erase, or perhaps checking if the next sector needs to be erased.
Specifically, "R" is a command from the host to the device, asking it to read either the same address or the next address (depending on the start of the operation. The device responds with "Rffffffff" saying that it has read the value, and it is an 0xffffffff
So ... it's working, just slowly.
I'm going to close this "flash" issue as well. The design is worked as it was intended, it is just horrendously slow across the debugging bus. I'd like to come back and speed it up, but that should really be filed under another issue.
Hi Dan
As you already mentioned, there is an issue with the flash controller not recognizing the finished erase cycle. I thought I could make sense to follow that issue with a separate issue. So, here is the info:
[not finishing at all even after 20 min]
A second start then recognizes that the flash is erased and starts writing.