-
Notifications
You must be signed in to change notification settings - Fork 95
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
tinyprog no metadata issue uploading #72
Comments
There appears to be a problem with the batch of TinyFPGA-BXs produced July 2023. The some of the boards appears to have the bootload but no metadata. The result is an error when attempting to upload a new program. |
I am reopening this bug to gain more visability as there has been no response from @tinyfpga on how to resolve this issue. |
This issue seems to stem from a change on the memory part from the AT25SF081 to the AT25SF081B which is 99% the same except the address bits for security pages are shifted 4 bits. Unfortunately, the Device ID of both parts is the same, preventing any type of automated detection. After receiving a bunch of those on the company I work for, I have managed to program these units with some hacks to tinyprog. Detailed info in tinyfpga/TinyFPGA-BX#37 (comment) |
When I attempt to upload the TinyFPGA/Blink example using
apio upload
, I receive the errorAfter doing some digging it appears the
tinyprog
script is failing in the_read_metadata
call in some way.When I perform a
tinyprog -m
I get the following output (I added some debug information)tinyprog -l
can locate my tinyfpga-bx board, however is does indicate there is no metadata.I have also attempted this as the
root
user and received the same behavior.The text was updated successfully, but these errors were encountered: