Search found 10 matches

by sedlacek.david
Fri Aug 17, 2018 11:30 pm
Forum: ESP8266 SDK
Topic: Rom function SPIRead() (esp8266, non os sdk)
Replies: 0
Views: 3213

Rom function SPIRead() (esp8266, non os sdk)

Hi, can I use the built in SDK ROM function to read 8 Bytes from address for example 0x81008 ? Do I have to call it from IRAM for example? I'd like know if there are any constraints like address that it can read. The only known limitation is that the address has to by 4-Bytes aligned. Assuming that ...
by sedlacek.david
Wed Aug 15, 2018 4:00 pm
Forum: General Q&A
Topic: ESP8266 - two sdk applications
Replies: 3
Views: 2821

Re: ESP8266 - two sdk applications

Hi, thank you for your reply!

I've been scrutinizing how does it work and it is clear now. I have to load the cca 3 volatile sections (IRAM/DRAM..) and reset the stack manually from the FLASH before jumping into my application.
by sedlacek.david
Wed Aug 15, 2018 3:32 pm
Forum: ESP8266 SDK
Topic: LoadStoreErrorCause help
Replies: 5
Views: 1929

Re: LoadStoreErrorCause help

Thank you for your reply.

So there is nothing wrong with it. What I have to do now is refactor some of my C structures mapping some UINT8 stuff stored in the FLASH.
by sedlacek.david
Wed Aug 15, 2018 1:15 am
Forum: ESP8266 SDK
Topic: LoadStoreErrorCause help
Replies: 5
Views: 1929

Re: LoadStoreErrorCause help

Can someone help?
by sedlacek.david
Sun Aug 05, 2018 11:31 pm
Forum: General Q&A
Topic: ESP8266 non OS: Fatal exception 3(LoadStoreErrorCause)
Replies: 1
Views: 2864

ESP8266 non OS: Fatal exception 3(LoadStoreErrorCause)

Can somebody help. Have an ESP8266 with 4MB of external memory. It works well except this. Have following structure: #pragma pack(push, 1) typedef struct { UINT32 magicNumber; UINT32 length; UINT32 crc16; UINT32 applicationMajorVersion; UINT32 applicationMinorVersion; } applicationHeader_t; #pragma ...
by sedlacek.david
Sun Aug 05, 2018 10:21 pm
Forum: ESP8266 SDK
Topic: LoadStoreErrorCause help
Replies: 5
Views: 1929

Re: LoadStoreErrorCause help

I'm probably facing the same problem. Have 4MBytes of flash. I can declare a variable like const char * p = 0x40280000 and read it like int x = *p . This works. But when I have a pointer like this: UINT32 addr = 0x40280000; const char * p = (const char *)addr; it will crash: Fatal exception 3(LoadSt...
by sedlacek.david
Tue Jul 24, 2018 4:37 pm
Forum: General Q&A
Topic: ESP8266 - two sdk applications
Replies: 3
Views: 2821

ESP8266 - two sdk applications

Hi. A simple question. Can I have two NON OS SDK applications on a single esp8266? My custom bootloader (including os libs) and my custom application (also including os libs). Don't want share the libs because of the potential complexity of whole solution. I can imagine I'll have two iroms in flash....
by sedlacek.david
Sun Jul 22, 2018 1:48 am
Forum: ESP8266 SDK
Topic: [ESP8266_NONOS_SDK-2.2.1] undefined reference to `__wrap_system_restart_local'
Replies: 1
Views: 824

Re: [ESP8266_NONOS_SDK-2.2.1] undefined reference to `__wrap_system_restart_local'

Just in case someone would be interested in the future. The problem was that I copied someone's C flags and among the others there were the two missing functions!!! Omg. I spent five days scrutinising what is wrong. Yep. Five days gone. Now everything works fine!! -Wl,-wrap,system_restart_local -Wl,...
by sedlacek.david
Sat Jul 21, 2018 8:29 pm
Forum: General Q&A
Topic: Fatal Exception 28
Replies: 0
Views: 4238

Fatal Exception 28

Hi, I managed to get SOME result with NON OS SDK, but it basically don't work as expected. Have ESP8266, 4MB of flash, NON OS sdk 2.2.1. Here is the error output I'm getting: ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x3ffe8000, len 884, room 16 tail 4 chksum 0x9d load 0x3ffe8380, len 808, ro...
by sedlacek.david
Thu Jul 12, 2018 2:11 pm
Forum: ESP8266 SDK
Topic: [ESP8266_NONOS_SDK-2.2.1] undefined reference to `__wrap_system_restart_local'
Replies: 1
Views: 824

[ESP8266_NONOS_SDK-2.2.1] undefined reference to `__wrap_system_restart_local'

Hi, I'm porting my project to the ESP8266 platform. Everything seems to be fine, except that during linking the linker can't find these functions: __wrap_register_chipv6_phy __wrap_system_restart_local Am I missing some libraries? The complete error output is below. Thank you very much, David. C:/ES...

Go to advanced search