crucial bug in libusb repaired
read write registers api in stlink