Search found 473 matches

by devnull
Mon Oct 30, 2017 9:41 am
Forum: ESP8266 boards
Topic: Soft Watchdog
Replies: 7
Views: 7141

Re: Soft Watchdog

Peter, Thanks so much for taking the time to respond in such detail. I've been using PIC micros for probably 20 years now, and still use them for anything that needs 100% reliability, low resources and little or no connectivity, other than via Serial etc, they simply never crash, but they don't have...
by devnull
Mon Oct 30, 2017 1:23 am
Forum: ESP8266 boards
Topic: Soft Watchdog
Replies: 7
Views: 7141

Re: WDT - TypeError: function does not take keyword arguments

OK, understand that no software watchdog is foolproof, but can this be made more 'robust' ?? lib/wdog.py import machine as mc class WDOG(): def __init__(self): self.timer = mc.Timer(-1) self.fed = False def feed(self): self.fed = True def trig(self): mc.reset() def wdtcb(self,tmr): if not self.fed: ...
by devnull
Sun Oct 29, 2017 10:30 am
Forum: ESP8266 boards
Topic: Soft Watchdog
Replies: 7
Views: 7141

Re: WDT - TypeError: function does not take keyword arguments

Need to pick this thread up again, desperately need a solution on the esp8266 which will prevent a situation with a headless, un-manned battery powered device that needs to be able to reboot itself if it crashes. So it appears that if you disable irq, 10 seconds later the device will reset: import m...
by devnull
Wed Oct 25, 2017 10:31 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 538813

Re: MicroPython on ESP32 with SPIRAM support

Nice, I like the nvs functionality, integers work but strings seem to have a problem: >>> import machine as mc >>> mc.nvs_setint('lastval',1000) #reboot >>> mc.nvs_getint('lastval') 1000 So I thought that I could save a JSON string, and tried to extend this but it crashed, maybe it didn't like the s...
by devnull
Tue Oct 24, 2017 9:31 am
Forum: Drivers for External Components
Topic: Using the ESP with a Ethernet Port through SPI
Replies: 15
Views: 15202

Re: Using the ESP with a Ethernet Port through SPI

I have received these ethernet boards, what would it take to make it work on an ESP32, would that be easier ?
by devnull
Mon Oct 23, 2017 10:42 am
Forum: General Discussion and Questions
Topic: where have the edit icons gone
Replies: 2
Views: 2065

Re: where have the edit icons gone

Thanks, yes but there were no replies so I gave it it's own thread :-)
by devnull
Sun Oct 22, 2017 11:21 pm
Forum: General Discussion and Questions
Topic: where have the edit icons gone
Replies: 2
Views: 2065

where have the edit icons gone

Since upgrading, there's no icon or text in the thread edit buttons ?
by devnull
Sat Oct 21, 2017 10:47 am
Forum: ESP32 boards
Topic: MicroPython on ESP32 with SPIRAM support
Replies: 463
Views: 538813

Re: MicroPython on ESP-WROVER with 4MB of psRAM

I have my own build bash scripts and logical folder structure for the esp8266, esp32 and wipy and have now included the lobo version. But I need a couple of things: 1. Currently I have a script to generate symbolic links to the modules folder, but how do I add my own frozen modules in lobo ? 2. What...
by devnull
Sat Oct 21, 2017 6:28 am
Forum: Drivers for External Components
Topic: Using the ESP with a Ethernet Port through SPI
Replies: 15
Views: 15202

Re: Using the ESP with a Ethernet Port through SPI

I ordered 10 of them from aliexpress, they were shipped yesterday, I am really hoping that this will work on the 8266 and ESP32 as I have a couple of things that need ethernet connectivity rather than wifi ?!
by devnull
Sat Oct 21, 2017 4:31 am
Forum: ESP32 boards
Topic: ESP32 Thing Flash Options [solved]
Replies: 1
Views: 2051

Re: ESP32 Thing Flash Options

Answering my own post :-(

The clue was in the error message, the offset for ESP32 is 0x1000.

Code: Select all

/Volumes/Data/uPython/bash/../build/esptool/esptool.py --chip esp32 --port /dev/tty.usbserial-DN02N7EB --baud 460800 write_flash --compress -fs 4MB -fm dio 0x1000 latest.bin