Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Arduino modifications to support DebugWire and easy ISP #99

Open
wants to merge 4 commits into
base: dev206
Choose a base branch
from

Conversation

Virtual-Java
Copy link

Arduino modifications to support DebugWire and easy ISP:

  • SoftwareReset:
    Due to SoftwareReset it is possible to optionally replace the capacitor
    between DTR (pin 20) of the USB MCU and RESET pin (PB6) of the main MCU by a resistor.
    This enables ISP programming without a bypass capacitor of 10 μF
    which is usually needed to be connected to main MCU's RESET and GND.
    Furthermore it does not affect upload to Arduinos with capacitor! (==> enabled by default)

  • PowerSwitch:
    A Mosfet is soldered between +5V and the output of the voltage regulator
    to switch on/off power supply of the main MCU by software running on USB MCU.
    Besides the power supply of the USB MCU is not affected.
    The default VCCEN pin to control the active low p-channel mosfet is PB5. (set to output!!!)
    (PowerSwitch requires one pin to be set to output or at least input/pullup in bootloader and is therefore not included in the hexfiles by default.)

Unfortunately your dev206 branch differs a lot from the master branch which leads to a merge conflict. I did not resolve this; it is your task.

Furthermore it looks like many files have changed because I updated lufa in the same way as you did before.
So users don't need to clone with submodules (git clone --recurse-submodules url) and the version is tied to a specific commit, but at least the last thing can be reached with submodules too.
I do not think a "backup" of a submodule in a separate folder is neither what submodules are intended for nor necessary, but I included both, the submodule and the backup anyway a few months ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant