Debugging an Arduino Sketch Running on an Uno

preview_player
Показать описание
How to build a hardware debugger that allows you to debug Arduino programs running on an Arduino Uno or ATtiny in 4 easy steps.

Table of Contents:
00:26 - Motivation
01:32 - GDB: The GNU Project Debugger
01:44 - Embedded Debugging
05:04 - Step 1: Install PlatformIO
08:31 - Step 2: Install firmware for HW debugger
11:08 - Step 3: Connect debuggger to target
16:42 - Step 4: Start debugging
Рекомендации по теме
Комментарии
Автор

I would like to say a "Huge Thank You"
I have this working with Eclipse IDE under windows

PCarew
Автор

We need more of such consistent videos.

daCount
Автор

What an excellent video! . I used to use Atmel Studio for debugging and never use arduino for its lack of debugging, but now this open tons of new possibilities. Thank you for sharing this information

keen
Автор

Please post part 2 as soon as possible

mmfloom
Автор

Thanks for this insightful deep dive on Uno debugging! And I was wondering why I can't get Debugging configured when using a setup with an Uno board straight connected to the computer, haha ^^

oliverkrause
Автор

Thanks for posting, I will use this every day!

randallyoung
Автор

How does one revert a target board to normal program loading?
I cut the reset track on the target UNO, so that I can debug it using the DWire Arduino. Now that I have finished debugging, I wanted to revert the target UNO to normal Avr program loading.
I assumed that I just needed to 'resolder' the reset track, but that does not appear to be enough.

Please advise

PCarew
Автор

From wheare you take extra_script ??? No one in dw-link. What ever you do you can not find, because it doesnot exist in dw-link.

incxxxx
Автор

What value capacitor do you use between Reset and GND on the debugger board?

PCarew
Автор

Just wondering why you used the Arduino IDE to upload DW-Link? Why not use the PlatformIO IDE that you had already installed?

PCarew
Автор

I wonder if this will work with a nano?

JOHNT
Автор

Your work in vain. Not enough information to run it.

incxxxx