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
AHC070解法紹介
eijirou
0
140
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
1
2k
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
170
Security issues being discussed on Web Platforms
petamoriken
0
1.4k
速習iPhone Duo対応
yuukiw00w
2
910
Turning Architecture into Unit Tests in the AI Era (NSSpain XIV)
steliosf
PRO
1
120
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
150
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
190
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
250
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1k
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
5.2k
FreeBSDでZabbixを動かす
kenkino
0
340
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
580
Abbi's Birthday
coloredviolet
4
10k
How STYLIGHT went responsive
nonsquared
100
6.3k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
850
Chasing Engaging Ingredients in Design
codingconduct
0
340
Done Done
chrislema
187
17k
WENDY [Excerpt]
tessaabrams
14
40k
It's Worth the Effort
3n
188
29k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
380
We Have a Design System, Now What?
morganepeng
55
8.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
560
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を使う例が、ブログでいろいろ紹介されている