Search found 52 matches

by eradicatore
Sun Jun 18, 2017 1:15 am
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 71371

Re: uPyLoader - simple file transfer and communication

Interesting, so I grabbed the mpy-cross.exe from @Roberthh (Thanks Robert!!!!) and it worked great (after I grabed the pycom version, which I'm not familiar with but I guess my nodeMCU is running the pycom version?). But, I learned that you can't use it for main.py. So is the best way to just put a ...
by eradicatore
Sat Jun 17, 2017 8:59 pm
Forum: ESP8266 boards
Topic: uPyLoader - simple file transfer and communication
Replies: 54
Views: 71371

Re: uPyLoader - simple file transfer and communication

THANK YOU THANK YOU THANK YOU THANK YOU !!! This is sooooooo much better than ampy !! I can't thank you enough. I haven't tried the bytecode setup yet, will do that next. Few minor comments: - would be nice to remember my com port, every time I disconnect it goes back to com3 and if I try to connect...
by eradicatore
Fri May 05, 2017 4:04 pm
Forum: ESP8266 boards
Topic: Getting ENOMEM error after several calls to urequests.post()
Replies: 3
Views: 4404

Re: Getting ENOMEM error after several calls to urequests.post()

Nailed it. <embarrassed look> Thanks for helping me with the typical mistake. I'll try to take this to heart now and read my interfaces a bit more. I was actually thinking they should update the i2c section of the help docs to mention the pull up resistors that are commonly needed and are NOT suppli...
by eradicatore
Fri May 05, 2017 3:32 am
Forum: ESP8266 boards
Topic: Getting ENOMEM error after several calls to urequests.post()
Replies: 3
Views: 4404

Getting ENOMEM error after several calls to urequests.post()

Hi all, I'm running a nodeMCU setup where every 30 seconds I'm calling urequests.post() to post a bit of data to influxdb running on a raspberry pi. It works great for 5-10 minutes and then it starts getting ENOMEM errors and resets eventually. I tried doing a gc.collect() along with my calls to pos...
by eradicatore
Fri May 05, 2017 3:23 am
Forum: ESP8266 boards
Topic: problems entering raw repl (needs 2 Ctrl-A's?)
Replies: 10
Views: 15252

Re: problems entering raw repl (needs 2 Ctrl-A's?)

I'll have to check that out. But just from the description it doesn't seem to me it would be something like this. My setup works 100% on the second try to ampy. I've even noticed that if I start ampy, and abort it after a few seconds then the second one passes 100%. So I don't have to wait for ampy ...
by eradicatore
Wed May 03, 2017 3:32 am
Forum: ESP8266 boards
Topic: How can I trap socket errors?
Replies: 13
Views: 20255

Re: How can I trap socket errors?

Thanks all for the great help on this. Helped me avoid having my nodeMCU basically lock up on a monitoring application I have it doing and updating to influx with urequests.post().
by eradicatore
Wed May 03, 2017 2:03 am
Forum: ESP8266 boards
Topic: problems entering raw repl (needs 2 Ctrl-A's?)
Replies: 10
Views: 15252

Re: problems entering raw repl (needs 2 Ctrl-A's?)

Yes, I get a different error (COM12 in use) if I don't exit out of the terminal. And note I'm not using pyboard.py directly. I am using "ampy" from Adafruit which seems like the built off of other open source stuff. The command line is

ampy put main.py
by eradicatore
Sat Apr 29, 2017 2:29 pm
Forum: ESP8266 boards
Topic: Am I running out of RAM in this example?
Replies: 5
Views: 4850

Re: Am I running out of RAM in this example?

Thanks @Roberthh! So I tried splitting it up into two strings, no luck. I haven't played around with it more yet, but will let you know if I figure it out. Ampy seems very reliable for the most part, so maybe I will try to see if the file is really being partially written by checking it manually? I ...
by eradicatore
Sat Apr 29, 2017 2:24 pm
Forum: ESP8266 boards
Topic: problems entering raw repl (needs 2 Ctrl-A's?)
Replies: 10
Views: 15252

Re: problems entering raw repl (needs 2 Ctrl-A's?)

Hi, So I've been using Adafruit's "ampy" tool to put main.py file into the nodeMCU and it works great. But I noticed this same issue with pyboard.py where if I used the command line from micropython with a serial terminal (teraterm vt in my case) then I always had to run ampy TWICE to get it to work...
by eradicatore
Sun Apr 23, 2017 1:26 am
Forum: ESP8266 boards
Topic: Am I running out of RAM in this example?
Replies: 5
Views: 4850

Am I running out of RAM in this example?

Here is my code that I'm loading into a NODEMCU which I believe has 32MB of Flash, but not sure how much RAM (is it always 96Kb?). Thing were going great, I was loading this code as "main.py" with Adafruit's "ampy" and testing often. The web page was serving up great, and then I added all the variou...