We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 801f364 commit 5b206cfCopy full SHA for 5b206cf
1 file changed
tockloader-lib/src/command_impl/probers/erase_apps.rs
@@ -17,7 +17,9 @@ impl CommandEraseApps for ProbeRSConnection {
17
let mut loader = session.target().flash_loader();
18
19
let address = settings.start_address;
20
- // // (adi): a single 0x0 byte is enough to invalidate the header and erase all programs
+ // A single 0x0 byte is enough to invalidate the tbf header and make it all programs
21
+ // unreadable to tockloader. This does mean app information will still exist on the board,
22
+ // but they will be overwritten when the space is needed.
23
loader.add_data((address as u32).into(), &[0x0])?;
24
25
let mut options = DownloadOptions::default();
0 commit comments