SlideShare uma empresa Scribd logo
1 de 19
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
JTAG Debugging
with the ESP32
PETE GALLAGHER
PJGCREATIONS.CO.UK
22/06/2020
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
About Me
Pete Gallagher
@pete_codes / @PJGCreations
www.PeteCodes.co.uk
www.PJGCreations.co.uk
Pete@PJGCreations.co.uk
IT Consultant, Microsoft Azure MVP, Pluralsight Author,
Decades of Desktop, Web & Embedded Software experience,
Meetup Organiser,
STEM Ambassador, Code Club Organiser … Gadget Addict
Father of two inquisitive girls
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
What we’re going to be doing…
 The ESP32
 JTAG Hardware Debuggers
 Connecting the Espressif ESP-PROG
JTAG Debugger
 A Simple ESP32 App using Arduino IDE
 VisualMicro for VS2019
 PlatformIO for VS Code
 Debugging a Simple ESP32 App
 Q&A
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
The ESP32 DevKit
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
The ESP32 DevKit - Blocks
WiFi + BLE
ESP-WROOM-32
Microcontroller
Micro USB +
Virtual Serial Port
Built in LED
GPIO
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
The ESP32 DevKit - Specs
 Cheap - £7ish
 Dual Core ESP32 WROOM32 Microcontroller
 Clocked up to 240MHz
 4MB Flash (Program Memory)
 512K RAM
 RTC + 8K RAM
 512 Byte EEPROM
 2.4GHz Wifi
 Bluetooth and BLE
 GPIO inc SPI, UART, I2C, PWM, DAC Etc
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
The ESP32 Kit - Pinout
Enable
GPIO36
GPIO39
GPIO34
GPIO35
GPIO32
GPIO33
GPIO25
GPIO26
GPIO27
GPIO14
GPIO12
GPIO13
GND
VIN
GPIO23
GPIO22
GPIO1
GPIO3
GPIO21
GPIO19
GPIO18
GPIO5
GPIO17
GPIO16
GPIO4
GPIO2
GPIO15
GND
3v3
UART1 TX
UART1 RX
UART 2 TX
UART2 TX
SPI1 MOSI
I2C SCL
I2C SDA
SPI1 MISO
SPI1 CLK
SPI1 CS0
SPI2 MOSI
SPI2 MISO
SPI2 CLK
ADC 1+2
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
The JTAG Debugger
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
The JTAG Debugger
 Joint Test Action Group
 Direct Access to System Address and Data Bus
 Can read and write variable values
 Set break points and step through code
 Uses Serial Communication
 Connects to the Test Access Port (TAP)
 USB Connection to PC
 Uses OpenOCD to control
 Dupont connection to ESP32 DevKit
https://www.xjtag.com/about-jtag/jtag-a-technical-overview/
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
Connecting the JTAG Debugger
GND
TDI
TDO
TCK
TMS
3v3
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
Connecting the JTAG Debugger
TCK
TDI
TMS
TDO
GND
3V3
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
A Simple App
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
Visual Micro
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
Visual Micro
 Serial debugging
 Hardware debugging
 Supports hundreds of boards
 VS2017/2019 Extension
 Set breakpoints
 View variable values
 Free
https://www.visualmicro.com
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
PlatformIO
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
PlatformIO
 Hardware debugging
 Supports hundreds of boards
 Visual Studio Code Extension
 Set breakpoints
 View variable values
 Free
https://www.platformio.org
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
Links
 Arduino IDE
https://www.arduino.cc/en/main/software
 ESP32 DevKit
https://www.amazon.co.uk/SeeKool-Development-Microcontroller-Integrated-
Compatible/dp/B07DPP3BGZ/
 Espressif ESP-PROG
https://www.digikey.co.uk/product-detail/en/espressif-systems/ESP-PROG/1965-ESP-
PROG-ND/10259352
 Visual Micro
https://www.visualmicro.com/
 PlatformIO
https://platformio.org/
 JTAG Information
https://www.xjtag.com/about-jtag/jtag-a-technical-overview/
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
 Twitter
@pete_codes / @PJGCreations
 Email:
pete@pjgcreations.co.uk
 Website:
https://www.petecodes.co.uk
https://www.pjgcreations.co.uk
 Notts IoT:
https://www.nottsiot.co.uk
 Dot Net Notts:
https://www.dotnetnotts.co
 Notts Dev Workshop:
https://www.nottsdevworkshop.co.uk
 LATi:
https://www.lati.org.uk
 Agile Engineering Podcast:
https://agileengineeringpodcast.com/
Contact Me
Slides:
http://bit.ly/pjgesp32jtagtwitch
JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes
Questions?
Pete Gallagher
@pete_codes / @PJGCreations
www.PeteCodes.co.uk
www.PJGCreations.co.uk
Pete@PJGCreations.co.uk

Mais conteúdo relacionado

Mais procurados

Signal Integrity Asif
Signal Integrity AsifSignal Integrity Asif
Signal Integrity Asif
Mohammed Asif
 

Mais procurados (20)

MicroStrip Patch Antenna
MicroStrip Patch AntennaMicroStrip Patch Antenna
MicroStrip Patch Antenna
 
TỔNG QUAN VỀ LOGO! SIEMENS
TỔNG QUAN VỀ LOGO! SIEMENSTỔNG QUAN VỀ LOGO! SIEMENS
TỔNG QUAN VỀ LOGO! SIEMENS
 
Advanced lithography techniques
Advanced lithography techniquesAdvanced lithography techniques
Advanced lithography techniques
 
Optical fiber communication (Unit 1) notes written by Spoorti Arun Kumar (AP,...
Optical fiber communication (Unit 1) notes written by Spoorti Arun Kumar (AP,...Optical fiber communication (Unit 1) notes written by Spoorti Arun Kumar (AP,...
Optical fiber communication (Unit 1) notes written by Spoorti Arun Kumar (AP,...
 
Wireless Electronic Notice Board
Wireless Electronic Notice BoardWireless Electronic Notice Board
Wireless Electronic Notice Board
 
Osnove bežičnih mreža - Predavanje: Antene
Osnove bežičnih mreža - Predavanje: AnteneOsnove bežičnih mreža - Predavanje: Antene
Osnove bežičnih mreža - Predavanje: Antene
 
Rectangular patch Antenna
Rectangular patch AntennaRectangular patch Antenna
Rectangular patch Antenna
 
FPGA Tutorial - LCD Interface
FPGA Tutorial - LCD InterfaceFPGA Tutorial - LCD Interface
FPGA Tutorial - LCD Interface
 
verilog code for logic gates
verilog code for logic gatesverilog code for logic gates
verilog code for logic gates
 
VLSI Testing Techniques
VLSI Testing TechniquesVLSI Testing Techniques
VLSI Testing Techniques
 
A Guide to the Board of Investment (2013)
A Guide to the Board of Investment (2013)A Guide to the Board of Investment (2013)
A Guide to the Board of Investment (2013)
 
Gesture Control Robot
Gesture Control RobotGesture Control Robot
Gesture Control Robot
 
Design of wireless power transfer system via magnetic resonant coupling at 13...
Design of wireless power transfer system via magnetic resonant coupling at 13...Design of wireless power transfer system via magnetic resonant coupling at 13...
Design of wireless power transfer system via magnetic resonant coupling at 13...
 
A report on 2 to 1 mux using tg
A report on 2 to 1 mux using tgA report on 2 to 1 mux using tg
A report on 2 to 1 mux using tg
 
Electronic Hardware Design with FPGA
Electronic Hardware Design with FPGAElectronic Hardware Design with FPGA
Electronic Hardware Design with FPGA
 
Directional couplers ppt for microwave engineering
Directional couplers  ppt for microwave engineeringDirectional couplers  ppt for microwave engineering
Directional couplers ppt for microwave engineering
 
A 64-by-8 Scrolling Led Matrix Display System
A 64-by-8 Scrolling Led Matrix Display SystemA 64-by-8 Scrolling Led Matrix Display System
A 64-by-8 Scrolling Led Matrix Display System
 
Signal Integrity Asif
Signal Integrity AsifSignal Integrity Asif
Signal Integrity Asif
 
VHDL CODES
VHDL CODES VHDL CODES
VHDL CODES
 
Bluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNOBluetooth based home automation using Arduino UNO
Bluetooth based home automation using Arduino UNO
 

Semelhante a JTAG Debugging with the ESP32, Visual Micro and PlatformIO

Semelhante a JTAG Debugging with the ESP32, Visual Micro and PlatformIO (20)

IoT with only your laptop - Microsoft Garage - January 2021
IoT with only your laptop - Microsoft Garage - January 2021IoT with only your laptop - Microsoft Garage - January 2021
IoT with only your laptop - Microsoft Garage - January 2021
 
Config and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus DeployConfig and Deployments as Code with Octopus Deploy
Config and Deployments as Code with Octopus Deploy
 
Getting started with IoT - Notts IoT - April 2018
Getting started with IoT - Notts IoT - April 2018Getting started with IoT - Notts IoT - April 2018
Getting started with IoT - Notts IoT - April 2018
 
Getting started with IoT with only your laptop - March 2020 - Dot Net Sheff
Getting started with IoT with only your laptop - March 2020 - Dot Net SheffGetting started with IoT with only your laptop - March 2020 - Dot Net Sheff
Getting started with IoT with only your laptop - March 2020 - Dot Net Sheff
 
IoT with only your Laptop - Build Stuff 2021
IoT with only your Laptop - Build Stuff 2021IoT with only your Laptop - Build Stuff 2021
IoT with only your Laptop - Build Stuff 2021
 
Getting started with IoT with only your laptop - August 2018
Getting started with IoT with only your laptop - August 2018Getting started with IoT with only your laptop - August 2018
Getting started with IoT with only your laptop - August 2018
 
Getting started with IoT with only your laptop - 2018 - Pi Jam
Getting started with IoT with only your laptop - 2018 - Pi JamGetting started with IoT with only your laptop - 2018 - Pi Jam
Getting started with IoT with only your laptop - 2018 - Pi Jam
 
Getting started with IoT with only your Laptop (GIF Version) - Derby Dot Net ...
Getting started with IoT with only your Laptop (GIF Version) - Derby Dot Net ...Getting started with IoT with only your Laptop (GIF Version) - Derby Dot Net ...
Getting started with IoT with only your Laptop (GIF Version) - Derby Dot Net ...
 
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Dot NET Pe...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Dot NET Pe...Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Dot NET Pe...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Dot NET Pe...
 
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
Getting started with IoT with only your Laptop (Lightning Talk) - October 201...
 
Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020
Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020
Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - DDD 2020
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - CSharp Co...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - CSharp Co...Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - CSharp Co...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - CSharp Co...
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - dotNET Stoke
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - dotNET StokeBuilding a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - dotNET Stoke
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - dotNET Stoke
 
Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - NDC London 2021
Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - NDC London 2021Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - NDC London 2021
Building a Raspberry Pi Robot with .NET 5, Blazor and SignalR - NDC London 2021
 
Getting started with IoT with only your Laptop - February 2019 - Lancs Tech T...
Getting started with IoT with only your Laptop - February 2019 - Lancs Tech T...Getting started with IoT with only your Laptop - February 2019 - Lancs Tech T...
Getting started with IoT with only your Laptop - February 2019 - Lancs Tech T...
 
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
Azure IoT Hubs with Raspberry Pi and Node.js - Azure Bootcamp - 27-04-19
 
Getting started with IoT with only your Laptop - March 2019 - DDD North
Getting started with IoT with only your Laptop - March 2019 - DDD NorthGetting started with IoT with only your Laptop - March 2019 - DDD North
Getting started with IoT with only your Laptop - March 2019 - DDD North
 
Building a Raspberry Pi Robot with Dot NET 6 Blazor and SignalR.pptx
Building a Raspberry Pi Robot with Dot NET 6 Blazor and SignalR.pptxBuilding a Raspberry Pi Robot with Dot NET 6 Blazor and SignalR.pptx
Building a Raspberry Pi Robot with Dot NET 6 Blazor and SignalR.pptx
 
Getting started with IoT with only your Laptop - March 2019 - IoT Leeds
Getting started with IoT with only your Laptop - March 2019 - IoT LeedsGetting started with IoT with only your Laptop - March 2019 - IoT Leeds
Getting started with IoT with only your Laptop - March 2019 - IoT Leeds
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - .NET Sout...
 

Mais de Peter Gallagher

Mais de Peter Gallagher (20)

Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalRBuilding a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
Building a Raspberry Pi Robot with Dot NET 8, Blazor and SignalR
 
Supercharging your Data with Azure AI Search and Azure OpenAI
Supercharging your Data with Azure AI Search and Azure OpenAISupercharging your Data with Azure AI Search and Azure OpenAI
Supercharging your Data with Azure AI Search and Azure OpenAI
 
Experience Raspberry Pi 5 - October 2023
Experience Raspberry Pi 5 - October 2023Experience Raspberry Pi 5 - October 2023
Experience Raspberry Pi 5 - October 2023
 
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - Slides Onl...Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - Slides Onl...
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - Slides Onl...
 
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
Building a Raspberry Pi Robot with Dot NET 7, Blazor and SignalR - TechDays 2023
 
Azure Percept Home Automation - Hacksoc 2022
Azure Percept Home Automation - Hacksoc 2022Azure Percept Home Automation - Hacksoc 2022
Azure Percept Home Automation - Hacksoc 2022
 
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
 
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
Deploying Web Apps using Config and Infrastructure as Code with Octopus Deplo...
 
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire ...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire ...Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire ...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - Yorkshire ...
 
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR - NDC Melbou...
 
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
Azure Percept Home Automation - Microsoft Reactor London - 28-05-22
 
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR.pptx
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR.pptxBuilding a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR.pptx
Building a Raspberry Pi Robot with Dot NET 6, Blazor and SignalR.pptx
 
Azure Percept Home Automation - Festive Tech Calendar 2021 - 01-12-21
Azure Percept Home Automation  - Festive Tech Calendar 2021 - 01-12-21Azure Percept Home Automation  - Festive Tech Calendar 2021 - 01-12-21
Azure Percept Home Automation - Festive Tech Calendar 2021 - 01-12-21
 
Azure Percept Home Automation - .NET Liverpool - 28-10-21
Azure Percept Home Automation  - .NET Liverpool - 28-10-21Azure Percept Home Automation  - .NET Liverpool - 28-10-21
Azure Percept Home Automation - .NET Liverpool - 28-10-21
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - HackSoc -...
 
Azure Percept Home Automation - .NET Docs Show - 20-09-21
Azure Percept Home Automation  - .NET Docs Show - 20-09-21Azure Percept Home Automation  - .NET Docs Show - 20-09-21
Azure Percept Home Automation - .NET Docs Show - 20-09-21
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - Bradford ...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - Bradford ...Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - Bradford ...
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR - Bradford ...
 
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalRBuilding a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR
Building a Raspberry Pi Robot Arm with .NET 5, Blazor and SignalR
 
IoT isn't just for Christmas
IoT isn't just for ChristmasIoT isn't just for Christmas
IoT isn't just for Christmas
 
DevOps in an IoT World - Brighton Web Development - 29-10-20
DevOps in an IoT World - Brighton Web Development - 29-10-20DevOps in an IoT World - Brighton Web Development - 29-10-20
DevOps in an IoT World - Brighton Web Development - 29-10-20
 

Último

怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
ehyxf
 
CHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...
Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...
Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...
amitlee9823
 
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
amitlee9823
 
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
motiram463
 
一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理
一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理
一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理
bbhul52a
 
CHEAP Call Girls in Ashok Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Ashok Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Ashok Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Ashok Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Último (20)

怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
怎样办理圣芭芭拉分校毕业证(UCSB毕业证书)成绩单留信认证
 
Shikrapur Call Girls Most Awaited Fun 6297143586 High Profiles young Beautie...
Shikrapur Call Girls Most Awaited Fun  6297143586 High Profiles young Beautie...Shikrapur Call Girls Most Awaited Fun  6297143586 High Profiles young Beautie...
Shikrapur Call Girls Most Awaited Fun 6297143586 High Profiles young Beautie...
 
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
Pooja 9892124323, Call girls Services and Mumbai Escort Service Near Hotel Th...
 
CHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Vinay Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Pimple Saudagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Chikhali Call Me 7737669865 Budget Friendly No Advance Booking
 
Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...
Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...
Vip Mumbai Call Girls Andheri East Call On 9920725232 With Body to body massa...
 
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort GirlsDeira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
Deira Dubai Escorts +0561951007 Escort Service in Dubai by Dubai Escort Girls
 
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...Top Rated  Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
Top Rated Pune Call Girls Chakan ⟟ 6297143586 ⟟ Call Me For Genuine Sex Serv...
 
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
Get Premium Pimple Saudagar Call Girls (8005736733) 24x7 Rate 15999 with A/c ...
 
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...9004554577, Get Adorable Call Girls service. Book call girls & escort service...
9004554577, Get Adorable Call Girls service. Book call girls & escort service...
 
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
Escorts Service Arekere ☎ 7737669865☎ Book Your One night Stand (Bangalore)
 
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night StandCall Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In RT Nagar ☎ 7737669865 🥵 Book Your One night Stand
 
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
(👉Ridhima)👉VIP Model Call Girls Mulund ( Mumbai) Call ON 9967824496 Starting ...
 
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
VVIP Pune Call Girls Balaji Nagar (7001035870) Pune Escorts Nearby with Compl...
 
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls Shirwal ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
 
一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理
一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理
一比一原版(nyu毕业证书)纽约大学毕业证学历认证靠谱办理
 
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
NO1 Verified Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi A...
 
CHEAP Call Girls in Ashok Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Ashok Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Ashok Nagar  (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Ashok Nagar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 

JTAG Debugging with the ESP32, Visual Micro and PlatformIO

  • 1. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes JTAG Debugging with the ESP32 PETE GALLAGHER PJGCREATIONS.CO.UK 22/06/2020
  • 2. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes About Me Pete Gallagher @pete_codes / @PJGCreations www.PeteCodes.co.uk www.PJGCreations.co.uk Pete@PJGCreations.co.uk IT Consultant, Microsoft Azure MVP, Pluralsight Author, Decades of Desktop, Web & Embedded Software experience, Meetup Organiser, STEM Ambassador, Code Club Organiser … Gadget Addict Father of two inquisitive girls
  • 3. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes What we’re going to be doing…  The ESP32  JTAG Hardware Debuggers  Connecting the Espressif ESP-PROG JTAG Debugger  A Simple ESP32 App using Arduino IDE  VisualMicro for VS2019  PlatformIO for VS Code  Debugging a Simple ESP32 App  Q&A
  • 4. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes The ESP32 DevKit
  • 5. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes The ESP32 DevKit - Blocks WiFi + BLE ESP-WROOM-32 Microcontroller Micro USB + Virtual Serial Port Built in LED GPIO
  • 6. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes The ESP32 DevKit - Specs  Cheap - £7ish  Dual Core ESP32 WROOM32 Microcontroller  Clocked up to 240MHz  4MB Flash (Program Memory)  512K RAM  RTC + 8K RAM  512 Byte EEPROM  2.4GHz Wifi  Bluetooth and BLE  GPIO inc SPI, UART, I2C, PWM, DAC Etc
  • 7. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes The ESP32 Kit - Pinout Enable GPIO36 GPIO39 GPIO34 GPIO35 GPIO32 GPIO33 GPIO25 GPIO26 GPIO27 GPIO14 GPIO12 GPIO13 GND VIN GPIO23 GPIO22 GPIO1 GPIO3 GPIO21 GPIO19 GPIO18 GPIO5 GPIO17 GPIO16 GPIO4 GPIO2 GPIO15 GND 3v3 UART1 TX UART1 RX UART 2 TX UART2 TX SPI1 MOSI I2C SCL I2C SDA SPI1 MISO SPI1 CLK SPI1 CS0 SPI2 MOSI SPI2 MISO SPI2 CLK ADC 1+2
  • 8. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes The JTAG Debugger
  • 9. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes The JTAG Debugger  Joint Test Action Group  Direct Access to System Address and Data Bus  Can read and write variable values  Set break points and step through code  Uses Serial Communication  Connects to the Test Access Port (TAP)  USB Connection to PC  Uses OpenOCD to control  Dupont connection to ESP32 DevKit https://www.xjtag.com/about-jtag/jtag-a-technical-overview/
  • 10. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes Connecting the JTAG Debugger GND TDI TDO TCK TMS 3v3
  • 11. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes Connecting the JTAG Debugger TCK TDI TMS TDO GND 3V3
  • 12. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes A Simple App
  • 13. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes Visual Micro
  • 14. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes Visual Micro  Serial debugging  Hardware debugging  Supports hundreds of boards  VS2017/2019 Extension  Set breakpoints  View variable values  Free https://www.visualmicro.com
  • 15. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes PlatformIO
  • 16. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes PlatformIO  Hardware debugging  Supports hundreds of boards  Visual Studio Code Extension  Set breakpoints  View variable values  Free https://www.platformio.org
  • 17. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes Links  Arduino IDE https://www.arduino.cc/en/main/software  ESP32 DevKit https://www.amazon.co.uk/SeeKool-Development-Microcontroller-Integrated- Compatible/dp/B07DPP3BGZ/  Espressif ESP-PROG https://www.digikey.co.uk/product-detail/en/espressif-systems/ESP-PROG/1965-ESP- PROG-ND/10259352  Visual Micro https://www.visualmicro.com/  PlatformIO https://platformio.org/  JTAG Information https://www.xjtag.com/about-jtag/jtag-a-technical-overview/
  • 18. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes  Twitter @pete_codes / @PJGCreations  Email: pete@pjgcreations.co.uk  Website: https://www.petecodes.co.uk https://www.pjgcreations.co.uk  Notts IoT: https://www.nottsiot.co.uk  Dot Net Notts: https://www.dotnetnotts.co  Notts Dev Workshop: https://www.nottsdevworkshop.co.uk  LATi: https://www.lati.org.uk  Agile Engineering Podcast: https://agileengineeringpodcast.com/ Contact Me Slides: http://bit.ly/pjgesp32jtagtwitch
  • 19. JTAG Debugging with the ESP32 – Copyright Pete Gallagher 2020 – @Pete_Codes Questions? Pete Gallagher @pete_codes / @PJGCreations www.PeteCodes.co.uk www.PJGCreations.co.uk Pete@PJGCreations.co.uk