These are chat archives for SmingHub/Sming

15th
Dec 2015
Curtis Pope
@piperpilot
Dec 15 2015 02:45
does anyone know how to diagnose IllegalInstruction issues
I have the following showing up now and its perplexing
Fatal exception 0(IllegalInstructionCause):
Curtis Pope
@piperpilot
Dec 15 2015 03:31
I'm on the latest develop branch with SDK 1.5 on a MAC. If I receive serial data too quickly, or interrupt the interrupt or something, it causes the above reset. Looks very much like this issue reported on the espressiff BBS: http://bbs.espressif.com/viewtopic.php?t=1486
Dmitry Kireev
@kireevco
Dec 15 2015 05:28
FYI, I'm updating binaries for sdk to have gdb
alonewolfx2
@alonewolfx2
Dec 15 2015 05:29
Ok I will test it. @kireevco can I build from code or still has some error :)
Dmitry Kireev
@kireevco
Dec 15 2015 06:38
@alonewolfx2 environment is important
but if you have time, we can make it work
I think everything is covered under env/mingw_10.cmd and cd env; make
Murli Shenoy
@hmms
Dec 15 2015 07:36
SoftSpi or hardware spi? which one is more stable?
hreintke
@hreintke
Dec 15 2015 08:33
@kireevco : In't make & path problem (which make is first in the path) is "solved" by the inclusion of spify in sming.
I can build sming with any make I have on the system
@piperpilot : to find the function which caused the exception :
Take the firmware.map file generated when compiling application
You have : epc1=0x402325e8
The "issue function" is the one with "The highest address which is lower than the epc1 address"
Yegor
@Bravo13
Dec 15 2015 11:15
Trying to run latest stable(hust installed from chocolate). So - in Sming dir runned make - all is ok. Now cd to C:\tools\sming\Basic_Serial run make clean && make Got error c:/Espressif/ESP8266_SDK/lib\libwpa.a(wpa_auth.o): In function wpa_receive': (.irom0.text+0x9a0): undefined reference to aes_wrap' c:/Espressif/ESP8266_SDK/lib\libwpa.a(wpa_auth.o): In function __wpa_send_eapol': (.irom0.text+0xd73): undefined reference to aes_wrap' collect2.exe: error: ld returned 1 exit status make.EXE": *** [out/build/app.out] Error 1
What I'm doing wrong?
Yegor
@Bravo13
Dec 15 2015 12:13
Trying to add crypto to LIBS in Sming/Makefile, rebuild Sming - no luck
alon24
@alon24
Dec 15 2015 12:18
@kireevco hi, so I want to test out the new esp-alt-sdk, should gdb work now? (on a mac) what am I testing now (what has changed)
(1.5.0)
robotiko
@robotiko
Dec 15 2015 12:19
@alon24 the compiling problen in gdbstub is not related to the sdk
alon24
@alon24
Dec 15 2015 12:20
k, so I tested the mac sdk 1.5 before (like a week before), did anything change now?
k, so no change in the gdb compiling front, NP
Curtis Pope
@piperpilot
Dec 15 2015 12:35
@hreintke I'm building with rboot..it doesn't seem to generate the firmware.map file.
alon24
@alon24
Dec 15 2015 12:48
does anayone here use an ili9341
and can/want to help with getting infoscreen working on it?
Curtis Pope
@piperpilot
Dec 15 2015 13:26
nevermind, I found the map file
Curtis Pope
@piperpilot
Dec 15 2015 15:24
Looks like I am able to reproduce the reboot with basic_serial if I change the baud rate to 19200...who is our expert in serial that might be able to take a look?
Dmitry Kireev
@kireevco
Dec 15 2015 16:32
@alon24 yes, binutils changed. If you could please test again
Just normal build. Windows had some issues
alon24
@alon24
Dec 15 2015 16:32
i will
Curtis Pope
@piperpilot
Dec 15 2015 16:53
is it possible to use exception handling on the ESP?
I tried some try/catch blocks and get this:
rror: exception handling disabled, use -fexceptions to enable
Dmitry Kireev
@kireevco
Dec 15 2015 22:09
@alon24 any news on the test of a new sdk?
alon24
@alon24
Dec 15 2015 22:33
Sorry no timE today, I just download and compiled with it, I did not flash to device
It compiled ok
But as I said did not have device
Hope tomorrow...
Curtis Pope
@piperpilot
Dec 15 2015 22:34
hey guys...any advice on the serial issue I am seeing? Seems to be an issue with SDK 1.5...things worked fine on SDK 1.3 and earlier
alon24
@alon24
Dec 15 2015 22:34
Try sdk 1.4
Esp open sdk
Curtis Pope
@piperpilot
Dec 15 2015 22:35
yeah, I'll roll back
alon24
@alon24
Dec 15 2015 22:35
Narrow it down
Its a simple matter to roll back, just point to different dir and recompile sming
Curtis Pope
@piperpilot
Dec 15 2015 22:36
unfortunately on develop I can't go any further back than 1.4 right?
alon24
@alon24
Dec 15 2015 22:36
Yes
Curtis Pope
@piperpilot
Dec 15 2015 22:36
yeah...I do different SDK all the time
alon24
@alon24
Dec 15 2015 22:36
But do u use the new alt sdk
Curtis Pope
@piperpilot
Dec 15 2015 22:37
no
esp_iot_sdk
alon24
@alon24
Dec 15 2015 22:37
Try
Curtis Pope
@piperpilot
Dec 15 2015 22:37
are there instructions for the mac for the new open SDK somewhere?
I've been trying to follow the discussion but got lost
alon24
@alon24
Dec 15 2015 22:38
Just unzip, point to it, and compile
Curtis Pope
@piperpilot
Dec 15 2015 22:38
OK, I'll try that after 1.4
alon24
@alon24
Dec 15 2015 22:39
I did not have a chance yet to try 1.5 on my mac
I just checked that my prog compiled
I am sure @kireevco would love for another Mac user to test
Curtis Pope
@piperpilot
Dec 15 2015 23:04
need to add an instruction about permissions...the mac shell script didn't have execute permissions
Curtis Pope
@piperpilot
Dec 15 2015 23:36
@kireevco something is broken on the build using rboot...I get the following when trying to build my project:
This message was deleted
This message was deleted
This message was deleted
18:38:52 Build of configuration Sming for project SmoBoT_Wifi
make all version
OC out/build/libmain2.a
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Users/cpope/git/Sming/Sming/rboot
CC rboot-stage2a.c
LD /Users/cpope/Documents/esp-8266/SmoBoT_Wifi/out/build/rboot-stage2a.elf
E2 /Users/cpope/Documents/esp-8266/SmoBoT_Wifi/out/build/rboot-hex2a.h
Error: Can't read string table section from elf file.
make1: [/Users/cpope/Documents/esp-8266/SmoBoT_Wifi/out/build/rboot-hex2a.h] Error 255
make:
[out/firmware/rboot.bin] Error 2