work without closed source library
Opened this issue · 2 comments
orangecms commented
It would be simpler to not have to call into a closed-source library with unknown behavior - and for Linux, to have an out-of-tree kernel module. At the same time, we'd need documentation for the chip to be certain. This implementation seems fine for SPI flash at least:
https://github.com/981213/ch347-nor-prog
ma6254 commented
ok, i'm trying
nic3-14159 commented
I am working on fully documenting the chip such that fully open code can be written. So far I have the SPI interface in mode 1 mostly documented (still need to push some details though). The code in the ch347-nor-prog repo does seems to contain a couple more details than I have found, I'll have to look into it more.
https://github.com/nic3-14159/CH347-Research