Skip to content

Add D500 DFU progress monitoring support - #12948

Merged
remibettan merged 8 commits into
realsenseai:developmentfrom
remibettan:d500_dfu
May 26, 2024
Merged

Add D500 DFU progress monitoring support#12948
remibettan merged 8 commits into
realsenseai:developmentfrom
remibettan:d500_dfu

Conversation

@remibettan

@remibettan remibettan commented May 21, 2024

Copy link
Copy Markdown
Contributor

Tracked by: RSDEV-1224 ("pre-PR")
This PR allow monitoring the progress of the DFU progress on D500 devices.
This was the progress percentage is real from the FW and represent the actual progress

@remibettan
remibettan requested a review from Nir-Az May 21, 2024 11:52
Comment thread src/ds/d500/d500-fw-update-device.cpp
Comment thread src/ds/d500/d500-fw-update-device.cpp
Comment thread src/ds/d500/d500-fw-update-device.cpp
Comment thread src/ds/d500/d500-fw-update-device.cpp Outdated
Comment thread src/fw-update/fw-update-device.cpp
Comment thread src/fw-update/fw-update-device.cpp
Comment thread src/fw-update/fw-update-device.cpp
Comment thread src/fw-update/fw-update-device.cpp Outdated
@remibettan
remibettan merged commit 009bb25 into realsenseai:development May 26, 2024
@maloel

maloel commented Jun 6, 2024

Copy link
Copy Markdown
Contributor

I have to say, I hate PRs like this that do not have a description of what was done... :)

std::stringstream ss;
ss << "DFU_GETSTATUS called, state is: " << to_string(dfu_state);
ss << ", iString equals: " << percentage_of_transfer << ", and bwPollTimeOut equals: " << status.bwPollTimeout << std::endl;
LOG_DEBUG(ss.str().c_str());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why use stringstream here and not just do the output inside the LOG_DEBUG?

@Nir-Az Nir-Az changed the title D500 dfu Add D500 DFU progress monitoring support Jun 6, 2024
@Nir-Az

Nir-Az commented Jun 6, 2024

Copy link
Copy Markdown
Collaborator

I have to say, I hate PRs like this that do not have a description of what was done... :)

Noted, Description updated

@remibettan
remibettan deleted the d500_dfu branch July 29, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants