[riot-notifications] [RIOT-OS/RIOT] On-Chip Debugging for Atmega Based Arduinos (#9572)

Marian Buschsieweke notifications at github.com
Fri Sep 6 15:41:41 CEST 2019


maribu commented on this pull request.



> +is the ~~cheapest~~ least expensive programmer and debugger available that
+supports programming via SPI ("normal ISP"), High Voltage Serial Programming,
+and Parallel Programming, as well as debugging via JTAG, debugWIRE, PDI and
+aWire. So at least can use it for just about every AVR device.
+
+#### Board Modifications
+On the Arduino Uno the RESET pin of the MCU is connected to a 100 nF capacitor,
+which in turn is connected to the ATmega16U2 (or an CH340 TTL Adapter in case of
+most clones). This allows the device to be automatically reseted when you
+connected to the board via a serial. This is particularly useful during
+programming via the bootloader (without external ISP programmer), as avrdude
+can trigger the reset and, thus, start the bootloader without the user having
+to press a button.
+
+In order to use on-chip debugging, the capacitor needs however to be
+disconnected from the reset pin. With the original Arduino Uno this can be done

@aabadie: I forgot this one :-/ That's why the debugging didn't work

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/9572#pullrequestreview-284871422
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190906/bd6bd02b/attachment-0001.htm>


More information about the notifications mailing list