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

User avatar
By Ravi S Kashi
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.

What tool did you do to Examine the app.out file? Can you please share the command line? It will help me immensely.

I found this later. On searching the forums. It references your ESP8266 book. Thank you for it.

Code: Select allxtensa-lx106-elf-objdump -x app.out -d