using efuse BLK3

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

Re: using efuse BLK3

Postby mzimmers » Mon Oct 01, 2018 2:10 pm

Hi Angus - if it truly will be very soon, I can wait. Otherwise, I guess I'll have to use NVS and just hope the user never figures out a way to erase it.

I'm curious, though...why can't I just write to BLK3 with 0s where the information is already stored? I don't want to try it, lest I do any irreversible damage, but I'm wondering why I can't.

WiFive
Posts: 1986
Joined: Tue Dec 01, 2015 7:35 am

Re: using efuse BLK3

Postby WiFive » Mon Oct 01, 2018 3:16 pm

Well you have to use the existing values because they are part of the check codes and presumably if you fail to write the check code bits correctly you will read corrupt data because the efuse controller will apply the error correction.

User avatar
RalimTEk
Posts: 1
Joined: Wed Oct 10, 2018 12:40 am

Re: using efuse BLK3

Postby RalimTEk » Wed Oct 10, 2018 12:43 am

ESP_Angus wrote:This can't be done easily at the moment. Support is being added right now, so something should be available in ESP-IDF very soon.


I would also love to see support for this added to the idf or at the least espefuse.py

Is there any idea on if the timeline is weeks, months or a year ? :D
--//--
Ralimtek.com

ESP_Angus
Posts: 1232
Joined: Sun May 08, 2016 4:11 am

Re: using efuse BLK3

Postby ESP_Angus » Fri Oct 12, 2018 5:20 am

RalimTEk wrote:Is there any idea on if the timeline is weeks, months or a year ? :D


Support for 3/4 Coding Scheme is in review now, and should be merged to master branch next week.

It will be released as part of ESP-IDF V3.1.2, planned for November.

There is a new "espefuse.py burn_block_data" command which can be used to write arbitrary (non-key) data to parts of a block. This allows making use of the remaining words in BLK3 to store other data, even if BLK3_PART_RESERVE is set.

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

Re: using efuse BLK3

Postby mzimmers » Mon Oct 15, 2018 2:51 pm

Hi Angus - this is great news. Is there a mailing list that I can subscribe to that will inform me when this is available?

ESP_Angus
Posts: 1232
Joined: Sun May 08, 2016 4:11 am

Re: using efuse BLK3

Postby ESP_Angus » Thu Oct 18, 2018 3:05 am

Thanks everyone for your patience. 3/4 Coding Scheme support is now available in the ESP-IDF master branch, as of this commit.

mzimmers wrote:Hi Angus - this is great news. Is there a mailing list that I can subscribe to that will inform me when this is available?


No mailing list for this kind of thing, unfortunately. The most automated way to track bugs or requests like this is to open an issue on github and we can link the git commit to the github issue number, so that it updates automatically when the change arrives (and will send an email to any subscribed users). In this case there wasn't any GitHub issue about 3/4 Coding Scheme support.

Who is online

Users browsing this forum: No registered users and 6 guests