Search found 13 matches

by sellonoid
Mon Apr 30, 2018 11:38 pm
Forum: General Discussion
Topic: Need help with OTA [Solved]
Replies: 24
Views: 31431

Re: Need help with OTA [Solved]

I obviously need to become way more familiar with the contents of the log. I can probably answer some of my questions by digging in and making sense of it.

By the way. Are you a part 135 pilot?

Thanks,
Jim
by sellonoid
Mon Apr 30, 2018 12:09 pm
Forum: General Discussion
Topic: what triggers an OTA update?
Replies: 7
Views: 9869

Re: what triggers an OTA update?

I did a quick compare between basic ota example and your version and saw the additional code.

Thanks a lot. I will study it.

Jim
by sellonoid
Mon Apr 30, 2018 1:17 am
Forum: General Discussion
Topic: Need help with OTA [Solved]
Replies: 24
Views: 31431

Re: Need help with OTA [Solved]

That's very helpful to know. I had that all wrong. One more question and then I will check into MQTT and everything else you mentioned, and get more familiar with the log. Does this (small sample) part of the log file actually indicate that it transferred the blink program via WiFi / OTA, even thoug...
by sellonoid
Sun Apr 29, 2018 8:27 pm
Forum: General Discussion
Topic: Need help with OTA [Solved]
Replies: 24
Views: 31431

Re: Need help with OTA [Solved]

I disconnected from the USB to satisfy myself that OTA updates were working, and I hooked it back to the server (USB) to start fresh by flashing "ota_example_main" again. Sorry if all of that is unnecessary and confusing. I just tested again and flashing "ota_example_main" repeatedly, gives the same...
by sellonoid
Sun Apr 29, 2018 2:54 pm
Forum: General Discussion
Topic: Need help with OTA [Solved]
Replies: 24
Views: 31431

Re: Need help with OTA [Solved]

Thank you for checking that out! So after doing everything that produced the output that you looked at, I do this: 1. Edit "blink.c", and run make again. End up with new "blink.bin". 2. Disconnect ESP32 from USB cable and power it from power supply. 4. Reset ESP32 and it should access the SimpleHTTP...
by sellonoid
Sat Apr 28, 2018 12:26 am
Forum: General Discussion
Topic: Need help with OTA [Solved]
Replies: 24
Views: 31431

Re: Need help with OTA [Solved]

First I ran make menuconfig and specified the SSID, PW, IP, port, and the "/blink.bin" file. Below is the shell screen output when I run "make erase_flash flash monitor". I guess I shouldn't include the "monitor" command since there is no monitor output when I do that. After doing the above, I edit ...
by sellonoid
Fri Apr 27, 2018 12:04 am
Forum: General Discussion
Topic: Need help with OTA [Solved]
Replies: 24
Views: 31431

Re: Need help with OTA [Solved]

Since it appears you have OTA working, I have a question.

Are you using the standard "ota_example_main" file? That's what I'm using, and I can flash my target file "blink.bin" with it, but the OTA update never seems to run once I disconnnect the USB connection and reboot the ESP32.
by sellonoid
Sat Apr 21, 2018 7:40 pm
Forum: General Discussion
Topic: what triggers an OTA update?
Replies: 7
Views: 9869

Re: what triggers an OTA update?

It turns out that the github code you referenced (https://github.com/espressif/esp-idf/bl ... ple_main.c) is the program that I'm currently using. Do you know if the ESP32 should stay connected to the WiFi and SimpleHTTPServer 24/7, or only when it's attempting an OTA update right after a reset? Can...
by sellonoid
Sat Apr 21, 2018 4:26 am
Forum: General Discussion
Topic: what triggers an OTA update?
Replies: 7
Views: 9869

Re: what triggers an OTA update?

I currently have the factory plus two ota partitions, but I'm using method 4b, so maybe that's my problem. I will see about incorporating the github code this weekend.

Thanks for the reply!

Jim
by sellonoid
Sat Apr 21, 2018 12:12 am
Forum: General Discussion
Topic: what triggers an OTA update?
Replies: 7
Views: 9869

what triggers an OTA update?

I installed the esp-idf toolchain on my Windows 7 computer following the instructions on the esp-idf.readthedocs.io site. I can make, erase, flash, and run several of the example programs on my Sparkfun ESP32 Thing board, but I'm testing mainly with the "blink" program so I can see what version of "...