Search found 6 matches

by amartino
Wed May 17, 2017 1:19 pm
Forum: ESP8266 boards
Topic: Flashing micropython on Wemos D1 Mini Pro
Replies: 33
Views: 28875

Re: Flashing micropython on Wemos D1 Mini Pro

Here is what I've experienced. This successfully flashes the D1 mini (but isn't usable for the PRO) esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect 0 esp8266-20170108-v1.8.7.bin This successfully flashes the D1 mini PRO esptool.py -p /dev/ttyUSB0 write_flash -fm dio -fs ...
by amartino
Sun Feb 26, 2017 1:17 pm
Forum: ESP8266 boards
Topic: Debugging wifi connectivity
Replies: 1
Views: 1580

Re: Debugging wifi connectivity

I've just discovered something peculiar :) The code below: import machine import network import time from umqtt.simple import MQTTClient led = machine.Pin(D1, machine.Pin.OUT) button = machine.Pin(D0, machine.Pin.IN) sta_if = network.WLAN(network.STA_IF) ap_if = network.WLAN(network.AP_IF) ap_if.act...
by amartino
Fri Feb 24, 2017 9:27 am
Forum: ESP8266 boards
Topic: Debugging wifi connectivity
Replies: 1
Views: 1580

Debugging wifi connectivity

Hi there, I've suddenly experienced that most all three ESP8266 boards (WeMod D1 mini) have stopped connecting to the Wifi. Below is the code, stripped to the network related parts, that was successfully used to connect before: import network sta_if = network.WLAN(network.STA_IF) ap_if = network.WLA...
by amartino
Tue Feb 21, 2017 11:12 am
Forum: ESP8266 boards
Topic: Including libraries in the built image
Replies: 1
Views: 902

Including libraries in the built image

Hi, I'm just in the process of building the micropython esp8266 image from source and have managed to do so for the core image by following these steps on Ubuntu 16.10. mkdir micropython-contribute cd micropython-contribute/ sudo apt-get install make unrar-free autoconf automake libtool gcc g++ gper...
by amartino
Tue Feb 21, 2017 1:02 am
Forum: Development of MicroPython
Topic: Is micropython-lib included into micropython?
Replies: 4
Views: 1392

Is micropython-lib included into micropython?

Hi there, I have built micropython from source for the esp8266 using the following steps on Ubuntu 16.10. mkdir micropython-contribute cd micropython-contribute/ sudo apt-get install make unrar-free autoconf automake libtool gcc g++ gperf \ flex bison texinfo gawk ncurses-dev libexpat-dev python-dev...
by amartino
Mon Feb 20, 2017 11:04 am
Forum: General Discussion and Questions
Topic: Print exceptuons from main.py to serial
Replies: 1
Views: 896

Print exceptuons from main.py to serial

Hello all :)

Is there a way to have the exceptions in main.py be printed on the serial console?
This is the best idea I have so far for debugging non reproducible issues with main.py