Search found 1512 matches

by Roberthh
Thu Aug 08, 2019 8:17 pm
Forum: ESP8266 boards
Topic: Flashing problem - ESP is blinking, no REPL
Replies: 4
Views: 93

Re: Flashing problem - ESP is blinking, no REPL

The 16 MB flash is what's causing the trouble. The standard firmware is made for devices with up to 4 MB flash. YOu have two option: a) use 4 MB flash only. You other ESP8266 has only 4 MB flash For that, flash the firmware by telling, that the flash size is 4 MB: esptool.py --port /dev/cu.SLAB_USBt...
by Roberthh
Thu Aug 08, 2019 6:29 pm
Forum: ESP8266 boards
Topic: Flashing problem - ESP is blinking, no REPL
Replies: 4
Views: 93

Re: Flashing problem - ESP is blinking, no REPL

What type of ESP8266 module do you have?
Which messages do you get during flashing. Does the reported flash size meet the real one?
The blinking us most likely caused by the message stream, which is either at 115200 baud or 74880 baud.
by Roberthh
Wed Aug 07, 2019 4:06 pm
Forum: General Discussion and Questions
Topic: Wemos with a serial/USB chip based on CH304G - using for micropython
Replies: 2
Views: 78

Re: Wemos with a serial/USB chip based on CH304G - using for micropython

The CH340G chip us on the Wemis boards which thus have an USB socket & intetface.
by Roberthh
Tue Aug 06, 2019 7:25 pm
Forum: ESP8266 boards
Topic: Micropython crashing and rebooting every 9seconds
Replies: 22
Views: 446

Re: Micropython crashing and rebooting every 9seconds

You can do so, but it requires to build your own firmware image. Using Linux, this requires some steps, but is quite straightforward. In the ports/esp8266/modules directory there is a file called _boot.py (take care of the _), which is executed first at boot time. Being able to make your own image i...
by Roberthh
Tue Aug 06, 2019 6:07 am
Forum: ESP8266 boards
Topic: Micropython crashing and rebooting every 9seconds
Replies: 22
Views: 446

Re: Micropython crashing and rebooting every 9seconds

You could try to disable WiFi. Once set, that will survive shutdown and boot. You have to do that at work. You can disable either AP mode, or STA mode, or both, to see, which mode causes the trouble. Disable AP mode import network wifi = network.WLAN(network.AP_IF) wifi.active(False) Disable STA mod...
by Roberthh
Sun Aug 04, 2019 6:51 am
Forum: ESP8266 boards
Topic: Implementing a Firmata CLIENT in micropython
Replies: 2
Views: 1859

Re: Implementing a Firmata CLIENT in micropython

What stops you from just taking one of the linked python examples and porting it to MicroPython? It does not look overly complicated.
by Roberthh
Sun Aug 04, 2019 6:41 am
Forum: ESP8266 boards
Topic: Micropython crashing and rebooting every 9seconds
Replies: 22
Views: 446

Re: Micropython crashing and rebooting every 9seconds

That could be indeed be the culprit, if all boards come from the same batch. In the boards I have this pin is connected to a 10k or 12k pull-up resistor. If that one is omitted, the pin should be very sensitive to fluctuations. A chip internal Pull-Up is not mentioned, and might not be useful, since...
by Roberthh
Sat Aug 03, 2019 4:35 pm
Forum: ESP32 boards
Topic: disable_irq() error on ESP32
Replies: 2
Views: 81

Re: disable_irq() error on ESP32

Interrupt must be disabled only for a very short time. Otherwise the WDT will reboot the device. That's what you have seen.
A typical use case is:

Disable IRQ
Perform a short action
Enable IRQ
by Roberthh
Sat Aug 03, 2019 3:37 pm
Forum: ESP8266 boards
Topic: Micropython crashing and rebooting every 9seconds
Replies: 22
Views: 446

Re: Micropython crashing and rebooting every 9seconds

I still cannot believe that you got so many bad boards. So it would be interesting to consider, what in all your tests did not change (except yourself, of course). The PC you used for the connection? The USB port? Another thought I had: do connect directly or do you use an USB hub? The fault still l...