Search found 171 matches

by AgentSmithers
Mon Mar 18, 2019 12:07 pm
Forum: ESP8266 SDK
Topic: Writing SPI data to Address 0x710fe
Replies: 2
Views: 877

Writing SPI data to Address 0x710fe

Hey guys, I wanted to ping you.. I am currently optimizing my SPI write functions to handle writing data to the chip and am running into a snag. Is there a limitation of 4-byte alignment only when crossing a boundary of the memory of the value 0x100? Let me try to rephrase, If I write 6 bytes to the...
by AgentSmithers
Tue Mar 12, 2019 7:41 am
Forum: ESP8266 SDK
Topic: os_malloc and os_zallc HANGs forever and Triggers WDT
Replies: 1
Views: 686

Re: os_malloc and os_zallc HANGs forever and Triggers WDT

I found the issue. After many burned hours I found that a buffer overflow was occurring.. To recreate the WDT issue, Alloc 8 bytes, write 9 then alloc again.. should hang indef due to a boundary pointer more than likely being overwritten.
:(
by AgentSmithers
Sun Mar 10, 2019 7:45 am
Forum: ESP8266 SDK
Topic: os_malloc and os_zallc HANGs forever and Triggers WDT
Replies: 1
Views: 686

os_malloc and os_zallc HANGs forever and Triggers WDT

Hi Everyone, Anyone knows the underlying reason on why or how malloc and zalloc hang when exhausted out of memory vs. returning NULL or failure. It's hanging at that point then the WDT kicks off and if I disable the WDT both Software and Hardware it hangs forever and never returns. I was hoping it j...
by AgentSmithers
Fri Mar 08, 2019 12:28 am
Forum: ESP8266 SDK
Topic: WDT kicked off by OS_PRINTF
Replies: 2
Views: 858

Re: WDT kicked off by OS_PRINTF

To resolve this, avoid recursive functions. I had to craft a while loop to replace my function call with logic that would emulate the function call within the loop. Instead of the function being able to chunk out 60 or so in the work queue it was able to do several 100 before the chip's WDT actually...
by AgentSmithers
Wed Mar 06, 2019 2:43 am
Forum: ESP8266 SDK
Topic: WDT kicked off by OS_PRINTF
Replies: 2
Views: 858

Re: WDT kicked off by OS_PRINTF

So in my function I only allocate one Variable with the char buffer[4] that remains open and called to itself will then allocate another 4 bytes at a time growing in size until the end of the stack is meet then everything is freed. The issue is coming a bit more clear now after adjusting the buffer ...
by AgentSmithers
Tue Mar 05, 2019 7:45 am
Forum: ESP8266 SDK
Topic: WDT kicked off by OS_PRINTF
Replies: 2
Views: 858

WDT kicked off by OS_PRINTF

Hi Everyone! I am having quite a strange issue. I am getting the WDT kicked off when calling a function that transverses and calls itself drilling through nodes. About 20-30 times in on calling itself the function enter and then calls system_soft_wdt_feed to reset the WDT and then does a printf to d...
by AgentSmithers
Tue Feb 26, 2019 8:18 am
Forum: ESP8266 SDK
Topic: How to do a secure OTA?
Replies: 4
Views: 1090

Re: How to do a secure OTA?

Hi FMuller! I wanted to chime in again to at least let you there are eyes on your post. I'm running up for implementing SSL for the 8266 here pretty shortly as I recall there are a few API calls that are needed and an SSL Base64key needing to be injected into the C Source code. I may be wrong on thi...
by AgentSmithers
Sat Feb 23, 2019 5:48 am
Forum: ESP8266 SDK
Topic: Problem with OTA example
Replies: 4
Views: 1249

Re: Problem with OTA example

Thanks for your reply AgentSmithers! I was actually just able to figure out what was going on. Turned out that the OTA example provided by ESP works just fine. The issue was coming from the fact that the flash we were using wasn't 4MBytes but 4Mbits... The chip had been selected before I started wo...
by AgentSmithers
Sat Feb 23, 2019 2:41 am
Forum: ESP8266 SDK
Topic: Problem with OTA example
Replies: 4
Views: 1249

Re: Problem with OTA example

Hi FMuller, Sadly I'm a NONOS SDK guy so I don't have any insight on this one. But if things don't get moving for you or you don't resolve it in a week, I'll come check back here and we can do a remote session to get another set of eyes on it for you.
-Agent
by AgentSmithers
Tue Feb 12, 2019 2:33 pm
Forum: ESP8266 SDK
Topic: RTC with ESP8266 NONOS-SDK
Replies: 0
Views: 1574

RTC with ESP8266 NONOS-SDK

https://datasheets.maximintegrated.com/en/ds/DS1302.pdf So, One of the issues I am trying to tackle is a problem with Battery Usage. I have a thought about maybe pairing up the ESP8266 with this chip and have it hold the RTC but the ESP even in deepsleep only takes 20UA where the DS1302 takes just u...

Go to advanced search