Search found 1683 matches

by kolban
Thu Aug 16, 2018 6:16 pm
Forum: General Discussion
Topic: Not understanding OTA walk-through
Replies: 9
Views: 2600

Re: Not understanding OTA walk-through

This function appears to be documented here: https://esp-idf.readthedocs.io/en/latest/api-reference/system/esp_https_ota.html If we think about OTA at a high level, its purpose in life is to obtain a new binary image, write that binary image into an area of flash, flag that flash as the source of pr...
by kolban
Thu Aug 16, 2018 6:11 pm
Forum: General Discussion
Topic: challenging task (Benchmak)
Replies: 5
Views: 1519

Re: challenging task (Benchmak)

Have you followed the recipes described in the getting started section here: https://esp-idf.readthedocs.io/en/latest/get-started/index.html Are you able to build a sample ESP32 ESP-IDF application? Maybe if we can find a problem building an arbitrary app from these instructions we might spot someth...
by kolban
Thu Aug 16, 2018 5:20 pm
Forum: General Discussion
Topic: (resolved) OTA and the otadata partition
Replies: 29
Views: 5719

Re: OTA and the otadata partition

It is my understanding that esp_ota_write maintains its state. We perform an esp_ota_begin() to begin the work, multiple esp_ota_write() to write the data and then esp_ota_end() to indicate a conclusion. The function esp_ota_set_boot_partition() identifies the partition that we desire to boot from o...
by kolban
Thu Aug 16, 2018 4:56 pm
Forum: General Discussion
Topic: challenging task (Benchmak)
Replies: 5
Views: 1519

Re: challenging task (Benchmak)

I spent a couple of minutes looking at the source and it seems to be vanilla C. What that means is that it should be able to be compiled and run quite easily. What I recommend you do is become familiar with the ESP-IDF and its associated build tools. You should then be able to create a "normal" ESP-...
by kolban
Thu Aug 16, 2018 4:10 pm
Forum: ESP32 IDF
Topic: http request over ethernet
Replies: 7
Views: 1998

Re: http request over ethernet

Howdy my friend, Can you provide the link to the sample you are looking at? Can I confirm that you want to send an HTTP request to an HTTP Server as opposed to an HTTP server running on the ESP32 sending a request somewhere else? At the highest level, the networking subsystem at the low levels takes...
by kolban
Thu Aug 16, 2018 4:02 pm
Forum: General Discussion
Topic: Component.mk
Replies: 1
Views: 795

Re: Component.mk

I think the notion of the "component" file structure is that each directory under components is a self contained unit of "function" that will be compiled and linked with your application. If you have a component called "X" do you really mean to say that you have "nested" components called "X/Y" and ...
by kolban
Thu Aug 16, 2018 3:59 pm
Forum: ESP32 Arduino
Topic: Why each instance of my class consume 20byte of memory at least?
Replies: 9
Views: 2442

Re: Why each instance of my class consume 20byte of memory at least?

If I may ask? How many instances of classes are you looking to create? What is the "nature" of the class? What kind of state data might it contain? With embedded systems, we obviously have less resources available to us than desktop or rack machines. This may mean we may have to trade programming co...
by kolban
Thu Aug 16, 2018 3:53 pm
Forum: General Discussion
Topic: Not understanding OTA walk-through
Replies: 9
Views: 2600

Re: Not understanding OTA walk-through

Howdy guys, I'm a big fan of good docs ... can I ask that we look at the following: https://esp-idf.readthedocs.io/en/latest/api-reference/system/ota.html Let's see if we can't figure out what might be missing from these docs that might make the sample clearer. I believe the sample is an illustratio...
by kolban
Thu Aug 16, 2018 3:40 am
Forum: General Discussion
Topic: Download partition from ESP32 to local .bin file
Replies: 1
Views: 837

Re: Download partition from ESP32 to local .bin file

I'm not familiar with "ESPFlashDownload". Is that similar to esptool? Using esptool we can retrieve data from ESP32 flash. For example esptool read_flash {address} {size} {targetFile} will retrieve data from a serial connected ESP32 at offset address for size bytes and write it to the given file. Is...
by kolban
Thu Aug 16, 2018 3:37 am
Forum: General Discussion
Topic: Not understanding OTA walk-through
Replies: 9
Views: 2600

Re: Not understanding OTA walk-through

My recommendation would be to look at the sample code and try and "read" it. When you come across an API that you are unfamiliar with, research that in the documentation. Get a feel for what the application is "trying" to do. From a cursory read, it seems that the ESP32 starts up, connects to your l...

Go to advanced search