From e5ddaee948c35fca682869fe1f6ff060463578f1 Mon Sep 17 00:00:00 2001 From: William Vinnicombe Date: Tue, 16 Sep 2025 12:02:16 +0100 Subject: [PATCH 1/4] Mention flash update boot in load -x description --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index f7ab60d..cf9e400 100644 --- a/main.cpp +++ b/main.cpp @@ -854,7 +854,7 @@ struct load_command : public cmd { option('N', "--no-overwrite-unsafe").set(settings.load.no_overwrite_force) % "When writing flash data, do not overwrite an existing program in flash. If picotool cannot determine the size/presence of the program in flash, the load continues anyway" + option('u', "--update").set(settings.load.update) % "Skip writing flash sectors that already contain identical data" + option('v', "--verify").set(settings.load.verify) % "Verify the data was written correctly" + - option('x', "--execute").set(settings.load.execute) % "Attempt to execute the downloaded file as a program after the load" + option('x', "--execute").set(settings.load.execute) % "Perform a flash update boot to execute the downloaded file as a program after the load" ).min(0).doc_non_optional(true) % "Post load actions" + file_selection % "File to load from" + ( From 5168fa282009e4e2010919b80358b1fb9fd7b8a7 Mon Sep 17 00:00:00 2001 From: William Vinnicombe Date: Tue, 16 Sep 2025 12:09:11 +0100 Subject: [PATCH 2/4] Update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 572586c..ca39e26 100644 --- a/README.md +++ b/README.md @@ -300,7 +300,7 @@ OPTIONS: -v, --verify Verify the data was written correctly -x, --execute - Attempt to execute the downloaded file as a program after the load + Perform a flash update boot to execute the downloaded file as a program after the load File to load from The file name From 7f70576dbbf2acede566f3b92652a50a953c8be0 Mon Sep 17 00:00:00 2001 From: will-v-pi <108662275+will-v-pi@users.noreply.github.com> Date: Wed, 17 Sep 2025 12:43:28 +0100 Subject: [PATCH 3/4] Include RAM boot --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index cf9e400..3ec4aa4 100644 --- a/main.cpp +++ b/main.cpp @@ -854,7 +854,7 @@ struct load_command : public cmd { option('N', "--no-overwrite-unsafe").set(settings.load.no_overwrite_force) % "When writing flash data, do not overwrite an existing program in flash. If picotool cannot determine the size/presence of the program in flash, the load continues anyway" + option('u', "--update").set(settings.load.update) % "Skip writing flash sectors that already contain identical data" + option('v', "--verify").set(settings.load.verify) % "Verify the data was written correctly" + - option('x', "--execute").set(settings.load.execute) % "Perform a flash update boot to execute the downloaded file as a program after the load" + option('x', "--execute").set(settings.load.execute) % "Perform a bootrom reboot to execute the downloaded file as a program after the load - either a flash update boot for binaries in flash, or a RAM image boot for other binaries " ).min(0).doc_non_optional(true) % "Post load actions" + file_selection % "File to load from" + ( From 993f269975ff9745a57278064f8822b9619612f0 Mon Sep 17 00:00:00 2001 From: will-v-pi <108662275+will-v-pi@users.noreply.github.com> Date: Wed, 17 Sep 2025 12:49:07 +0100 Subject: [PATCH 4/4] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ca39e26..bc7f0bf 100644 --- a/README.md +++ b/README.md @@ -300,7 +300,8 @@ OPTIONS: -v, --verify Verify the data was written correctly -x, --execute - Perform a flash update boot to execute the downloaded file as a program after the load + Perform a bootrom reboot to execute the downloaded file as a program after the load - either a flash update boot for binaries in + flash, or a RAM image boot for other binaries File to load from The file name