A library based on GNU ubi-utils. It allows you to easily write a custom ubi programmer.