DFU debug tool#77
Open
larry-xmos wants to merge 3 commits into
Open
Conversation
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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