-->
Page 1 of 2

NodeMCU without LUA in Windows

PostPosted: Thu Dec 31, 2015 6:52 am
by maxleggieri
Hi,
Just bought some NodeMCU dev boards... now, i did my setup with Eclipse + mingw + unofficial esp8266 sdk.

My goal is to use the dev board with native c programs discarding lua stuff.

I can import examples, compile them and flash into the module but after flashing the program nothing happens, no output on the COM port... no GPIO working, nothing at all.
I'm i missing something? do i need to configure the prebuilt makefiles in a proper way?

Thanks
Max

Re: NodeMCU without LUA in Windows

PostPosted: Fri Jan 01, 2016 10:54 am
by maxleggieri
Forgot to say that the terminal only prints strange characters on reset...

Re: NodeMCU without LUA in Windows

PostPosted: Sun Jan 03, 2016 2:56 pm
by flemlion
Sounds like there's a baudrate mismatch

Re: NodeMCU without LUA in Windows

PostPosted: Mon Jan 04, 2016 10:22 am
by maxleggieri
flemlion wrote:Sounds like there's a baudrate mismatch


Thanks flemlion, actual i've found that at native speed (74880) i can read this in the serial terminal:

Code: Select allets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 26412, room 16
tail 12
chksum 0xef
ho 0 tail 12 room 4
load 0x33333333, len 858993459, room 12


The problem is that i'm trying to trigger gpio5 LOW and HIGH with a timer, i get no errors but i always read 0v on gpio5 (D1 on my nodemcu v1.0 board

I've also checked the flash addresses and they seems correct...
any ideas?

Max