Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
EDF-IDF Programming Guidを読む - JTAG Debugging 編 -
Search
lutecia16v
August 09, 2021
Programming
420
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
EDF-IDF Programming Guidを読む - JTAG Debugging 編 -
2021.8.9. ESP32公式ドキュメントもくもく会
まとめ資料
lutecia16v
August 09, 2021
More Decks by lutecia16v
See All by lutecia16v
GR-ROSEとROSを使ってコマンドサーボの現在位置をWebブラウザで表示してみる
lutecia16v
0
1.7k
GR-ROSEでROS/ROS2
lutecia16v
1
1.9k
Jetson NanoとGR-ROSEで始めるROS2
lutecia16v
0
2.3k
がじぇねるねでもROSしたい!
lutecia16v
1
160
GR-ROSE でroombaをコントロールする
lutecia16v
2
430
Other Decks in Programming
See All in Programming
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
110
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
230
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
260
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.7k
Performance Optimization With LLMs
xleitix
0
200
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
120
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
150
パスワード再設定メールのURLについて知っておこう
uyuki234
0
170
No More NoSuchMethodError
exoego
1
110
🇪🇸 React Alicante 2026 (Workshop)
ythecombinator
PRO
0
100
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
200
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
180
Featured
See All Featured
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
380
Docker and Python
trallard
47
4.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Statistics for Hackers
jakevdp
799
230k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
The Limits of Empathy - UXLibs8
cassininazir
2
730
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
Practical Orchestrator
shlominoach
192
12k
Technical Leadership for Architectural Decision Making
baasie
3
610
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Paper Plane (Part 1)
katiecoart
PRO
2
12k
Transcript
EDF-IDF Programming Guidを読む - JTAG Debugging 編 - 2021.8.9.
ESP32公式ドキュメントもくもく会
JTAG Debuging - 目次 • 導入 • どう動くのか? • JTAGアダプタの選択
• OpenOCDの設定 • ESP32ターゲットの設定 • デバッグの起動 • サンプルのデバッグ • OpenOCDをソースからビルドする • Tips and Quirks
導入 • 一般的なお話 • Espressifは、ESP32プロセッサとマルチコアでの FreeRTOSをサポートするために、 OpenOCDをポーティングした • OpenOCDのインストールと、Linux, WindowsとMacでのGDBを使ったデバッグについてのガ
イドを提供 ※ドキュメントでは、Ubuntu 16.04LTSにてEclipse Neon 3を使用
どう動くのか? • ESP-WROVER-KITを使用する場合、 FT2232Hで、JTAGとUARTの2つの USBチャンネルを提供している • 好みで、コマンドライン/ターミナルからデ バッガとidf.pyを直接操作できる EDF-IDF Programming
Guidから引用 https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api- guides/jtag-debugging/index.html#
JTAGアダプタの選択 • もっとも便利なのは、ESP-WROVER-KITを使うこと。ESP-WROVER-KITのFT2232H JTAG I/Fは20MHzのクロックで動いていて、これを外部アダプタでは実現するのは困難。 • もし、外部JTAGアダプタを使う場合は、ESP32の電圧レベルと同じものを探してください。 • ESP32のJTAGポートは、TRSTピンがないindustry-standard JTAGポートである。
• OpenOCDがサポートするJTAGアダプタはいろいろあるが、ESP32はSWDはサポートしていないの で注意。特定の製品に特化したもの(ST-LINK)とかは動かない。 • 最低限必要なピンは、TDI, TDO, TCK, TMSとGND。Vtar等、EPS32の電源ラインに繋げる必要がある JTAGデバッガ―もある。SRSTはCH_PDに接続することも可能だが、現状、このラインについて OpenOCD でサポートしているのはかなり少ない。 • 外部アダプタの例 :ESP-Prog(https://docs.espressif.com/projects/espressif-esp-iot-solution/en/latest/hw-reference/ESP-Pr og_guide.html) 日本だと、marutsuさんで購入可能 https://www.marutsu.co.jp/pc/i/40497690/ ちなみに、FT232HでMPSSEを使う例が、ブログでいろいろ紹介されている