VS Code: addresses for flash command?

User avatar
mzimmers
Posts: 643
Joined: Wed Mar 07, 2018 11:54 pm
Location: USA

VS Code: addresses for flash command?

Postby mzimmers » Thu Jun 23, 2022 11:24 pm

Hi all -

I'm using VS Code and the extension, and mostly things are working well. When I flash, I get a message like this:

Code: Select all

Auto-detected Flash size: 8MB
Flash will be erased from 0x00080000 to 0x0014ffff...
Flash will be erased from 0x00001000 to 0x00007fff...
Flash will be erased from 0x00009000 to 0x0000afff...
Compressed 850704 bytes to 518738...
Wrote 850704 bytes (518738 compressed) at 0x00080000 in 12.1 seconds (effective 563.6 kbit/s)...
Hash of data verified.
Compressed 25280 bytes to 15806...
Wrote 25280 bytes (15806 compressed) at 0x00001000 in 0.8 seconds (effective 258.2 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 31...
Wrote 8192 bytes (31 compressed) at 0x00009000 in 0.1 seconds (effective 589.9 kbit/s)...
Hash of data verified.
which is all correct, but my project has another partition I'd like flashed. My partitions file look like this:

Code: Select all

otadata,data,ota,0x9000,0x2000,
phy_init,data,phy,0xb000,0x1000,
nvs,data,nvs,0xc000,0x4000,
nvs_config,data,nvs,0x10000,0x4000,
nvs_log,data,nvs,0x14000,0x6c000,
ota_0,app,ota_0,0x80000,0x1c0000,
ota_1,app,ota_1,0x240000,0x1c0000,
I'd like it if the nvs_config partition could be loaded as well (since it's getting erased as part of the flash sequence above). How do I specify this?

Thanks...

Who is online

Users browsing this forum: No registered users and 48 guests