dfu-programmer/dfu-programmer — pull request #10 by swinman (2014-08-26 18:07:56+00:00)
Title: Error codes

I want to use dfu-programmer to write a large data section directly into the flash on my chip. I'm creating a hex file that sets an offset to a region that my program code doesn't otherwise use. When I program and validate I will get an error that although the image does validate within the region I just programmed, it does not validate (is not blank) outside that region. This is the expected behavior so I want to use return codes to suppress the error. I added some return codes to arguments.h and started to use them in write / read / validate