paparazzi/luftboot — pull request #2 by scdwyer (2012-09-22 23:01:01+00:00)
Title: changed behaviour of luftboot to better match LPC21xx bootloader:

* thanks to softsr (sergey krukowski) for starting the work
* first checks if bootloader forced from application with a soft reset
* then checks if bootloader should be skipped with jumper, same pin as previous force bootloader pin
* then checks if usb vbus has power - if it does, force the bootloader
* if none of these, skips the bootloader
* after a dfu application download, a usb soft disconnect is triggered and the usb peripheral is shut down by disabling the clock, then if the application if valid, it jumps to the start, otherwise it resets

Would be great if someone could test, especially with non-usb power. Comments/concerns welcome.