Zum Hauptinhalt springen
Artikelansicht
⚡ iShareStuff Live

38C3 - Demystifying Common Microcontroller Debug Protocols

HD Video
38C3 - Demystifying Common Microcontroller Debug Protocols
Video abspielen

Author: media.ccc.de - Bewertung: 0x - Views:8 https://media.ccc.de/v/38c3-demystifying-common-microcontroller-debug-protocols Many developers know that the…

Beitrag
0
Seite
0
↗ Quelle (youtube.com)
Quelle & Fakten · 3 Min. Lesezeit
Quelle: youtube.com
Rubrik: IT Sicherheit

Author: media.ccc.de - Bewertung: 0x - Views:8

https://media.ccc.de/v/38c3-demystifying-common-microcontroller-debug-protocols

Many developers know that the answer to "How do I debug this microcontroller" is either "JTAG" or "SWD". But what does that mean, exactly? How do you get from "Wiggling wires" to "Programming a chip" and "Halting on breakpoints"? This talk will cover how common debug protocols work starting from signals on physical wires, cover common mechanisms for managing embedded processors, and ending up at talking to various common microcontrollers.

Embedded programming is the art of shrinking complex programs in tiny packages by throwing away unnecessary features. With modern microcontrollers, debugging need not be one of the features thrown away. Most modern chips include some form of low-level access, but the technical details aren't widely understood. Many users of embedded firmware will use their preferred debugger without thinking too hard about what's going on underneath.

We'll start by covering what it means to debug embedded software. The primitives required to have an interactive debug session are surprisingly minimal. From this, we'll build up a list of requirements and "nice to haves" to make a debugging environment comfortable, and reference existing "bespoke" debug approaches. We'll cover several examples of debug engines ranging from cores designed to go into FPGAs to tiny 8-bit microcontrollers.

Next, we'll take a step back and describe the common lower-level protocols such as JTAG and SWD. These describe physical signals that go between the host and the target. We'll compare various protocols and see how they map onto the higher-level primitives discussed earlier. Armed with examples, we'll see how the protocol stack is formed.

Next, we'll use the knowledge of low-level protocol implementations and the requirements for debugging to look at common abstractions on top of physical transports to implement core control. This will bridge the gap between "JTAG or SWD are the protocol" to "Poking a value in memory on a microcontroller". In this section, we'll cover the more common and generic uses such as Arm's ADI and the RISC-V DMI and see how complex and cross-target configurations are built to be rigid enough to have rich debug features while flexible enough to handle a wide range of processor configurations.

Finally, we'll cover common tasks such as programming flash memory, watchpoints, and single-step debugging -- things that we take for granted in the desktop world and would like to have when programming for a potato that costs less than an actual potato.

Sean "xobs" Cross

https://events.ccc.de/congress/2024/hub/event/demystifying-common-microcontroller-debug-protocols/

#38c3 #HardwareMaking

Licensed to the public under http://creativecommons.org/licenses/by/4.0

Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:
✏️ Information ergänzen
🛡️ Versioniert via CMS-Revisions-Engine (Freigabe-Queue für Gäste)

💬 Community-Diskussion & Kommentare

🌐 Zum Social-Chat

Starte die Diskussion im Social-Chat Broadcast Stream oder reiche oben über „✏️ Information ergänzen“ einen Fachbeitrag ein.

Tages-Briefing Kostenlos · 1-Klick-Abmeldung

Nachrichten-Briefing — kostenlos

Täglich die wichtigsten Meldungen aus Politik & Gesellschaft · jederzeit abbestellbar

Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Noch keine Leser-Bewertungen
War dieser Artikel hilfreich?
0
Jetzt Bewertung abgeben
Detail-Bewertung (optional)
Inhalt & Qualität
Quelle & Glaubwürdigkeit
Aktualität

Verwandte Story-Cluster & Quellen (Vektor-KI)

6 Cluster
22 Quellen
Champions League: «Geile Aufgaben»: Chabot heiß auf Inters Stürmerstars
DIE ZEIT | Nachrichten, News, Hintergründe und Debatten vor 9 Tagen
21 weitere Quellen
DIE ZEITvor 9 TagenChampions League: RB-Kapitän Raum: «Egal wie, Hauptsache gewonnen» Top-Meldungenvor 9 TagenLille gegen Bayern München: Live-Stream, TV-Sender und Anstoßzeit in der Champions League - SPOX.com Top-Meldungenvor 9 TagenLille gegen Bayern München: Live-Stream, TV-Sender und Anstoßzeit in der Champions League - SPOX.com DIE ZEITvor 9 TagenChampions League: VfB tritt zum Königsklassen-Hit bei Inter Mailand an Top-Meldungenvor 9 TagenChampions League: BVB liefert FC Arsenal einen großen Kampf - sportschau.de Top-Meldungenvor 9 TagenChampions League: Galatasaray lässt auch von Aston Villa nicht zu stoppen - sportschau.de Top-Meldungenvor 9 TagenChampions League - RB Leipzig vs. RC Lens heute live im Ticker: Rote Bullen um Gruda empfangen Lens - Liveticker - Eurosport Deutschlandfunkvor 9 TagenFußball - Champions-League: Arsenal London - Borussia Dortmund 1:1 unentschieden - RB Leipzig schlägt den RC Lens mit 3:1 Top-Meldungenvor 9 TagenChampions League - Real Madrid vs. PSV Eindhoven heute live im Ticker: Bellingham zaubert Real in Führung - Liveticker - Eurosport Sportvor 9 TagenDienstagsspiele der Champions League: BVB punktet bei Arsenal, Leipzig bezwingt Lens DIE ZEITvor 9 TagenChampions League: Mbappé-Doppelpack bei Real-Sieg - Como weiter auf Kurs DIE ZEITvor 9 TagenChampions League, 5. Spieltag: Dortmund und Arsenal trennen sich unentschieden, Leipzig schlägt Lens DIE ZEITvor 9 TagenChampions League: BVB auf Kurs: Dortmund erkämpft sich 1:1 beim FC Arsenal DIE ZEITvor 9 TagenChampions League: Hoffnung für RB Leipzig nach Pflichtsieg gegen Lens Top-Meldungenvor 9 TagenChampions League - so lief Galatasaray Istanbul vs. Aston Villa: Schwache Villans verlieren hitziges Spiel in Istanbul - Eurosport Top-Meldungenvor 9 TagenChampions League - FC Arsenal vs. Borussia Dortmund heute live im Ticker: BVB bei den Gunners gefordert - Liveticker - Eurosport Top-Meldungenvor 9 TagenChampions League - FC Arsenal vs. Borussia Dortmund heute live im Ticker: BVB bei den Gunners gefordert - Liveticker - Eurosport Top-Meldungenvor 9 TagenAmazon Prime, DAZN oder auch Free-TV für FC Arsenal vs. BVB? Fußball in der Champions League heute live sehen - SPOX.com Top-Meldungenvor 9 TagenChampions League: Hier läuft BVB bei Arsenal heute live im TV, Stream & Ticker - SPORT1 Top-Meldungenvor 9 TagenChampions League: Hier läuft BVB bei Arsenal heute live im TV, Stream & Ticker - SPORT1 DIE ZEITvor 9 TagenChampions League: Kompany zum Offensiv-Notstand: «Uns fehlen 130 Tore»
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten 38C3 - Demystifying Common Microcontroller Debug Protocols

Thematisch verwandte Begriffe: 38C3, Demystifying, Common, Microcontroller · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

💬 Kommentare werden geladen…
Zum Aktualisieren ziehen
Widgets & Themen
Widgets werden geladen…
Nächster Beitrag