- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Using the BCM20736S I would like to increase the size of the VS1 section. I just found the following helpful discussion:
"DLConfigVSLength - length of this volatile section.
ConfigDSLocation - location of the application code and data (also known as DS).;
Note that the VS and DS areas cannot overlap. For the layout in the EEPROM or SF, see comments in ws_upgrade.c in the SDK (1.1.0 or 2.0) and so if you want to support field upgrades (OTA or uart or other mechanisms), you have to move these sections appropriately."
So what are your experiences with changing ws_upgrade.{c|h}, especially what do I have to change?
I hope you can help.
Regards,
Kilian
Solved! Go to Solution.
- Tags:
- increase size vs1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make sure that the btp file matches what is in the c file;
const WS_UPGRADE_NV_LOC_LEN nv_loc_len[2] =
/* .ss_loc = */ {0, 256},
/* .ds1_loc = */ 0x580, // ConfigDSLocation
/* .ds1_len = */ 0x7A00, // ~31KB
/* .ds2_loc = */ 0x8000,
/* .ds2_len = */ 0x7A00, // ~31KB
/* .vs1_loc = */ 0x140, // DLConfigVSLocation
/* .vs1_len = */ 0x400, // DLConfigVSLength
/* .vs2_loc = */ 0, // No VS2 for EEPROMS
/* .vs2_len = */ 0 // No VS2 for EEPROMS
Hope this helps
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make sure that the btp file matches what is in the c file;
const WS_UPGRADE_NV_LOC_LEN nv_loc_len[2] =
/* .ss_loc = */ {0, 256},
/* .ds1_loc = */ 0x580, // ConfigDSLocation
/* .ds1_len = */ 0x7A00, // ~31KB
/* .ds2_loc = */ 0x8000,
/* .ds2_len = */ 0x7A00, // ~31KB
/* .vs1_loc = */ 0x140, // DLConfigVSLocation
/* .vs1_len = */ 0x400, // DLConfigVSLength
/* .vs2_loc = */ 0, // No VS2 for EEPROMS
/* .vs2_len = */ 0 // No VS2 for EEPROMS
Hope this helps
JT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm working on something else right now it will take about a month until I can get an answer.
I think that I could theoretically reduce the size of DS1 and DS2 to make some room for a larger VS1. My code size is 10KBytes smaller than the space available so this could be possible.
Regards,
Kilian