Chat freely about anything...

User avatar
By Stévanovich
#51790 Hi every body

I would like to play with NodeMCU Board :

Image

Should i use special instruction to get it work ? not same as ESP-07 ?

I tried OTA Basic example , with esp8266 board .

Why sould i use NodeMCU board ? What is difference between them ?

I tried to connect my FTDI device to send binary , but failed.

I don't want to write code in lua .

Thanks for help.
User avatar
By Stévanovich
#51792 Yes , i can do it , but in fact:
I 've got 3 NodeMCU Board,
First does not work properly :

Exception (0):
epc1=0x402369c0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

ctx: sys
sp: 3ffff820 end: 3fffffb0 offset: 01a0

>>>stack>>>
3ffff9c0: 00000052 0000011d 00000138 00000002
3ffff9d0: 00000138 00000000 3ffe82f0 40234aa1
3ffff9e0: 444a4e52 00003840 00000004 40236e50
3ffff9f0: 00000000 3ffefe88 00000006 00000002
3ffffa00: 00000000 19161310 00000000 00000000
3ffffa10: 00002f36 3ffefeb8 40238688 3ffefe88
3ffffa20: 00000ff4 4023869d 3ffefe88 3ffefe88
3ffffa30: 00000000 3ffeff34 00000001 00000000
3ffffa40: 3ffefe88 60000600 60000200 74cbd7d2
3ffffa50: 402342bf 00000000 3ffefe88 00000000
3ffffa60: 4010615a 60000e00 3fff0a9c 3fffff10
3ffffa70: 4023943e 3ffffa80 00000008 402289ce
3ffffa80: 00000000 00000000 00000017 f95ccf7f
3ffffa90: 00000000 b20017af 00007a2b 3fff2514
3ffffaa0: 00000000 40206769 3fff2514 3fff2514
3ffffab0: 3ffef9fe 4023d9b0 00000001 00000000
3ffffac0: 00000001 3fff2514 000002f4 003fc000
3ffffad0: 401058f6 000000eb 3ffef9fe 4022555f
3ffffae0: 40225bd8 60000e00 3fff2514 40225bb3
3ffffaf0: 4010513c 000003fd 000000eb 60000200
3ffffb00: 3fffff10 5b75478f f55864a6 d08573a0
3ffffb10: ffffffff ffffffff ffff0003 0000000e
3ffffb20: 4e414c50 5f455445 52524554 ff003245
3ffffb30: ff0b6c3f 0000303f ff091c00 fefffc3f
3ffffb40: ffffffff 6801ffff 65626d65 36352e65
3ffffb50: 3ffe9900 00000000 000003e8 4020ef04
3ffffb60: 00000000 00000001 3ffe9e9d 402105f8
3ffffb70: 402100a0 00000014 3ffe8d04 3fff0b6c
3ffffb80: 401054d4 0048ea95 ffffffff ffffffff
3ffffb90: ffffffff ffffffff ffffffff ffffffff
3ffffba0: ffffffff ffffffff ffffffff ffffffff
3ffffbb0: ffffffff ffffffff ffff00ff ffffffff
3ffffbc0: 00000013 69576957 4f2d6552 372d4154
3ffffbd0: 41373146 00394646 00000010 0000001c
3ffffbe0: 00000000 34333231 38373635 00000000
3ffffbf0: 3fff0a88 3fff0a88 00000010 0000001c
3ffffc00: 00000000 401008b8 0000001c 00000730
3ffffc10: 000000e6 000000e6 3fff1ae0 00000002
3ffffc20: 3fff1b18 27728100 67aae431 e1ee9918
3ffffc30: 26644bf9 07714381 f7946f29 1b8eea1a
3ffffc40: 7222f139 00030157 ffffff04 ffff0001
3ffffc50: 0000000e 4e414c50 5f455445 52524554
3ffffc60: ff003245 ff0b6c3f 0000303f ff091c00
3ffffc70: fefffc3f 626d6568 352e6565 fe990036
3ffffc80: 0000003f 0003e800 20ef0400 00000040
3ffffc90: 00000100 fe9e9d00 2105f83f 2100a040
3ffffca0: 00001440 fe8d0400 ff0b6c3f 1054d43f
3ffffcb0: 48ea9540 ffffffff ffffffff ffffffff
3ffffcc0: ffffffff ffffffff ffffffff ffffffff
3ffffcd0: ffffffff ffffffff ffffffff ffffffff
3ffffce0: ffffffff ffffffff ffffffff ffffffff
3ffffcf0: ffffffff ffffffff ffffffff ffffffff
3ffffd00: ffffffff ffffffff ffffffff ffffffff
3ffffd10: ffffffff ffffffff ffffffff ffffffff
3ffffd20: ffffffff ffffffff ffffffff ffffffff
3ffffd30: ffffffff ffffffff ffffffff ffffffff
3ffffd40: ffffffff ffffffff ffffffff ffffffff
3ffffd50: ffffffff ffffffff ffffffff ffffffff
3ffffd60: ffffffff ffffffff ffffffff ffffffff
3ffffd70: ffffffff ffffffff ffffffff ffffffff
3ffffd80: ffffffff ffffffff ffffffff ffffffff
3ffffd90: ffffffff ffffffff ffffffff ffffffff
3ffffda0: ffffffff ffffffff ffffffff ffffffff
3ffffdb0: ffffffff ffffffff ffffffff ffffffff
3ffffdc0: ffffffff ffffffff ffffffff ffffffff
3ffffdd0: ffffffff ffffffff ffffffff ffffffff
3ffffde0: ffffffff ffffffff ffffffff ffffffff
3ffffdf0: ffffffff ffffffff ffffffff ffffffff
3ffffe00: ffffffff ffffffff ffffffff ffffffff
3ffffe10: ffffffff ffffffff ffffffff ffffffff
3ffffe20: ffffffff ffffffff ffffffff ffffffff
3ffffe30: ffffffff ffffffff ffffffff ffffffff
3ffffe40: ffffffff 04080000 001c110c 01010000
3ffffe50: ffffffff 00000003 ffffff00 ffffffff
3ffffe60: ffffffff ffffffff ffffffff ffffffff
3ffffe70: ffffffff ffffffff ffffffff ffff0064
3ffffe80: 00000000 00000000 ffffffff ffffffff
3ffffe90: ffffffff ffffffff ffffffff ffffffff
3ffffea0: ffffffff ffffffff ffffffff ffffffff
3ffffeb0: ffffffff ffffffff ffffffff ffffffff
3ffffec0: ffffffff ffffffff ffffffff ffffffff
3ffffed0: ffffffff ffffffff ffffffff ffffffff
3ffffee0: ffffffff ffffffff ffffffff ffffffff
3ffffef0: ffffffff ffffffff ffffffff ffffffff
3fffff00: ffffffff ffffffff ffffffff ffffffff
3fffff10: ffffffff ffffffff ffffffff ffffffff
3fffff20: ffffffff ffffffff ffffffff ffffffff
3fffff30: ffffffff ffffffff ffffffff ffffffff
3fffff40: ffffffff ffffffff ffffffff ffffffff
3fffff50: ffffffff ffffffff ffffffff ffffffff
3fffff60: ffffffff ffffffff ffffffff ffffffff
3fffff70: ffffffff ffffffff ffffffff ffffffff
3fffff80: ffffffff ffffffff ffffffff ffffffff
3fffff90: ffffffff 7385e3e7 42131ec7 3ad14091
3fffffa0: 400201e9 6fb30c3c ffffff00 55aa55aa
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v3de0c112
~ld


And the second work fine.
Same FTDI , same ino file , same binary.

Here is Stack decoder :

Code: Select all0x40234aa1: set_txcap_reg at ?? line ?
0x40236e50: tx_pwctrl_init at ?? line ?
0x40238688: chip_v6_initialize_bb at ?? line ?
0x4023869d: chip_v6_initialize_bb at ?? line ?
0x402342bf: phy_init at ?? line ?
0x4010615a: register_phy_ops at ?? line ?
0x4023943e: register_chipv6_phy at ?? line ?
0x402289ce: wifi_station_set_default_hostname at ?? line ?
0x40206769: __wrap_register_chipv6_phy at C:\Users\mylogin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/core_esp8266_phy.c line 261
0x4023d9b0: sleep_reset_analog_rtcreg_8266 at ?? line ?
0x401058f6: spi_flash_read at ?? line ?
0x4022555f: rijndaelKeySetupEnc at ?? line ?
0x40225bd8: user_uart_wait_tx_fifo_empty at ?? line ?
0x40225bb3: user_uart_wait_tx_fifo_empty at ?? line ?
0x4010513c: wdt_feed at ?? line ?
0x4020ef04: __yield at C:\Users\mylogin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/core_esp8266_main.cpp line 56
0x402105f8: IPAddress::fromString(char const*) at C:\Users\mylogin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/IPAddress.cpp line 87
0x402100a0: recycle_fn at C:\Users\mylogin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Schedule.cpp line 61
:  (inlined by) run_scheduled_functions() at C:\Users\mylogin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Schedule.cpp line 95
0x401054d4: ets_timer_arm_new at ?? line ?
0x401008b8: realloc at C:\Users\mylogin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266\umm_malloc/umm_malloc.c line 1714


Thanks for help

Best regards
User avatar
By Stévanovich
#51800 Finally, It was just a problem of power supply .
All of them works fine,
I can use Arduino IDE as i wish.

Sorry for disturbing. :mrgreen:
Best regards.