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

DFU debug tool #77

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

DFU debug tool #77

wants to merge 3 commits into from

Conversation

larry-xmos
Copy link
Contributor

I don't suggest this becomes part of main branch, but think it can be a very useful debugging tool

It works as a unit test in that it exercises the actual DFU code. Unlike a regular unit test it runs on hardware so it actually writes/reads the flash.

I based it off version 0.1.2 in VocalFusion Stereo 2.2.2, but it should easily apply in latest 0.2.0

@larry-xmos
Copy link
Contributor Author

@ross indicated he would prefer to leave this open. I've added an enhancement label.

It should not be terribly hard to resurrect. The main idea is to compile host C code for XCore together with its counterpart device code and a thin adapter or mock layer that emulates USB (or any other) transport trivially.

XVF3510 DFU has a test simulation using the same technique.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant