-->
Page 122 of 122

Re: My Espressif DevKit for Windows + Eclipse IDE

PostPosted: Tue Nov 27, 2018 3:28 pm
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.

Edit:
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

Re: Unofficial Development Kit for Espressif ESP8266

PostPosted: Tue Mar 12, 2019 3:41 am
by Sandro Jijavadze
Hi,
I already posted this but for some reason I don't see the message.

c:/espressif/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: cannot find -lmbedtls
c:/espressif/xtensa-lx106-elf/bin/../lib/gcc/xtensa-lx106-elf/5.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: cannot find -lopenssl
collect2.exe: error: ld returned 1 exit status
../common_rtos.mk:230: recipe for target 'build/app.out' failed
mingw32-make.exe: *** [build/app.out] Error 1


Can you tell me where should I look for these libraries and which ones?
And how do I make sure linker finds it?

Thank you.