Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: programmer: bring docs up-to-date #440

Merged
merged 2 commits into from
Feb 2, 2024

Conversation

greg-fer
Copy link
Contributor

Updated the docs for v4.2.0 of nRF Connect Programmer. NCD-651.

@greg-fer greg-fer added documentation Improvements or additions to documentation. doc required This PR includes user-facing changes that need to be documented. labels Jan 29, 2024
@greg-fer greg-fer force-pushed the doc_programmer_doc_review_outdated_content branch 3 times, most recently from f1e6402 to d7b8cb0 Compare January 30, 2024 11:08
Updated the docs for v4.2.0 of nRF Connect Programmer.
NCD-651.

Signed-off-by: Grzegorz Ferenc <[email protected]>
@greg-fer greg-fer force-pushed the doc_programmer_doc_review_outdated_content branch from d7b8cb0 to 3473d04 Compare January 30, 2024 12:49
Copy link
Contributor

@kylebonnici kylebonnici left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All ok with me :) some minor feedback

README.md Outdated
firmware to Nordic Semiconductor devices and custom devices that use Nordic
Semiconductor hardware.

The application supports J-Link, Nordic USB, and MCUboot programming methods,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we should say Nordic USB or Nordic DFU?

@@ -1,6 +1,6 @@
# nRF Connect Programmer

nRF Connect Programmer is an app available from [nRF Connect for Desktop](https://nordic-dev.zoominsoftware.io/bundle/nrf-connect-desktop/page/index.html) that you can use to program firmware to Nordic devices. The application allows you to see the memory layout for both J-Link and Nordic USB devices. It also allows you to display content of HEX files and write it to the devices.
nRF Connect Programmer is an app available from [nRF Connect for Desktop](https://nordic-dev.zoominsoftware.io/bundle/nrf-connect-desktop/page/index.html) that you can use to program firmware to Nordic devices. The application allows you to see the memory layout for J-Link, Nordic USB devices, and MCUboot devices. It also allows you to display content of HEX files and write it to the devices.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we should say Nordic USB or Nordic DFU?

![Memory layout section colors](./screenshots/programmer_app_memory_layout_colours.svg "Breakdown of colors of memory sections")
| Action | Description |
|---------------------|----------------------------------------------------------------------------------------------------|
| **Add files** | Adds the file you select to the [**File Memory Layout**](#file-memory-layout) panel. You can select the files either from the drop-down list of previous files or by browsing to the file destination. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding multiple hex files can be added at the same time?

| **Erase & write** | J-Link | Clears the written memory and programs the files added to the **File Memory Layout**. |
| **Save as file** | J-Link | After you **Read** the memory, saves the current memory layout in the **Device Memory Layout** to a HEX file. |
| **Reset** | J-Link | Resets the device. |
| **Write** | MCUboot, Nordic USB, Modem firmware | Programs the files added to the **File Memory Layout**. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nordic USB -> Nordic DFU

- Additionally, after you read the memory, **Save as file** allows you to save the memory as a HEX file.
| Toggle | Description |
|-----------------------------------|------------------------------------------------------------------------------------------------------|
| **Auto read memory** | Enable to automatically read and display the memory layout of the device when the device is selected.|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding -> Data is only auto read on non protected devices ?


| Toggle | Description |
|-------------------------------------|-------------------------------------------------------------------------------------------------------|
| **Enable MCUBoot** | Enable to write to the device memory when programming a Nordic USB device, such as Nordic Thingy:91 or the nRF52840 Dongle. You can also use this option for custom SoCs that support MCUboot. |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that this does not worked and has not for as long as I know () should we remove it from UI? Should we mark it as experimental? (https://nordicsemi.atlassian.net/browse/NRFU-696)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Marked as experimental.


- **Erase & write** for J-Link
- **Write** for MCUboot, Nordic USB, or modem firmware
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nordic USB -> Nordic DFU?

- A device is reset while it is connected to the Programmer app. In this case, you may not see all COM ports in the drop-down list while selecting the device (for example, the nRF9160 DK) in the Programmer app.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would omit this not sure how relevant this is
"In this case, you may not see all COM ports in the drop-down list while selecting the device (for example, the nRF9160 DK)" in the Programmer app.

Signed-off-by: Grzegorz Ferenc <[email protected]>
@greg-fer
Copy link
Contributor Author

greg-fer commented Feb 2, 2024

@kylebonnici , please re-review.

@greg-fer greg-fer merged commit 74965ef into main Feb 2, 2024
3 checks passed
@greg-fer greg-fer deleted the doc_programmer_doc_review_outdated_content branch February 2, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc required This PR includes user-facing changes that need to be documented. documentation Improvements or additions to documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants