Search found 14 matches

by mcL
Sun Aug 21, 2022 3:30 am
Forum: ESP32 boards
Topic: ESP32-S2 MQTT subscriber "OSError: [Errno 113] ECONNABORTED"
Replies: 17
Views: 15213

Re: ESP32-S2 MQTT subscriber "OSError: [Errno 113] ECONNABORTED"

Thank you marcidy for your insights. I have used wireshark. I was hoping not to dive that deep but I may need to. I assume I do not NOT have a network problem because I'm running 2 other Sonoffs (8266's) on the same network and they never have this issue, and this test device is ~10' from an AP. Of ...
by mcL
Sat Aug 20, 2022 4:42 pm
Forum: ESP32 boards
Topic: ESP32-S2 MQTT subscriber "OSError: [Errno 113] ECONNABORTED"
Replies: 17
Views: 15213

Re: ESP32-S2 MQTT subscriber "OSError: [Errno 113] ECONNABORTED"

Just wanted to add that I'm seeing similar issues with my 8266 and have been unsuccessfully trying to track it down for a while. If I can build a simple script to cause the error I will provide it. I see 2 issues: 1) OSError 113 on initial startup after a previous crash, but after exiting REPL and r...
by mcL
Mon Jul 18, 2022 5:07 pm
Forum: General Discussion and Questions
Topic: custom build upgrade v1.12 to 1.19 failure
Replies: 4
Views: 1786

Re: custom build upgrade v1.12 to 1.19 failure

Success! :D I did a 'mv' the old repo to micropythonv12 then git clone'd the remote repo, rebuilt everything (with my custom frozen modules) and now it completed with no errors. Loaded my code and confirmed via mpremote that it's running v19, so all is well! Not sure what went wrong with the 'git pu...
by mcL
Mon Jul 18, 2022 4:09 pm
Forum: General Discussion and Questions
Topic: custom build upgrade v1.12 to 1.19 failure
Replies: 4
Views: 1786

Re: custom build upgrade v1.12 to 1.19 failure

By "normal FROZEN_MANIFEST directive" I mean that my usual build line (when I want to include/freeze my custom modules) has FROZEN_MANIFEST=<my .py file dir> appended: sudo docker run --rm -v /home/greg:/home/greg -u 1000 -w /home/greg/micropython/ports/esp8266 larsks/esp-open-sdk make -j 8 BOARD=GE...
by mcL
Mon Jul 18, 2022 12:31 am
Forum: General Discussion and Questions
Topic: custom build upgrade v1.12 to 1.19 failure
Replies: 4
Views: 1786

custom build upgrade v1.12 to 1.19 failure

My last work on my sonoff Basic R3 devices (esp8266 1M) was in 2020 where I successfully built the firmware using several custom frozen modules and using larsk's docker toolset. My previous build implented littlefs as well (so I'm guessing I don't have to update anything for v1.19). I'm trying to up...
by mcL
Thu Jun 25, 2020 8:21 pm
Forum: ESP8266 boards
Topic: no boot.py after custom frozen modules build
Replies: 3
Views: 2706

Re: no boot.py after custom frozen modules build

Ok, figured it out, so I will answer my own question in case other run into this (others have as indicated by issue #5320 and elsewhere). I don't know if this is the blessed way to resolve this (please advise if you know a better procedure). Problem : * Manifest files are exclusive OR: only one or t...
by mcL
Thu Jun 25, 2020 12:29 am
Forum: ESP8266 boards
Topic: no boot.py after custom frozen modules build
Replies: 3
Views: 2706

no boot.py after custom frozen modules build

I've successfully used a couple of my .py files to build frozen modules, built the firmware, and programmed a 1M Sonoff R3 8266. After incorporating new magic into my code I re-built the firmware and loaded into the Sonoff (erased first, power cycle, etc.). Now I appear to not have a filesystem or b...
by mcL
Tue Jun 16, 2020 5:36 pm
Forum: ESP8266 boards
Topic: [SOLVED] Problem running latest GENERIC_1M firmware on Sonoff
Replies: 18
Views: 12102

Re: [SOLVED] Problem running latest GENERIC_1M firmware on Sonoff

Thanks pythoncoder for the reference -- that got me going! After re-re-reading that I relized that I had the format slightly wrong: I was using the direct file as the freeze arg instead of dir, file. In ../boards/manifest.py I added: # INCORRECT freeze("/home/greg/PycharmProjects/Boiler/validaterang...
by mcL
Tue Jun 16, 2020 12:37 am
Forum: ESP8266 boards
Topic: [SOLVED] Problem running latest GENERIC_1M firmware on Sonoff
Replies: 18
Views: 12102

Re: [SOLVED] Problem running latest GENERIC_1M firmware on Sonoff

Thank you for this discussion! I had a similar issue where I was getting memory errors and trying to learn how to freeze modules (unsuccessfully thus far). I was able to build ok via jimmo's docker instructions but had no apparent filesystem until I also included the BOARDS=GENERIC_1M to make. Now I...
by mcL
Sat Dec 28, 2019 2:18 am
Forum: Announcements and News
Topic: MicroPython version 1.12 released
Replies: 19
Views: 122834

Re: MicroPython version 1.12 released

OK, thanks! I'll see if I can figure out how to do that...