Search found 25 matches

by sharkx
Wed Mar 01, 2017 1:44 pm
Forum: ESP8266 SDK
Topic: Reboot after firmware update issue
Replies: 2
Views: 344

Re: Reboot after firmware update issue

Forgot to mention SDK version is 1.3.0.
I know it's old but I cannot upgrade as my older modules (the ones with 512kb flash) cannot accomodate my firmware.
by sharkx
Wed Mar 01, 2017 1:42 pm
Forum: ESP8266 SDK
Topic: Reboot after firmware update issue
Replies: 2
Views: 344

Reboot after firmware update issue

Context : my own OTA update is in place and correctly working on my old modules (ESPs 07 with 512kb flash); when the flashing is completed, the following sequence is executed (as per documentation), and everything works as expected. system_upgrade_flag_set(UPGRADE_FLAG_FINISH); system_upgrade_reboot...
by sharkx
Tue Feb 02, 2016 5:10 pm
Forum: ESP8266 SDK
Topic: How can I REALLY tell which userX.bin is currently executing ?
Replies: 14
Views: 1975

Re: How can I REALLY tell which userX.bin is currently executing ?

Yes, you can do that, but you cannot tell where it really is executing; you will only get the #define value from compile time. On an x86, you would do it like this : CALL some_label some_label: POP EAX ; EAX now holds the address of the "some_label" location But it's a very long time since...
by sharkx
Mon Feb 01, 2016 2:26 am
Forum: ESP8266 SDK
Topic: Strange output on UART1 : chg_B
Replies: 4
Views: 726

Re: Strange output on UART1 : chg_B

Strangely enough, once I reverted to the 1.3.0 SDK, the messages disappeared...
by sharkx
Mon Feb 01, 2016 2:25 am
Forum: ESP8266 SDK
Topic: How can I REALLY tell which userX.bin is currently executing ?
Replies: 14
Views: 1975

Re: How can I REALLY tell which userX.bin is currently executing ?

Well... it doesn't work. First, using a const variable and all sorts of modifiers that I could lookup, it returns an address that seems to be in RAM. Second, using pointers to functions, I get a value that seems to be ok, but it is the same value regardless of which flash half it's in use; at least ...
by sharkx
Sun Jan 31, 2016 3:16 pm
Forum: ESP8266 SDK
Topic: How can I REALLY tell which userX.bin is currently executing ?
Replies: 14
Views: 1975

Re: How can I REALLY tell which userX.bin is currently executing ?

It definitely has NOT to be a regular variable; these get their slot in RAM. Always.
I'll let you know.
by sharkx
Fri Jan 29, 2016 1:46 am
Forum: ESP8266 SDK
Topic: Strange output on UART1 : chg_B
Replies: 4
Views: 726

Re: Strange output on UART1 : chg_B

Well... the 1.5.1 gets me dangerously close to the 236 Kb limit for the firmware.
So I guess I win't be able to use it.
by sharkx
Thu Jan 28, 2016 4:03 pm
Forum: ESP8266 SDK
Topic: How can I REALLY tell which userX.bin is currently executing ?
Replies: 14
Views: 1975

Re: How can I REALLY tell which userX.bin is currently executing ?

Thanks. I just noticed the boot 1.5 in the 1.5.1 sdk. I'll give it a try.
by sharkx
Thu Jan 28, 2016 12:58 pm
Forum: ESP8266 SDK
Topic: read flash contents via serial
Replies: 2
Views: 915

Re: read flash contents via serial

Ok. So reading it over wifi helped me find one problem.
But I still "brick" the modules from time to time, and I'd really like to have a way to read that flash when this happens over the serial link.

Any help is appreciated. Thanks.

Go to advanced search