Search found 5 matches

by smbgaiden
Wed Nov 08, 2017 3:52 am
Forum: Report Bugs
Topic: Memory Address Access Bugs
Replies: 0
Views: 74

Memory Address Access Bugs

Dear EspressIf, Reporting bootrom memory access bugs. Environment: String and binary literals loaded into flash above 0x40210000. Use os_memcpy or os_printf with the binary or string literals as the source and RAM address as the destination. Calling will crash the esp8266. The exception will occur b...
by smbgaiden
Thu Oct 19, 2017 6:31 am
Forum: ESP8266 SDK
Topic: LoadStoreErrorCause help
Replies: 1
Views: 96

Re: LoadStoreErrorCause help

Oh correction... the p[0] was actually int pointers. Seems you can't use l8 functions with SPI Flash addresses. When I recast the int * to char * and try to printf with %c p[0] and etc it will crash.
by smbgaiden
Thu Oct 19, 2017 5:06 am
Forum: ESP8266 SDK
Topic: LoadStoreErrorCause help
Replies: 1
Views: 96

LoadStoreErrorCause help

Hi All, I've written some strings into spi flash and then try to access using the virtual memory addressing and have a weird behavior that I can't figure out how to cope with. Flashed my equal sized strings with esptool.py to 0x80000. Verified they're there via two ways: A. char* p = (char *)0x40280...
by smbgaiden
Thu Oct 19, 2017 1:37 am
Forum: ESP8266 SDK
Topic: vsprintf, vsnprintf
Replies: 8
Views: 3123

Re: vsprintf, vsnprintf

Thank you, to update the thread this stdarg.h did solve my problem.
by smbgaiden
Wed Oct 18, 2017 8:23 am
Forum: ESP8266 SDK
Topic: vsprintf, vsnprintf
Replies: 8
Views: 3123

Re: vsprintf, vsnprintf

Does anyone have advice on how to replicate this functionality? I have nonOS SDK 2.1 with the xtensa includes from https://github.com/esp8266/esp8266-wiki/raw/master/include.tgz and using the crosstool-NG from jcmvbkbc. None of these produces a stdarg.h file to define va_list, va_start, va_arg, or v...

Go to advanced search