You can chat about native SDK questions and issues here.

User avatar
By fsmoke
#83966 I am not actually new in esp8266, but forgot most things of it. Now i trying again to explore it for a small home project.

Company i am working in, produses some hardware on esp8266 chip - and so i have multiple esp8266 modules from usless devices(which i got from our hw developers). But this modules not the same modules from aliexpress(for example).

here is pdf about my module https://manualzz.com/doc/6515184/airm2m_esp8266_wifi-module-user-manual-v2.9

So this is typical esp8266 - and it's work just fine - no problems.

For developing i chose Visual Studio(cos i sw developer and VS looks like habitual for me) with plugin for it https://bbs.espressif.com/viewtopic.php?t=3577

nevermind...

I wrote simple firmware and flashed it to module with bootloader "boot 1.6" - firmware started - all just fine.

But i no need any bootloader, so i swithed to nonboot mode with generating .flash+.irom0text. Code compiled and flashed without any errors. But firmware not started, see log below(74880 speed)
Code: Select allets Jan  8 2013,rst cause:2, boot mode:(3,7)
 
load 0x40100000, len 28424, room 16
tail 8
chksum 0xf7
load 0x3ffe8000, len 1920, room 0
tail 0
chksum 0x2d
load 0x3ffe8780, len 1116, room 8
tail 4
chksum 0x1c
csum 0x1c
Fatal exception (0):
epc1=0x4020fe54, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
Fatal exception (0):
epc1=0x4020fe54, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
Fatal exception (0):
epc1=0x4020fe54, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
Fatal exception (0):
epc1=0x4020fe54, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000


I thought problem in SPI flash size - so my flash id is 1440C8, so ie must be 8mbit = 1 mb

For experiments i tried to set 512 kb and 1 mb - but nothing changed.

Here build log
Code: Select allTarget ESPRAM:
1>  Generate : D:\HomeProjects\ESP8266_test\Generated Files\Debug\ESP8266_test.eagle.flash(0x00000).bin...
1>  Moving file from "D:\HomeProjects\ESP8266_test\Generated Files\Debug\Image\eagle.app.flash.bin" to "D:\HomeProjects\ESP8266_test\Generated Files\Debug\ESP8266_test.eagle.flash(0x00000).bin".
1>  Generate : D:\HomeProjects\ESP8266_test\Generated Files\Debug\ESP8266_test.eagle.irom0text.bin(0x40000).bin...
1>  Moving file from "D:\HomeProjects\ESP8266_test\Generated Files\Debug\Image\eagle.app.v6.irom0text.bin" to "D:\HomeProjects\ESP8266_test\Generated Files\Debug\ESP8266_test.eagle.irom0text.bin(0x40000).bin".
1>Target ESPTOOL:
1>  *** Flash Table **************************************
1>  ESP Init Data adresss     : 0xFC000
1>  Blank Data adresss        : 0xFE000
1>  eagle.flash adresss       : 0x00000
1>  eagle.irom0text adresss   : 0x40000
1>  *** Flash Info **************************************
1>  Connecting . connection established
1>  Manufacturer: c8, Device: 4014.
1>  Deleting file "D:\HomeProjects\ESP8266_test\ConsoleOutput.dbg".
1>  Flashing....
1>  connection established
1>
1>Build succeeded.


PS
I use old nonos sdk 2.0 (cos it was provided by espressif VS plugin, but i don't think that is root of problem)