Search found 159 matches

by AgentSmithers
Tue Jun 11, 2019 5:04 am
Forum: ESP8266 SDK
Topic: EPC Crashing
Replies: 0
Views: 42

EPC Crashing

When the chip crashes with NONOS SDK does the EPC pointer point to the address in the .bin binary file?
What application do you recommend to decompile the ASM instructions inside the .BIN?
by AgentSmithers
Sat May 11, 2019 6:19 am
Forum: ESP8266 SDK
Topic: can espconn_send transmit expand 1024Byte?
Replies: 2
Views: 180

Re: can espconn_send transmit expand 1024Byte?

Yeah, depending on how your write your Global Heap Var's they can be a burden on your memory so if you need to send Buffers of some sort via TCP, You normally want to do something like this Char * MyFirstBuf Char * MySecBuf then in your function Malloc and free when needed. This is course better the...
by AgentSmithers
Wed May 08, 2019 12:48 am
Forum: ESP8266 SDK
Topic: Support for WPA2 Enterprise EAP-PWD
Replies: 4
Views: 1968

Re: Support for WPA2 Enterprise EAP-PWD

In order to implement EAP-PWD don't you need access to the 802.11 Frames. I guess so, yes. But since there are lots of projects like the wifi deather, I don't think sending raw frames / management frames is an issue... But I'm not sure. e.g. https://github.com/spacehuhn/esp8266_deauther I just trie...
by AgentSmithers
Tue May 07, 2019 2:33 pm
Forum: ESP8266 SDK
Topic: undefined reference to `wifi_set_event_hander_cb'
Replies: 0
Views: 128

undefined reference to `wifi_set_event_hander_cb'

*Update* Hander was a typo of Handler. This issue is resolved. watch your copying and pasting out there kids! Has anyone gotten this code to work? Wifi_Set_Event_Hander_CB In file included from Main.c:3:0: /home/osboxes/esp-open-sdk/xtensa-lx106-elf/xtensa-lx106-elf/sysroot/usr/include/osapi.h:65:6:...
by AgentSmithers
Wed Apr 17, 2019 1:51 am
Forum: ESP8266 SDK
Topic: ets_putc and VAlist with PrintF
Replies: 0
Views: 144

ets_putc and VAlist with PrintF

Anyone know how to get vasprintF to operate? I am trying to hook os_printf() to allow it to pass through multiple functions however I can't seem to get the VA list to render correctly via passing as arg to a nested function.. For my function below I keep getting undefined but when I replace it with ...
by AgentSmithers
Mon Apr 08, 2019 7:26 am
Forum: ESP8266 SDK
Topic: dev 1153 ?
Replies: 8
Views: 1301

Re: dev 1153 ?

Well done! I think I've experienced this before so Ill note it.
by AgentSmithers
Tue Mar 19, 2019 7:14 am
Forum: ESP8266 SDK
Topic: Writing SPI data to Address 0x710fe
Replies: 2
Views: 323

Re: Writing SPI data to Address 0x710fe

So after a bunch of reading of https://www.espressif.com/sites/default/files/documentation/2c-esp8266_non_os_sdk_api_reference_en.pdf and https://www.pjrc.com/teensy/W25Q128FV.pdf Along with debug testing it seems I can pretty much write anywhere I want with any length of bytes as long as its less t...
by AgentSmithers
Mon Mar 18, 2019 12:37 pm
Forum: ESP8266 SDK
Topic: Writing SPI data to Address 0x710fe
Replies: 2
Views: 323

Re: Writing SPI data to Address 0x710fe

May need to adjust my code here but yea looks like there may be a 256 byte segment in the SPI flash? os_printf("stackptr is %x remainder is %u", SPIStackWritePtr, (SPIStackWritePtr % 0x100)); if (SPIStackWritePtr % 0x100 < 4 ) { os_printf("stackptr is %x setting to +%u\r\n", SPIS...
by AgentSmithers
Mon Mar 18, 2019 12:07 pm
Forum: ESP8266 SDK
Topic: Writing SPI data to Address 0x710fe
Replies: 2
Views: 323

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: 259

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.
:(

Go to advanced search