with one buffer in ringbuffer it seems to work.
-rw-r--r-- 151 .gitignore
-rw-r--r-- 327 Makefile.am
-rwxr-xr-x 1692 bootstrap.sh
-rw-r--r-- 2631 configure.ac
-rw-r--r-- 43724 flashsupport.c