Search found 7 matches

by cranphin
Wed Aug 14, 2019 5:02 am
Forum: ESP8266 SDK
Topic: How to guard time critical sections from RTOS interrupts?
Replies: 3
Views: 818

Re: How to guard time critical sections from RTOS interrupts?

Still a small update, I'm using the code below now, and -still- I get small 10us delays in my time critical section :) (At the same time, MQTT WiFi sends are running) Task which runs the code: const BaseType_t ret = xTaskCreate(ds_task, "ds_task", 2048, NULL, // See https://docs.espressif....
by cranphin
Sun Aug 11, 2019 10:21 pm
Forum: ESP8266 SDK
Topic: How to guard time critical sections from RTOS interrupts?
Replies: 3
Views: 818

Re: How to guard time critical sections from RTOS interrupts?

Small update, that still doesn't work so well if you start transmitting data over wifi :) What does seem to work is including <xtensa/xtruntime.h>, and replacing taskENTER_CRITICAL/taskEXIT_CRITICAL with: uint32_t savedLevel = XTOS_DISABLE_ALL_INTERRUPTS; XTOS_RESTORE_INTLEVEL(savedLevel); It does m...
by cranphin
Tue Jul 23, 2019 5:54 am
Forum: ESP8266 SDK
Topic: How to guard time critical sections from RTOS interrupts?
Replies: 3
Views: 818

Re: How to guard time critical sections from RTOS interrupts?

I'm having similar issues. What did work for me is setting the task at the highest priority (Above wifi task), in my case 15.
But this is not recommended :)

See also (for system task prio's): https://docs.espressif.com/projects/esp ... tasks.html
by cranphin
Fri May 27, 2016 11:42 pm
Forum: Report Bugs
Topic: ESP-12(E?) On NodeMcu, wifi works on SDK NONOS until 1.3.0, doesn't work on 1.4.0 and higher
Replies: 4
Views: 4424

Re: ESP-12(E?) On NodeMcu, wifi works on SDK NONOS until 1.3.0, doesn't work on 1.4.0 and higher

Hi! I have two plain ESP-12's on simple breakout boards, I've run the same tests on those, and they don't show this symptom. I only see this problem on the NodeMcu 1.0 which likely has a ESP-12E on it. I think it might not be 'just' a faulty module though, because version 1.3.0 and lower SDK works f...
by cranphin
Tue May 24, 2016 11:17 pm
Forum: Report Bugs
Topic: ESP-12(E?) On NodeMcu, wifi works on SDK NONOS until 1.3.0, doesn't work on 1.4.0 and higher
Replies: 4
Views: 4424

Re: ESP-12(E?) On NodeMcu, wifi works on SDK NONOS until 1.3.0, doesn't work on 1.4.0 and higher

Hi! Thank you for your attention :) I have done as you requested (of course I have tried this before ;) ), and it did not resolve the problem sadly.. Screenshots as requested: flash1.jpg flash2.jpg flash3.jpg Log after flashing: ready AT OK AT+GMR AT version:1.1.0.0(May 11 2016 18:09:56) SDK version...
by cranphin
Mon May 23, 2016 11:35 pm
Forum: ESP8266 SDK
Topic: WiFi Stability issues with non-os SDK 1.4 and 1.5
Replies: 11
Views: 10758

Re: WiFi Stability issues with non-os SDK 1.4 and 1.5

Hi!

Any luck resolving this? :)
It feels like it might (mayby!) touch the issue I'm having: viewtopic.php?f=66&t=2203
I have sometimes wifi, sometimes not, using 1.4.0 and any higher firmware on a ESP-12E, works fine on 1.3.0 and lower.

Cheers!
by cranphin
Sun May 22, 2016 8:12 am
Forum: Report Bugs
Topic: ESP-12(E?) On NodeMcu, wifi works on SDK NONOS until 1.3.0, doesn't work on 1.4.0 and higher
Replies: 4
Views: 4424

ESP-12(E?) On NodeMcu, wifi works on SDK NONOS until 1.3.0, doesn't work on 1.4.0 and higher

Hi! I bought this: http://www.ebay.com/itm/201542946669 (NodeMcu 1.0 with a esp-12E, I think). The exact ESP-12 type isn't mentioned, but it looks like an E to me. With any firmware built with SDK <= 1.3.0 wifi works fine on it (this includes NodeMcu 0.9.5, AT 1.3.0, and custom built firmwares). Wit...

Go to advanced search