St-Linkのセットアップ

ST-LINKユーティリティは、STM32マイクロコントローラのプログラミングに使用します。

デバイス環境設定のベアメタルタブにあるSt-Link

St-Linkの環境設定を行います:

  1. Preferences>Devices > に進みます。 Bare Metal.
  2. Add を選択します。
  3. St-Link を選択します。
  4. Name で、接続の名前を入力します。
  5. Startup mode で、デバッグ・サーバー・プロバイダーを起動するモードを選択します。
  6. Peripheral description file で、デバイス上の周辺機器を記述したファイルへのパスを指定します。
  7. Host で、デバッグ・サーバ・プロバイダに接続するホスト名とポート番号を選択します。
  8. Executable file に、デバッグ・サーバー・プロバイダーの実行ファイルへのパスを入力します。
  9. Verbosity level で、冗長ロギングのレベルを入力します。
  10. 接続が閉じられた後も接続要求をリッスンし続けるには、Extended mode を選択します。
  11. 接続の作成時にボードをリセットするには、Reset on connection を選択します。
  12. Version で、デバイスがサポートするトランスポート層タイプを選択します。
  13. Init commands で、接続の初期化時に実行するコマンドを入力します。
  14. Reset commands で、接続をリセットするときに実行するコマンドを入力する。
  15. Apply を選択して、デバッグ・サーバ・プロバイダを追加します。

How To: Develop forBare MetalおよびDeveloping forBare Metal Devicesも参照してください

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.