> For the complete documentation index, see [llms.txt](https://docs.eseye.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eseye.com/modules/cinterion-r-els61-wireless-module/management-at-commands/etmhfwread-reads-a-section-of-the-new-firmware-image.md).

# ETMHFWREAD – reads a section of the new firmware image

Reads consecutive sections of the new firmware image. You can set the size of each section.

If a host firmware image was previously downloaded using `AT+ETMHFWGET`, it is stored in flash memory on the Cinterion® ELS61 Wireless Module. For information about `AT+ETMHFWGET`, see [ETMHFWGET – checks for new host firmware](https://docs.eseye.com/smartconnect/at-command-reference/management-at-commands/etmhfwget-checks-for-new-host-firmware.md).

| Type      | Syntax                                                                                                                                                                                                                                                                   | Response                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Test**  | `AT+ETMHFWREAD=?`                                                                                                                                                                                                                                                        | <p><code>+ETMHFWREAD: \<offset>,\<length></code></p><p><code>OK</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Read**  | `AT+ETMHFWREAD?`                                                                                                                                                                                                                                                         | <p><code>+ETMHFWREAD: \<imagesize>,\<checksum></code></p><p><code>OK</code></p><p>where:</p><ul><li><code>imagesize</code> is the size of the host firmware image in bytes</li><li><code>checksum</code> is the 16-bit XOR checksum of the entire image in hexadecimal format</li></ul><p><strong>Note:</strong> If both imagesize and checksum are 0, no firmware image exists in the flash memory.</p><p><strong>Note:</strong> After reading the whole image, the MCU application should run a checksum to compare its copy and the one supplied by AnyNet SMARTconnect™. This ensures the local copy was accurately copied from AnyNet SMARTconnect™.</p><p>or</p><p><code>ERROR</code></p> |
| **Write** | <p><code>AT+ETMHFWREAD=\<offset>,\<length></code></p><p>where:</p><ul><li><code>offset</code> is the number of offset bytes</li><li><code>length</code> is the number of bytes read</li></ul><p><code>offset</code> and <code>length</code> are required parameters.</p> | <p><code>+ETMHFWREAD: \<offset>,\<length>,"\<hexdata>"</code></p><p><code>OK</code></p><p>where <code>"\<hexdata>"</code> is the returned data in hexadecimal</p><p>or</p><p><code>ERROR</code> – the command failed</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |

#### Example

To read 48 bytes in 16 byte chunks:

```
AT+ETMHFWREAD=0,16
+ETMHFWREAD: 0,16,"<hexdata>"

OK
AT+ETMHFWREAD=16,16
+ETMHFWREAD: 16,16,"<hexdata>"
OK
AT+ETMHFWREAD=32,16
+ETMHFWREAD: 32,16,"<hexdata>"
OK
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eseye.com/modules/cinterion-r-els61-wireless-module/management-at-commands/etmhfwread-reads-a-section-of-the-new-firmware-image.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
