> For the complete documentation index, see [llms.txt](https://tweprogrammer.twelite.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tweprogrammer.twelite.info/operation/program-f-w-and-terminal.md).

# ファームウェアの書き込みとターミナルの接続

TWELITE が接続されている COM ポートを指定する (MONOSTICK, TWE LITE R)。TWELITE を認識すると `[TWELITE シリアル番号]` に TWELITE のシールド缶に刻印されているシリアル番号が表示されます。

1. ファームウェアを指定する。ボタンを押してファイルを選択するか、ファームウェアの .bin ファイルをドラッグ＆ドロップします。
2. COMポートの選択で、TWELITE が正しく認識されている場合は、2. の直後にファームウェアの書き込みが始まります。また `[(再)書き込み]` ボタンが表示されている場合は、このボタンを押すことで書き込みを開始します。
3. `[ターミナル接続する]`がチェックされている場合は、書き込み後に自動的にTWELITE をハードウェアリセットしターミナル接続を行います。

![](/files/-LqoSqdgyxvw3QEgKOji)

![](/files/-LqoStrH3ZyhMIO4NGe8)

### ファームウェア書き込み設定

#### `[低速書込（セーフモード）]`

より安全な設定で TWELITE と PC 間を接続します。通常は設定の必要はありません。

#### `[ベリファイする]`

ファームウェア書き込み後、ベリファイします。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://tweprogrammer.twelite.info/operation/program-f-w-and-terminal.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
