Search found 109 matches

by phatpaul
Mon Feb 03, 2020 7:55 pm
Forum: ESP-IDF
Topic: 3.3.1 bootloader can't load app compiled with 3.2.2
Replies: 3
Views: 3468

3.3.1 bootloader can't load app compiled with 3.2.2

I'm upgrading my project to use IDF v 3.3.1 now that it is marked stable. But I need to be able to OTA and run older apps that were compiled on previous versions. Isn't this supposed to work? If I flash my project via serial (including bootloader) built with 3.3.1 and then use it to OTA to a previou...
by phatpaul
Thu Jan 16, 2020 4:14 pm
Forum: ESP-IDF
Topic: test for IDF version >= 3.3 with macro
Replies: 2
Views: 4594

Re: test for IDF version >= 3.3 with macro

OK, it makes sense to use the makefile for this. I'm grateful for your expert guidance.
Thank you Angus.
-Paul
by phatpaul
Wed Jan 08, 2020 10:01 pm
Forum: ESP-IDF
Topic: test for IDF version >= 3.3 with macro
Replies: 2
Views: 4594

test for IDF version >= 3.3 with macro

I would like to add a feature to a library that depends on IDF version 3.3 or greater, but would fail to compile with earlier. I need it to compile either way, just not including the new feature if not available. I see that IDF version 4 added this capability: https://docs.espressif.com/projects/esp...
by phatpaul
Wed Jan 08, 2020 6:39 pm
Forum: General Discussion
Topic: OTA of factory app
Replies: 7
Views: 13549

Re: OTA of factory app

I'll shared my hack to allow update of the factory app partition. Please see here:
https://github.com/chmorgan/libesphttpd/pull/81

Enjoy, no warranties, use at your own risk, of course.
by phatpaul
Tue Jan 07, 2020 3:34 pm
Forum: Hardware
Topic: Device bricked ("csum err") after two months of service
Replies: 32
Views: 34007

Re: Device bricked ("csum err") after two months of service

Hi,
I see a similar issue with bootloader corruption. Please see my issue: viewtopic.php?f=12&t=13750

Did you ever find the root cause?
by phatpaul
Tue Jan 07, 2020 3:29 pm
Forum: Hardware
Topic: device bricked in the field
Replies: 4
Views: 7430

Re: device bricked in the field

Thanks for your detailed and prompt reply. Does anything else write to flash from software? Yes, I am using NVS storage and a FAT filesystem on a partition "internalfs". I guess there could be a bug there too... Has the WROVER module spent any time in conditions that might have been out of spec? (ie...
by phatpaul
Mon Jan 06, 2020 10:46 pm
Forum: Hardware
Topic: Why is there no REFCLKO on ESP32-WROOM-32 (LAN8720A)
Replies: 2
Views: 4497

Re: Why is there no REFCLKO on ESP32-WROOM-32 (LAN8720A)

This might not be helpful, but I'm using something close to the schematic here: https://github.com/OLIMEX/ESP32-EVB/tree/master/HARDWARE It is using an external crystal oscillator which is connected to LAN8720 pin 5 (CLKIN) and also to ESP32 GPIO0. I haven't tried to use the internal oscillator of t...
by phatpaul
Mon Jan 06, 2020 9:43 pm
Forum: Hardware
Topic: device bricked in the field
Replies: 4
Views: 7430

device bricked in the field

## Environment - Development Kit: [none, custom product using wrover module.] - Module or chip used: [ESP32-WROVER 16M] - IDF version: v3.1.3 - Build System: [Make] - Compiler version: xtensa-esp32-elf-gcc.exe (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 5.2.0 - Operating System: [Windows] - (Win...
by phatpaul
Fri Nov 08, 2019 5:08 pm
Forum: Hardware
Topic: DM9051 SPI Ethernet example?
Replies: 4
Views: 10484

Re: DM9051 SPI Ethernet example?

Anyone? I've also come across the Microchip ENC28J60 solution which is being used in the Arduino community. It is only 10Mb vs. DM9051 10/100Mb. Will the speed decrease (from my current LAN8720) be noticeable with my simple web-server based on libesphttpd? ENC28J60: http://www.microchip.com/wwwprodu...
by phatpaul
Fri Oct 11, 2019 2:58 pm
Forum: Hardware
Topic: Fuel Gauge to go with ESP32
Replies: 3
Views: 6612

Re: Fuel Gauge to go with ESP32

Wow, I left the battery world for a couple years and now there are fuel-gauges that don't need to measure current!? I'm betting there's some sophisticated algorithms and DSP going on in there. https://www.maximintegrated.com/en/products/power/battery-management/MAX17048.html I don't advise trying to...