# 操作

### 始動

一般のプログラムと同様 TWEProgrammer.exe を起動します。

{% hint style="info" %}
必要に応じて[起動オプション](/options.md)を設定可能です。
{% endhint %}

{% hint style="warning" %}
起動時に MONOSTICK や TWELITE R を自動検索し、その接続デバイスにアクセスします。その接続デバイス上で動作中のプログラムは停止します。

複数デバイスを接続している場合は、どのデバイスが開かれるかは指定できません。

USBバスに様々なデバイスが接続されている場合、稀に TWE Programmer が起動できない場合があります。この場合は、ほかのデバイスを外してみてください。
{% endhint %}

TWE Programmer が始動すると、以下のような画面が出ます。オプションの設定やUSB接続状況によって表示は違ってきます。

基本的に以下の流れとなります。

1. COMポートの選択
2. ファームウェアファイルの指定
3. 書き込み操作
4. リセット、ターミナルの操作

![始動画面例](/files/-LqZKsKQX0ztJBxS218v)

### 操作の解説

ファームウェアの書き込み

{% content-ref url="/pages/-LqZXQ8j51hwuNnBJaqQ" %}
[ファームウェアの書き込みとターミナルの接続](/operation/program-f-w-and-terminal.md)
{% endcontent-ref %}

ターミナルの接続

{% content-ref url="/pages/-LqZXjtHAutcj4bsSAd4" %}
[ターミナルの接続・切断](/operation/connect-terminal.md)
{% endcontent-ref %}

キー操作

{% content-ref url="/pages/-LqduylfScBYqm5Ip6TL" %}
[操作（キー・ボタン）](/operation/key-operation.md)
{% endcontent-ref %}

ターミナルのログ

{% content-ref url="/pages/-LqZYC-hbGJTFprRacY\_" %}
[ターミナルのログ](/operation/logging.md)
{% endcontent-ref %}

ターミナルで対応するエスケープシーケンス

{% content-ref url="/pages/-LqZaTV4jdIlWEQu6e\_g" %}
[ターミナルの対応エスケープシーケンス](/operation/terminal-esc-sequences.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tweprogrammer.twelite.info/operation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
