-
Notifications
You must be signed in to change notification settings - Fork 22
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
device reporting r0.0 revision #138
Comments
Can you show us the output of |
No change in dmesg when pressing program. |
Thank you! LEDs 0-5 are normally in that state (dim but with some brighter than others) when the FPGA is offline (which is indicated by LED B being off). It looks like the Apollo firmware on your Cynthion's MCU is generally working, but for some reason it is unable to detect the board revision. Can you please try installing this experimental firmware?: https://github.com/mossmann/apollo/actions/runs/9940795202/artifacts/1702047943 To install, extract
Alternatively, if you would like to build the firmware from source, you can use this branch: https://github.com/mossmann/apollo/tree/adc-debug This experimental firmware hard-codes the board revision to r1.4 and also provides a method to retrieve the ADC value that is normally used to detect the board revision. |
That seems to have fixed it, let me know if there's any more info you need to try and root cause the problem. |
I think that firmware should work fine for you. However, things will likely break again the next time you do a firmware update. I suspect that there is hardware failure preventing automatic hardware revision detection. Can you please show me the output of this test program? #!/usr/bin/env python3
#
# for use with experimenatal firmware only
from apollo_fpga import ApolloDebugger
import usb
d=ApolloDebugger(force_offline=True)
reading = d.device.ctrl_transfer(usb.ENDPOINT_IN | usb.RECIP_DEVICE | usb.TYPE_VENDOR, 0xff, 0, 0, 2)
print((reading[0] << 8) + reading[1]) |
I'm running to a very similar issue. I was not able to get the
dmesg output
output of the test python script |
@ConceitedCode Can you please run |
Sure thing!
|
@ConceitedCode That looks as expected. Hardware version detection is working on your board. What problem are you having? |
I wasn't able to connect using the Updating to the experimental firmware you provided above resolved the immediate issue. Just making sure it won't have a problem if I update the board later like you mentioned above 🙂 Side note - Is my flash UID supposed to be all 0's? |
3266 |
Thank you! That is great information! Those numbers are only slightly outside the expected range, so we may be able to fix this in firmware, though we would also need to widen the designed range in future revisions. |
@nsluhrs This should be fixed for you in the next release of Apollo and Cynthion. |
Hello,
my device is reporting an incorrect hardware revision.
This seems to lead to the flasher not finding the right bitstream causing update to not work.
The text was updated successfully, but these errors were encountered: