dfu-util will log MOST debug things on stderr (when running with -v -v -v) with just a few exceptions on stdout. (I redirected stdout to a file for bug #4, and ended up with only a few bytes).
Erasing page size 2048 at address 0x0800c000, page starting at 0x0800c000
Poll timeout 40 ms
Poll timeout 40 ms
Download from image offset 0000c000 to memory 0800c000-0800c7ff, size 2048
Setting address pointer to 0x0800c000
Poll timeout 72 ms
Poll timeout 72 ms
Erasing page size 2048 at address 0x0800c800, page starting at 0x0800c800
Poll timeout 40 ms
Poll timeout 40 ms
Download from image offset 0000c800 to memory 0800c800-0800cfff, size 2048
Setting address pointer to 0x0800c800
Poll timeout 72 ms
Poll timeout 72 ms
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems that dfu-util prints all information/verbose/debug to stdout, unless there is an error or warning. OTOH libusb might print debug output to stderr.
For now, use e.g > file.log 2>&1
Last edit: Tormod Volden 2015-09-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the note. Can you please post what you got on stdout? I will also take a look myself.
stdout has:
It seems that dfu-util prints all information/verbose/debug to stdout, unless there is an error or warning. OTOH libusb might print debug output to stderr.
For now, use e.g > file.log 2>&1
Last edit: Tormod Volden 2015-09-11
This was improved in https://sourceforge.net/p/dfu-util/dfu-util/ci/69c0f062c75bd85ba8f3d8e12835fac08ed53898/