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 info and flash-info error when stub is found #81

Closed
Tracked by #104
mossmann opened this issue Jun 21, 2024 · 0 comments
Closed
Tracked by #104

apollo info and flash-info error when stub is found #81

mossmann opened this issue Jun 21, 2024 · 0 comments
Assignees

Comments

@mossmann
Copy link
Member

$ apollo info
Traceback (most recent call last):
  File "/home/mossmann/src/cynthion/cynthion/python/venv/bin/apollo", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/mossmann/src/apollo/apollo_fpga/commands/cli.py", line 405, in main
    device = ApolloDebugger(force_offline=force_offline)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mossmann/src/apollo/apollo_fpga/__init__.py", line 99, in __init__
    raise DebuggerNotFound("Apollo stub interface found. "
apollo_fpga.DebuggerNotFound: Apollo stub interface found. Switch the device to Apollo mode or add the `--force-offline` option.

I think it would be nicer to output the USB product, manufacturer, and serial strings, provide the information about --force-offline, and exit normally.

@mossmann mossmann self-assigned this Jul 5, 2024
@mossmann mossmann mentioned this issue Jul 5, 2024
2 tasks
mossmann added a commit to mossmann/apollo that referenced this issue Jul 9, 2024
mossmann added a commit to mossmann/apollo that referenced this issue Jul 20, 2024
mossmann added a commit to mossmann/apollo that referenced this issue Jul 23, 2024
mossmann added a commit to mossmann/apollo that referenced this issue Jul 23, 2024
mossmann added a commit to mossmann/apollo that referenced this issue Jul 23, 2024
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

No branches or pull requests

1 participant