Search found 34 matches

by Llwy
Mon Aug 22, 2016 8:04 pm
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 72933

Re: uPyLoader - simple file transfer and communication

Dear Beta_Ravener, Thank you for implementing this feature. I also get the same encoding error: C:\Users\Llwynog\Documents\ESP\uPyLoader>python3 main.py Traceback (most recent call last): File "C:\Users\Llwynog\Documents\ESP\uPyLoader\src\flash_dialog.py", line 101, in _update_output self.outputEdit...
by Llwy
Thu Aug 18, 2016 9:27 am
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 72933

Re: uPyLoader - simple file transfer and communication

I see.
Actually, I had to install Python3 myself solely to be able to run uPytLoader.
All my usual ecosystem is still Python 2.7.
by Llwy
Wed Aug 17, 2016 7:00 pm
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 72933

Re: uPyLoader - simple file transfer and communication

Dear Beta_Ravener,
Thank you, the new version works great.

One suggestion for new features: being able to drive esptool directly from uPyLoader. For example, having a "erase_flash" command and a "flash firmware" command after having selected a .bin file.

Llwy.
by Llwy
Thu Aug 11, 2016 7:19 am
Forum: ESP8266 boards
Topic: MemoryError when importing a custom module
Replies: 44
Views: 44417

Re: MemoryError when importing a custom module

Hello, Thanks for the tips. I never could get my frozen modules to work so I shelved the project until some kind of tutorial appears on the subject. In the mean time, I started to work on a simpler project and I cross my fingers to be able to complete it before I hit the memory barrier. Cheers, Lwy
by Llwy
Sun Jun 05, 2016 5:12 pm
Forum: ESP8266 boards
Topic: MemoryError when importing a custom module
Replies: 44
Views: 44417

Re: MemoryError when importing a custom module

Hello, I found the answer to my own question: The tool to check memory availability is micropython.mem_info() (you need to import the module micropython. It does not give you details module by module but if you run it before and after each import, it does give you an indication on what's happening. ...
by Llwy
Mon May 30, 2016 7:30 pm
Forum: ESP8266 boards
Topic: MemoryError when importing a custom module
Replies: 44
Views: 44417

Re: MemoryError when importing a custom module

Hello, I have been experimenting with the extended heap size firmware and I still do not have enough memory to load the whole module. Is there a way from the REPL to diagnose the available memory and the memory used by some module or another. I am kind of shooting in the dark currently by trying to ...
by Llwy
Thu May 19, 2016 5:31 am
Forum: ESP8266 boards
Topic: MemoryError when importing a custom module
Replies: 44
Views: 44417

Re: MemoryError when importing a custom module

Thank you very much.
I am on a business trip this week so I will try this out when I get back home on the weekend.

Llwy
by Llwy
Sat May 14, 2016 10:38 am
Forum: ESP8266 boards
Topic: MemoryError when importing a custom module
Replies: 44
Views: 44417

Re: MemoryError when importing a custom module

Dear Paul, Thank you for the invitation. I would be happy to open a ticket on Github if I could test my module first. There was not enough memory to load it with the official release version so you suggested me to try and build the master as you increased the heap size. I seem to have failed somewhe...
by Llwy
Wed May 11, 2016 10:18 pm
Forum: ESP8266 boards
Topic: MemoryError when importing a custom module
Replies: 44
Views: 44417

Re: MemoryError when importing a custom module

What you could read there is that WebREPL is no longer started on boot in the master branch, it should be started manually. Everything else should work as before. That part also I read before posting my original question. I did import and started manually webrepl before I attempted to connect to it...
by Llwy
Wed May 11, 2016 6:24 pm
Forum: ESP8266 boards
Topic: MemoryError when importing a custom module
Replies: 44
Views: 44417

Re: MemoryError when importing a custom module

yes I did try that: >>> uos.listdir() ['boot.py', 'port_config.py'] >>> f = open('port_config.py', 'r') >>> a = f.read() >>> a "WEBREPL_PASS = 'micropython'\n" I quadruple-checked the password and tried over 4 or five times with the same results. When I enter the password, I get "access denied" on t...