Search found 8 matches

by cranphin
Mon Aug 19, 2019 6:21 am
Forum: ESP-IDF
Topic: Using esp-idf framework for ESP8266?
Replies: 3
Views: 7247

Re: Using esp-idf framework for ESP8266?

I tried solving this by (trying to ?) disabling all irq's, which improves things. But still timing tends to be off sometimes.
Details and issue here: https://github.com/espressif/ESP8266_RT ... issues/680 :)
by cranphin
Mon Dec 17, 2018 4:57 pm
Forum: General Discussion
Topic: flash-programming using rfc2217
Replies: 6
Views: 9811

Re: flash-programming using rfc2217

For anyone interested, more info here:
https://github.com/espressif/esptool/issues/383
by cranphin
Mon Dec 17, 2018 4:54 pm
Forum: General Discussion
Topic: RMT based NeoPixels (WS2812B) flickers when WiFi is used
Replies: 24
Views: 41386

Re: RMT based NeoPixels (WS2812B) flickers when WiFi is used

Hi! I don't know if it will help, but be mindful that with this line: xTaskCreate(rainbow, "ws2812 rainbow demo", 4096, NULL, 10, NULL); The rainbow task might still run on any/either core. So I'd recommend using: xTaskCreatePinnedToCore(rainbow, "ws2812 rainbow demo", 4096, NULL, 10, NULL, 1); inst...
by cranphin
Sat Dec 01, 2018 4:10 pm
Forum: General Discussion
Topic: flash-programming using rfc2217
Replies: 6
Views: 9811

Re: flash-programming using rfc2217

[quote=kolban post_id=14184 time=1505616872 user_id=105] I think we can "chain" a solution together to do this with sftp, ssh, node.js or a variety of other tools without wandering into "old fashioned" (opinion) telnet based stories. [/quote] Hi! One reason to prefer the 'telnet' approach is to keep...
by cranphin
Sat Dec 01, 2018 4:01 pm
Forum: General Discussion
Topic: flash-programming using rfc2217
Replies: 6
Views: 9811

Re: flash-programming using rfc2217

[quote=ESP_igrr post_id=14185 time=1505624053 user_id=241] felted67: Have you tried using the rfc2217-server.py script from pyserial? I haven't tried it on Windows, but at least on Linux (raspbian) it works fine with esptool.py, allowing us to flash dev boards connected to a remote raspberry pi. [/q...
by cranphin
Sat Dec 01, 2018 4:00 pm
Forum: General Discussion
Topic: flash-programming using rfc2217
Replies: 6
Views: 9811

Re: flash-programming using rfc2217

This works for me using rfc2217_server.py, with some caveats: - The latest version of esptool that works is 2.4.1, after that they set a timeout, which is not supported by the python rfc2217 client library used. - Actually getting the board in flash mode does not work, so I manually need to press th...
by cranphin
Tue Oct 30, 2018 5:02 pm
Forum: General Discussion
Topic: RMT based NeoPixels (WS2812B) flickers when WiFi is used
Replies: 24
Views: 41386

Re: RMT based NeoPixels (WS2812B) flickers when WiFi is used

Right, I think I actually fixed my problem.. I created the interrupt handler (rmt_driver_install for RMT, digitalLeds_initStrands for the WS2812 library) from the main task (app_main), which apparently defaults to being on core 0. This also makes the interrupt handler being handled on core 0 (as doc...
by cranphin
Sat Oct 20, 2018 10:08 am
Forum: General Discussion
Topic: RMT based NeoPixels (WS2812B) flickers when WiFi is used
Replies: 24
Views: 41386

Re: RMT based NeoPixels (WS2812B) flickers when WiFi is used

Did this ever get resolved? I see the same issue, when sending MQTT, starting the sending just before, or during sending of RMT sequence (to drive ws2812 leds). Waiting while sending the RMT sequence (e.g. rmt_write_items(..,..,..,..,wait =TRUE)) and then sending MQTT after shows no issues, so it se...