Search found 73 matches

by warren
Wed Jul 27, 2016 12:25 pm
Forum: ESP8266 boards
Topic: why os.listdir return ENODEV
Replies: 28
Views: 12158

Re: why os.listdir return ENODEV

To sum stuff (yep, this needs to be compiled into complete instructions): You have to use --flash_size=8m or more when flashing MicroPython binary. pfalcon, I am confused! I was originally using the style of flashing command: esptool.py -p /dev/ttyUSB0 --baud 115200 write_flash --flash_size=8m 0 bl...
by warren
Tue Jul 26, 2016 3:54 pm
Forum: ESP8266 boards
Topic: why os.listdir return ENODEV
Replies: 28
Views: 12158

Re: why os.listdir return ENODEV

OK this has affected me now as well - but I think I know why it happened. This is the output I get when I flash the board: Performing initial setup Traceback (most recent call last): File "_boot.py", line 11, in <module> File "inisetup.py", line 37, in setup File "inisetup.py", line 9, in wifi OSErr...
by warren
Mon Jul 25, 2016 5:38 pm
Forum: ESP8266 boards
Topic: Robustness of file system?
Replies: 9
Views: 4056

Robustness of file system?

I'd be interested to know if people have experienced file system corruption as a result of simply executing some code. This is as opposed to a system crash, or rebooting it when it is anyway doing some file system work. The latter case is to be expected - many OS can damage the file system if they a...
by warren
Mon Jul 25, 2016 5:24 pm
Forum: ESP8266 boards
Topic: Reformatting the file system?
Replies: 2
Views: 1120

Re: Reformatting the file system?

deshipu wrote:You can look at the code in _boot.py that does it.
Thanks.

I tried a bit of hacking on it but so far have only succeeded in trashing the file system!

I'll work on it some more...
by warren
Sun Jul 24, 2016 9:22 pm
Forum: ESP8266 boards
Topic: Reformatting the file system?
Replies: 2
Views: 1120

Reformatting the file system?

I am investigating the possibilities for deploying ESP chips with Micropython in situations where it would not be practical to physically retrieve the chip and reflash it just because it trashed the file system. How do I get Micropython to reformat the file system without having to reflash? Obviousl...
by warren
Sun Jul 24, 2016 8:55 pm
Forum: ESP8266 boards
Topic: Geekcredit "chinaboard" knockoff load problems
Replies: 12
Views: 4158

Re: Geekcredit "chinaboard" knockoff load problems

@warren Let's please not fuck with Adafruit. They are an amazingly good force in our community of makers. They also distribute the Pyboard. Let's talk to Damien about this before we go and piss them off. I was only suggesting a mildly tongue-in-cheek way of getting their attention . It's precisely ...
by warren
Sun Jul 24, 2016 7:21 pm
Forum: ESP8266 boards
Topic: esp8266 make error
Replies: 9
Views: 4318

Re: esp8266 make error

If you have a system where you are accustomed to having to SUDO to do some things, you might want to check this out: Assuming you want to add modules to the firmware build, it works first time - the modules are added. But then if you remove modules (from ESP8266/modules) or change the content of exi...
by warren
Sun Jul 24, 2016 6:39 am
Forum: ESP8266 boards
Topic: Geekcredit "chinaboard" knockoff load problems
Replies: 12
Views: 4158

Re: Geekcredit "chinaboard" knockoff load problems

Personally I don't think that Adafruit cares about MicroPython at all. Their tutorial for compiling MicroPython for the ESP8266 comes in the top of Google search results, yet it is hopelessly outdated and simply doesn't work. Like every net-company staffed by young and trendies, they will be suscep...
by warren
Sun Jul 24, 2016 6:34 am
Forum: ESP8266 boards
Topic: Geekcredit "chinaboard" knockoff load problems
Replies: 12
Views: 4158

Re: Geekcredit "chinaboard" knockoff load problems

What are the prospects of these nodeMCU type boards eventually being made available pre loaded with python - similar to the pyboard? Hi Ridley, I sympathise with you. I have done a lot of commercial and hobbyist hacking/electronics/programming over quite a period of time. But getting to a stable si...
by warren
Sat Jul 23, 2016 4:59 pm
Forum: ESP8266 boards
Topic: i2c multi-byte read for ESP8266? (e.g. RTC1307)
Replies: 18
Views: 6403

Re: i2c multi-byte read for ESP8266? (e.g. RTC1307)

I was just wondering how this topic has developed...

Does anyone now have some working stable code for getting values from an I2C RTC module (like the DS1307)?