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

apollo_fpga.gateware: do not trigger reconfiguration using flash --fast #83

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

mndza
Copy link
Contributor

@mndza mndza commented Jun 24, 2024

Fixes #79.

Copy link
Member

@mossmann mossmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately this leaves the flash bridge running on the shared USB port. To be consistent with the state diagram, we should hand the port off to Apollo (if the platform has a shared USB port) and then use Apollo to force the FPGA offline. Without doing that, I think the user is stuck in flash bridge mode; they'd have to push a physical button or write some Python to talk to the advertiser to regain control of the Cynthion.

Return control to Apollo instead to match `flash` behavior.
@mndza mndza force-pushed the flash-bridge-no-reconfigure branch from 591d144 to b871346 Compare June 25, 2024 15:56
@mndza
Copy link
Contributor Author

mndza commented Jun 25, 2024

Sorry! I updated the PR to match that behavior.

@mndza mndza requested a review from mossmann June 26, 2024 06:32
Copy link
Member

@mossmann mossmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That works, thank you!

@mossmann mossmann merged commit 25d5b14 into greatscottgadgets:main Jun 26, 2024
11 checks passed
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

Successfully merging this pull request may close these issues.

apollo flash --fast reconfigures FPGA after flashing
2 participants