<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chakoku</author_name>
  <author_url>https://blog.hatena.ne.jp/chakoku/</author_url>
  <blog_title>chakokuのブログ(rev4)</blog_title>
  <blog_url>https://chakoku.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>とりあえずgdbを入れる sudo apt-get install gdb-multiarchOpenOCDもパッケージであるらしい sudo apt-get install openocdRPiのポートとマイコンを接続する。接続Pinは以下らしい SWCLK RPi 22pin (GP25) SWDIO RPi 18pin (GP24) GND RPi 20pinボード（乗っているマイコン次第）のconfigを指定してopenocdを起動する openocd -f /usr/share/openocd/scripts/board/stm32l0discovery.cfgSTM32C011J4…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchakoku.hatenablog.com%2Fentry%2F2025%2F05%2F21%2F220559&quot; title=&quot;Raspberry Pi をSWDデバッガ相当にしてCortex-Mのマイコンをデバッグする - chakokuのブログ(rev4)&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-21 22:05:59</published>
  <title>Raspberry Pi をSWDデバッガ相当にしてCortex-Mのマイコンをデバッグする</title>
  <type>rich</type>
  <url>https://chakoku.hatenablog.com/entry/2025/05/21/220559</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
