nvram: number of locations to write to

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

When using the bleprofile_WriteNVRAM write command, I can only write to 28 NVRAM Ids

Example:

If I start writing at ID 0x10, my last valid write is at location 0x2b.  I can't write out past that NVRAM ID. ID 0x2c Fails.

If I start writing at ID 0x30, my last valid write is at location 0x4b.  I can't write out past that NVRAM ID. ID 0x4c Fails.

Is this a limitation?

Is there a setting that allows me to write all IDs between 0x00 and 0x6F?

Thanks,

Mike

0 Likes
1 Solution

The default size of the VS section (where these are stored) is 1024 bytes in SDK 2.x. Did you change it to a larger size? Find the .btp file under Platforms/BCM92073XTAG_Q32/2073X_<PLATFORM_NV>.btp:

DLConfigVSLength = 1024

Change this to fit as many items you need to write into this area. You may have to move ConfigDSLocation too so it does not overlap. See ws_upgrade.c for an example of the layout.

View solution in original post

13 Replies