Skip to content

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