OpenOCDの設定

OpenOCD(Open On-Chip Debugger) は、Embedded-ICE (JTAG) 機能を備えたArm7™ およびArm9™ ファミリーをベースとするターゲット向けのオンチップデバッグソリューションです。Arm™ アーキテクチャ向けにコンパイルされたGDBを使用して、ソースレベルでのデバッグを可能にします。

「デバイス」設定の「Bare Metal」タブにある OpenOCD

OpenOCDの設定を行うには:

  1. Preferences 」>「Devices 」> Bare Metal
  2. Add 」を選択します。
  3. OpenOCD 」を選択します。
  4. Name 」で、接続の名前を入力します。
  5. Startup mode 」で、デバッグサーバープロバイダを起動するモードを選択します。
  6. Peripheral description file で、デバイス上の周辺機器を記述したファイルへのパスを指定します。
  7. Host で、デバッグサーバープロバイダに接続するホスト名とポート番号を選択します。
  8. Executable file で、デバッグサーバープロバイダの実行ファイルへのパスを入力します。
  9. Root scripts directory で、設定スクリプトが格納されているディレクトリのパスを入力します。
  10. Configuration file で、デバイスの設定ファイルへのパスを入力します。
  11. Additional arguments 」で、コマンドの引数を入力します。
  12. Init commands 」に、接続の初期化時に実行するコマンドを入力します。
  13. Reset commands 」で、接続をリセットする際に実行するコマンドを入力します。
  14. Apply 」を選択して、デバッグ サーバー プロバイダーを追加します。

Bare Metal 向けの開発方法」および Bare Metal デバイス向けの開発も参照してください

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.