Closed exikyut closed 1 year ago
Hello,
If you remove the "embed" package the pre-assembled 8051 code won't be loaded into the arrays. Embed is used to read the files from this directory and add them tot he program: https://github.com/BertoldVdb/ms-tools/tree/main/mshal/asm
Just update your go version and it should work. Go is provided as a standalone package so you can just download it and use the included go binary: https://go.dev/dl/
The 8051 core handles the USB control endpoint and implements UVC controls. It is also responsible for acquisition of the TV signal. This is all done by the ROM, the user firmware can extend the functionality.
Sincerely, Bertold
PS: If you run the command with --no-patch it does not need embed. Depending on what you want to do it can be enough.
Was idly poking around after learning my USB capture dongle is MS2109-based and found this repo. Unfortunately didn't get very far :( and thought you might like to know. I had to remove
_ "embed"
from a couple of places so perhaps the problem below (see end of code block) is a "newer Go version" niggle as well.(I'm also incidentally curious about the firmware you wrote for the MS2106, and what the 8051's role is.)