I am trying to use Sprite_tm's code to drive an eink display, and even if I can compile it without any error, it does not work. The ESP serial link always loop on the error:
Fatal exception (0):
epc1=0x40210cd8, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
I think this code has been build against SDK 1.0.1, so did
* Clone Sprite_tm repo
* Compile current Espressif tools
* Edit Makefile to fit my chip (mostly add "-bm dio -bf 40 -bz 4M" options to esptool-ck
* Make the project with current Espressif tools against 1.0.1 SDK
It compiles fine but after flashing "0x0000.bin", "0x40000.bin" and "webpages.espfs" thanks to the makefile, I have the error mentioned previously.
If I use disassembly on espeink.out, the line corresponding to "epc1" is
40210cd8: fffe61 l32r a6, 40210cd0 <flash_data_check+0x680>
Which is not an obvious fault for me, but did not use ESP8266 very often :/
Makefile - Disassembly file
Does any one have an idea or an advice ?
Thank you !