Search found 643 matches
- Thu Nov 01, 2018 6:42 pm
- Forum: General Discussion
- Topic: (resolved) OTA and the otadata partition
- Replies: 29
- Views: 27591
Re: OTA and the otadata partition
How about OTADATA? # Name, Type, SubType, Offset, Size, Flags # Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild nvs, data, nvs, 0x9000, 0x4000 otadata, data, ota, 0xd000, 0x2000 phy_init, data, phy, 0xf000, 0x1000, factory, app, factory,...
- Thu Nov 01, 2018 5:23 pm
- Forum: General Discussion
- Topic: (resolved) OTA and the otadata partition
- Replies: 29
- Views: 27591
Re: OTA and the otadata partition
I hear what you're saying, but I see value in giving the user the option of selecting between various programs. Something like this: partition.PNG Only with more meaningful names. As my company begins using the ESP32 for more of our product lines, I envision us programming multiple images at mfg. ti...
- Thu Nov 01, 2018 4:57 pm
- Forum: General Discussion
- Topic: (resolved) OTA and the otadata partition
- Replies: 29
- Views: 27591
Re: OTA and the otadata partition
Hi Chegewara - I don't think we're talking about the same thing. Here's my scenario: I create the following partitions: nvs,data,nvs,0x9000,16K, otadata,data,ota,0xd000,8K, phy_init,data,phy,0xf000,4K, factory,app,factory,0x10000,1M, ota_0,app,ota_0,0x110000,1M, ota_1,app,ota_1,0x210000,1M, As you c...
- Wed Oct 31, 2018 10:59 pm
- Forum: General Discussion
- Topic: (resolved) OTA and the otadata partition
- Replies: 29
- Views: 27591
Re: OTA and the otadata partition
A label doesn't tell me whether that partition has been programmed with a valid image. Is there a way to take a closer look?
I want to provide my user with a menu of the *programmed* partitions. No point in offering him an invalid choice.
I want to provide my user with a menu of the *programmed* partitions. No point in offering him an invalid choice.
- Wed Oct 31, 2018 5:55 pm
- Forum: General Discussion
- Topic: using efuse BLK3
- Replies: 19
- Views: 20616
Re: using efuse BLK3
I don’t suppose there’s an option for doing this without a file? Ideally I would do it with a C program and a data structure. Maybe I’m asking for too much. EDIT: disregard; the powers that be have decided they'd rather use NVS than the fuses for storing this data. I'll be back with some questions a...
- Tue Oct 30, 2018 8:05 pm
- Forum: General Discussion
- Topic: valid characters for partition labels?
- Replies: 1
- Views: 2303
valid characters for partition labels?
Would I be correct in assuming that it's any printing 8-bit ASCII character?
- Tue Oct 30, 2018 3:52 pm
- Forum: General Discussion
- Topic: using efuse BLK3
- Replies: 19
- Views: 20616
Re: using efuse BLK3
Hi Angus -
Can you point me to a reference for reading/writing efuse BLK3 programmatically? I'm still evaluating the merits of using this vs. an NVS partition, but I'd like to pursue this a bit further.
Thanks...
Can you point me to a reference for reading/writing efuse BLK3 programmatically? I'm still evaluating the merits of using this vs. an NVS partition, but I'd like to pursue this a bit further.
Thanks...
- Mon Oct 29, 2018 10:13 pm
- Forum: General Discussion
- Topic: how to insert MAC address, s/n at factory
- Replies: 5
- Views: 10476
Re: how to insert MAC address, s/n at factory
Fly: my company purchases blocks of MAC addresses for our products, and wishes to use these. Our serial numbers have meaning (first 3 digits denotes product ID), so we need control over this as well. I think the manufacturing utility will work for us. I'm already storing a data structure in NVS whic...
- Mon Oct 29, 2018 9:33 pm
- Forum: General Discussion
- Topic: (resolved) OTA and the otadata partition
- Replies: 29
- Views: 27591
Re: OTA and the otadata partition
OK, thanks. So if I wanted to give the user a (short) menu of partition options, how do I tell which have been programmed? Is there an ESP facility for this, or do I just make something up myself (like a string in the image that my utility searches for)? PS: the OTA is actually working...I'm impress...
- Mon Oct 29, 2018 5:47 pm
- Forum: General Discussion
- Topic: (resolved) OTA and the otadata partition
- Replies: 29
- Views: 27591
Re: OTA and the otadata partition
Hi John - it wasn't my choice; the boss didn't like the web-based option. My set partition was in there; the comment was just intented too far to be easily seen. I've fixed that in the code above. Can I use esp_ota_set_boot_partition() to set the partition to the factory partition? It doesn't say I ...