Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By CHERTS
#23253
kolban wrote:As always, awesome work. I'm trying to run the "hello_world_cpp_2" sample which compiles cleanly however after I deploy it, the device goes into a loop showing an exception:

Code: Select allFatal exception (0):
epc1=0x4010630f, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000


I don't know any further debugging techniques beyond this.

Examining app.out, this appears to be:

Code: Select all4010630c <call_user_start>:
4010630c:   ffff21           l32r   a2, 40106308 <_text_end+0x2>
4010630f:   13e720           wsr.vecbase   a2
40106312:   f9dac5           call0   401000c0 <call_user_start_local>


And that's the end of my debugging skills.


This problem Espressif SDK, for firmware that use C ++ have to Espressif SDK <= 1.0.1, in file hello_world_cpp\Makefile replace
SDK_BASE ?= c:/Espressif/ESP8266_SDK
on
SDK_BASE ?= c:/Espressif/ESP8266_SDK_101
and everything will work.

I do not know how to fix this problem with the new version Espressif SDK > 1.0.1
User avatar
By jhedup
#23255 Hi CHERTS

Great work, made the ESP8266 very accessible for all!

When compiling nodemcu I get a similar issue on the default ESP8266_SDK_095

Fatal exception (0):
epc1=0x40105840, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

Any ideas?
User avatar
By hdrut
#23320 Hello CHERTS,

I'm using Webbase server from Victor. Do you know how i can get in touch with this guy? He doesn't seem to come here often. Or perhaps you can give me a hand here, since I don't speak russian :).

Thks in advance!

Horacio
User avatar
By CHERTS
#23804
jhedup wrote:Hi CHERTS

Great work, made the ESP8266 very accessible for all!

When compiling nodemcu I get a similar issue on the default ESP8266_SDK_095

Fatal exception (0):
epc1=0x40105840, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

Any ideas?


The problem with the build nodemcu-firmware is solved, the decision is available only in the repository https://github.com/CHERTS/esp8266-devkit