Search found 35 matches

by Beta_Ravener
Mon Aug 22, 2016 11:29 pm
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 72874

Re: uPyLoader - simple file transfer and communication

I am at home now... working on Linux Mint and have similar problems... look at picture... I have certainly no special characters in path only ASCII.... Ooops, actually the screen from your linux is showing another issue. I have, by mistake, hardcoded "COM3" port into rebooting routine that should b...
by Beta_Ravener
Mon Aug 22, 2016 3:01 pm
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 72874

Re: uPyLoader - simple file transfer and communication

Yeah, it means that esptool outputs some strange characters that can't be encoded into unicode (more specifically 0x80 and 0x90). As I didn't expect this to happen, there's unhandled exception that causes crash. The fix should be easy, I'm just wondering how those bytes can appear in the esptool's o...
by Beta_Ravener
Mon Aug 22, 2016 2:40 pm
Forum: ESP8266 boards
Topic: Sockets and OSError: -2
Replies: 10
Views: 12986

Re: Sockets and OSError: -2

I need to find a human readable version of "OSError: -2"....... I did some searching and I don't think this is possible. I think that `getaddrinfo` calls `lwip_getaddrinfo` from `micropython/extmod/modlwip.c` (because even ESP8266 readme says that "Sockets using modlwip"). So let's look at this cal...
by Beta_Ravener
Mon Aug 22, 2016 10:41 am
Forum: ESP8266 boards
Topic: Sockets and OSError: -2
Replies: 10
Views: 12986

Re: Sockets and OSError: -2

I have first tried running your command without network connection and indeed got the same error as you: >>> socket.getaddrinfo("towel.blinkenlights.nl", 23) Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: -2 However, when I connected to my home AP all went good: >>> ...
by Beta_Ravener
Mon Aug 22, 2016 1:34 am
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 72874

Re: uPyLoader - simple file transfer and communication

Ok I had some spare time to test the idea and got it working, so there is new version on GitHub that supports flashing via esptool. You can get check it out by going `File->Flash firmware` and there is more detailed description in Readme on how to use it. After successful flashing, you can directly ...
by Beta_Ravener
Sun Aug 21, 2016 11:29 am
Forum: ESP8266 boards
Topic: Adding libraries to the binary image
Replies: 6
Views: 5968

Re: Adding libraries to the binary image

I have just tested out of curiosity and sub-directories in modules seems to work too. More info: I have created sub-folder inside modules with following files: modules/sub/__init__.py modules/sub/test.py The init file is empty and I didn't test omitting it, but compiled it only has 48 bytes. The tes...
by Beta_Ravener
Thu Aug 18, 2016 1:08 pm
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 72874

Re: uPyLoader - simple file transfer and communication

Well, it's for a long discussion which one should be used. I like to develop new applications in Python3 if there are no dependency issues because it exists for a reason. Python2 should be considered legacy but the reality as you can see is different. I don't know why esptool is running on Python2, ...
by Beta_Ravener
Wed Aug 17, 2016 7:51 pm
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 72874

Re: uPyLoader - simple file transfer and communication

Great suggestion, I'll see what I can do about it. The problem is that when I tried to `pip install esptool` in my python3 environment, I got `RuntimeError("esptool.py only supports Python 2.x")`. On the other hand, the uPyLoader requires python3, so I think it won't be possible to just call esptool...
by Beta_Ravener
Wed Aug 17, 2016 1:01 pm
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 72874

Re: uPyLoader - simple file transfer and communication

Hi, I just wanted to notify everyone that new version with some major changes was committed. The changes are also reflected and described in README file, but I would like to stress to UART users that communication protocol has changed and you need to update the transfer scripts. This was required to...
by Beta_Ravener
Sat Aug 13, 2016 6:54 pm
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 72874

Re: uPyLoader - simple file transfer and communication

I gave it a try and it is quite interesting... It could evolve into the ESPlorer for uPython. But it's a Long way to Tipperary... ;) To install and make it working on ubuntu 14.04 I just did: sudo pip3 install pyserial sudo apt-get install python3-pyqt5 python3 main.py I will stick to webrepl_cli.p...