Search found 643 matches

by mzimmers
Thu Feb 21, 2019 7:18 pm
Forum: General Discussion
Topic: (answered) error checking i2c_cmd_link_create()?
Replies: 2
Views: 2962

(answered) error checking i2c_cmd_link_create()?

Hi - My app is occasionally experiencing GMEs. The backtrace suggests the problem is in my use of the I2C system. Is there a way to tell whether the call to i2c_cmd_link_create() is successful? I didn't see anything in the docs about this. Thanks... m_i2c_cmd = i2c_cmd_link_create(); //ESP_LOGI(TAG,...
by mzimmers
Thu Feb 14, 2019 10:36 pm
Forum: General Discussion
Topic: NVS library: one key isn't getting set correctly
Replies: 0
Views: 1686

NVS library: one key isn't getting set correctly

Hi all - I'm trying to work up an initialization file for my app using the NVS partition generator. My .csv file looks like this: key,type,encoding,value CD_WIFIBUTTON,namespace,, NVS_LABEL,data,string,"My company" MAC_ADDR,data,string,"aabbccddeeff" SERIAL_NBR,data,string,"123456789" DEVICE_NAME,da...
by mzimmers
Wed Feb 13, 2019 2:51 pm
Forum: General Discussion
Topic: (resolved) questions about manufacturing utility
Replies: 18
Views: 18844

Re: questions about manufacturing utility

Hi Roland - thanks for the update on that. From what I could see, the script needed a change to a couple of variable names, but perhaps there's more than that going on. But at least it's good to know that I don't need to keep trying to make it work.
by mzimmers
Wed Feb 13, 2019 12:00 am
Forum: General Discussion
Topic: how to create a namespace in NVS?
Replies: 1
Views: 3031

Re: how to create a namespace in NVS?

So, after re-reading the docs, I realized I was confusing the standard NVS partition generation with the mass mfg utility. As the mass mfg script seems buggy, I'm skipping it for now and working with the standard NVS partition generator. So...can I do this twice, with different .bin files? I'd like ...
by mzimmers
Tue Feb 12, 2019 10:57 pm
Forum: General Discussion
Topic: (resolved) moving between IDF versions breaks make
Replies: 3
Views: 4522

Re: moving between IDF versions breaks make

Hi vonneida - that was it; thanks. So is that something I have to do every time I change which branch I'm using, or only when I'm using a particular branch for the first time?
by mzimmers
Tue Feb 12, 2019 10:17 pm
Forum: General Discussion
Topic: (resolved) moving between IDF versions breaks make
Replies: 3
Views: 4522

(resolved) moving between IDF versions breaks make

Hi all - I've been trying to move between IDF versions using git's checkout command. My IDF folder is C:\esp-idf. When I try to make my application with release/v3.1, I get this error: make[1]: *** No rule to make target 'C:/esp-idf/esp-idf-v3.1.2/components/libsodium/libsodium/src/libsodium/crypto_...
by mzimmers
Tue Feb 12, 2019 3:46 pm
Forum: General Discussion
Topic: (resolved) questions about manufacturing utility
Replies: 18
Views: 18844

Re: questions about manufacturing utility

Thanks, Sprite. I'm still struggling with this utility -- I cloned esp-idf master and am using that now. When I run this command: $ mfg_gen.py --size 4096 --conf config.csv --values master_csv_values.csv --prefix wifibutton I get this error: nvs_part_gen() got an unexpected keyword argument 'input_s...
by mzimmers
Mon Feb 11, 2019 7:28 pm
Forum: General Discussion
Topic: how to create a namespace in NVS?
Replies: 1
Views: 3031

how to create a namespace in NVS?

I'm trying to prep my application for production. Upon booting, my app looks for a namespace to open: err = nvs_open(SERIAL_NAMESPACE, NVS_READONLY, &m_handleSerial); I've read the docs on the NVS library, but I don't understand how to create the namespace I need to read. My config.csv file will loo...
by mzimmers
Sat Feb 09, 2019 6:22 pm
Forum: General Discussion
Topic: (resolved) questions about manufacturing utility
Replies: 18
Views: 18844

Re: questions about manufacturing utility

Hi Sprite - yeah, that's probably good advice. What is the latest version with release status? Should I be upgrading my entire IDF from 3.1.1 yet? EDIT: I read the news forum, and saw that the latest release is 3.1.2. As there's no mass-mfg directory in that release, I grabbed the mfg_gen.py file fr...