Search found 108 matches

by jms
Mon Sep 05, 2016 10:11 am
Forum: ESP8266 boards
Topic: Basic Wifi Communication with the ESP8266?
Replies: 9
Views: 10465

Re: Basic Wifi Communication with the ESP8266?

Learn network programming with sockets (the socket module) using normal machines not the ESP8266 which has many quirks.

Jon
by jms
Sun Aug 28, 2016 7:05 am
Forum: ESP8266 boards
Topic: Sending mails with esp8266 and micropython
Replies: 11
Views: 12587

Re: Sending mails with esp8266 and micropython

In practice you'll find this really difficult to get right and not break at some time in the future when somebody flicks a switch, perhaps disabling a cipher, on a relay. Use the ESP to do I/O, talk the simplest protocol and nothing else.

Jon
by jms
Fri Aug 26, 2016 3:19 pm
Forum: ESP8266 boards
Topic: Invalid boot sector?
Replies: 8
Views: 7880

Re: Invalid boot sector?

However, if I read the full contents of my ESP-01 (all 1MB) and then write those contents back to my ESP-12, my file system is fully in tact and I can use the ESP-12 normally. Then you should read the contents of your ESP-12 as well and compare the two. That should reveal whether it's a small numbe...
by jms
Fri Aug 26, 2016 9:19 am
Forum: ESP8266 boards
Topic: uSD card support for ESP266
Replies: 11
Views: 9532

Re: uSD card support for ESP266

I don't think this was there a few weeks ago. I'll have to look at trying to use it with SPIFFS. One problem is the difference between a flash device and a block device. Would also be good to have the ability to partition (pass numbers to chop up the flashbdev at runtime). Another is that FATFS is s...
by jms
Thu Aug 25, 2016 3:06 pm
Forum: ESP8266 boards
Topic: Invalid boot sector?
Replies: 8
Views: 7880

Power supply decoupling Re: Invalid boot sector?

Not saying it's the problem here but I want to scribble a quick note on power supply decoupling. It's not about what current the power supply can deliver (which will almost always be enough as the ESP takes 300mA max) or its own capacitors. It is about decoupling to deal with demand changes roughly ...
by jms
Thu Aug 25, 2016 12:51 pm
Forum: ESP8266 boards
Topic: Cross Compiler only
Replies: 14
Views: 14873

Re: Cross Compiler only

Use this as has been said. http://www.kaltpost.de/~wendlers/micropython/ You shouldn't even need build-essential just "make" and the SDK. The new Windows 10 thing is just a shell and some other bits and pieces in fact a lot like Cygwin. I somewhat doubt it'll actually run Linux binaries, for which y...
by jms
Thu Aug 25, 2016 12:46 pm
Forum: ESP8266 boards
Topic: Error 13, access denied
Replies: 1
Views: 2332

Re: Error 13, access denied

You need to be more specific.

The "permission denied" comes from what (the module, your computer) when you do what ?

Please include a transcript, description of what is connected to what and why you think it's broken.
by jms
Tue Aug 23, 2016 6:20 pm
Forum: ESP8266 boards
Topic: SPIFFS test release
Replies: 2
Views: 4679

Re: SPIFFS test release

Well I've stuck the source corresponding to my release on github except haven't included spiffs itself (which should be cloned into the micropython directory) as didn't fancy playing with submodules right now. Also testing a clone into a clean directory gives me trouble as I have to make -C mpy-cros...
by jms
Tue Aug 23, 2016 5:14 pm
Forum: ESP8266 boards
Topic: Socket behaviour: advice sought
Replies: 6
Views: 5033

Re: Socket behaviour: advice sought

The thing that retries if not acknowledged is in the Wi-Fi standard. It applies to all non-multicast data frames. But this is of no significance in the presence of the Pi effect mentioned and I have seen bunchy data loss though less so recently which could be down to better drivers (Broadcom firmwar...
by jms
Tue Aug 23, 2016 2:54 pm
Forum: ESP8266 boards
Topic: Socket behaviour: advice sought
Replies: 6
Views: 5033

Re: Socket behaviour: advice sought

Many things going on. A subscription-based service. Inherently likely to miss things. A piece of kit which just isn't completely robust and runs a lightweight IP stack. Let me just mention the word lightweight again. Wi-Fi Your ISP and router with NAT to the outside (ISP reset can break internal tra...