Skip to content

Problem Flashing Zephyr OS #74478

Closed Answered by gramsay0
AlienSarlak asked this question in Q&A
Jun 11, 2024 · 4 comments · 2 replies
Discussion options

You must be logged in to vote

I'm not familiar with this bootloader, but it looks like it expects the image size to be a multiple of 4 bytes:

// Check payload length is multiple of words
if ((packet->pl_len % 4))
{
    debug_printf("Error: frame packet not integer multiple of words (4 bytes per word)\n");
    return 1;
}

https://github.com/sparkfun/Apollo3_Uploader_SVL/blob/main/bootloader/src/main.c#L584

Try padding the image 1 byte

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@AlienSarlak
Comment options

@AlienSarlak
Comment options

Answer selected by AlienSarlak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #74116 on June 18, 2024 10:28.