I'm using the original usbasploader.
I wanted two mods:
1. Not need to use a program button/jumper (always go into the loader when reset is hit, but not power up)
2. I timeout that would jump to the user code if no program was loaded
The first item was simple enough with one simple mod (I made BootLoaderCondition return 1).
Before working on #2, I noticed this fork project:
I see it has lots of options (which is great).
I've been playing with the following options to accomplish the above, but just can't get it to work.
To ignore the button, it requires I enable both BOOTLOADER_ALWAYSENTERPROGRAMMODE and BOOTLOADER_IGNOREPROGBUTTON.
However in that case there are two bad side effects:
1. It goes into the boot loader at power-up.
2. If it does into the boot loader (from either power up or reset) it never exits
If I don't enable the above options, then it just never enters the boot loader.
Does anyone know the right combination of settings to go into the loader on reset only AND ignore the prog button AND timeout?
General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
1 post • Page 1 of 1