Skip to content

Conversation

@kimmansfield
Copy link
Contributor

This allows user entered file names for the pearl gecko boot slots and for the modem and wifi.

Signed-off-by: Kim Mansfield [email protected]

This allows user entered file names for the pearl gecko boot slots and
for the modem and wifi.

Signed-off-by: Kim Mansfield <[email protected]>
@kimmansfield kimmansfield self-assigned this Nov 15, 2022
There were 4 warnings that needed some coercion to remove them

Signed-off-by: Kim Mansfield <[email protected]>
Some tweaks to get the user guides better and add slot to the
mcu upload.

Signed-off-by: Kim Mansfield <[email protected]>
Put in a couple of tweaks to the help messages to inform the user
that slot numbers are mandatory.

Signed-off-by: Kim Mansfield <[email protected]>
This is to prevent locking up the Pearl Gecko by programming a
slot that the Pearl Gecko is running from.  There are some
checks in this push the prevents ths.

Singed-off-by: Kim Mansfield <[email protected]>
switch(dfu_tgt) {
case DFU_GECKO: return "MCU";
case DFU_MODEM: return "Modem";
default:
Copy link
Contributor

Choose a reason for hiding this comment

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

would prefer to use DFU_RS9116W here rather than defaulting to it. the default should return "error" or some such

This additional command (tmo dfu slot) will tell the user which slot he
is running from or if not using a slot it will tell the user the
BOOT_SLOT is undefined.

Signed-off-by: Kim Mansfield <[email protected]>
}
}
#else
if (delta_firmware_target != 1) {
Copy link
Contributor

Choose a reason for hiding this comment

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

i think this line should be removed so that it always returns an error when trying to update a slot without bootloader

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is the way it use to work but Kevin had me add that line so that we could program if there is no slot being used.

@johnlange2 johnlange2 merged commit 4fbd41e into main Nov 29, 2022
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