https://github.com/bdring/stk500v2_progpin
stk500v2 bootloader with programming pin feature to stay in bootloader
https://github.com/bdring/stk500v2_progpin
Last synced: over 1 year ago
JSON representation
stk500v2 bootloader with programming pin feature to stay in bootloader
- Host: GitHub
- URL: https://github.com/bdring/stk500v2_progpin
- Owner: bdring
- License: gpl-2.0
- Created: 2015-11-11T13:12:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-11T13:29:20.000Z (over 10 years ago)
- Last Synced: 2025-02-14T05:44:37.590Z (over 1 year ago)
- Language: C
- Size: 0 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
#stk500v2_progpin
This is a minor mofification to the stk500v2 bootloader that shipped with the 1.6.6 Arduino.cc IDE.
The feature allows you to use a switch on a pin to put the bootloader into a mode where it permanently waits
for the firmware upload. This can be used when you cannot use a DTR reset or a power cycle is not practical.
Simply power on the device with the prog_pin connected to ground. The switch can be released after power on without affecting this feature.
The pin used is PORTK Bit 2. This can be changed in stk500boot.c. All code is within #ifdef USE_PROG_PIN preprocessor directives.