Skip to content

Building from source instructions added#1

Open
marnovandermaas wants to merge 1 commit into
Elara6331:masterfrom
marnovandermaas:patch-1
Open

Building from source instructions added#1
marnovandermaas wants to merge 1 commit into
Elara6331:masterfrom
marnovandermaas:patch-1

Conversation

@marnovandermaas
Copy link
Copy Markdown

@marnovandermaas marnovandermaas commented Dec 15, 2024

I needed these instructions to resolve issues I had with v1.1.0. The head of main works perfectly for me.

@marnovandermaas
Copy link
Copy Markdown
Author

@Elara6331 any chance this can be merged?

Elara6331 pushed a commit that referenced this pull request Jun 4, 2026
Fix special case when firmware size aligns with dfu transfer size.

Without this fix, doing a dfu with a firmware size that is exactly
one multiple of the chunk size, itd would give the following result:

427400 / 427596 B
|------------------------------------------------------------------------>|
99.95% 0s
3:15PM FTL Error while running app error="unexpected dfu response 100301
(expected 11)"

With this change, itd no longer waits for a 0x11 packet receipt when the
current packet also completes the firmware image.

After all firmware bytes are sent, it now explicitly waits for
dfuResponseRecvFwImgSuccess (0x10 0x03 0x01) before moving on to
validation.

Note: I used Codex to diagnose this problem and implement a fix.

Co-authored-by: Mikael Falkvidd <github@mjo.se>
Reviewed-on: https://git.elara.ws/elara6331/itd/pulls/1
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.

1 participant