-->
Page 1 of 2

How flash the output file from Eclipse to NodeMCU v2 ?

PostPosted: Thu Aug 06, 2015 5:41 am
by Wiwat Arun
I am trying to use SMING FRAMEWORK. After install Eclipse, ..., Sming Example , I try to build the Basic_blink Project in the Eclipse. It returns 3 Files as follow

Generate eagle.flash.bin and eagle.irom0text.bin successully in folder out/firmware.
eagle.flash.bin-------->0x00000
eagle.irom0text.bin---->0x9000
Done
Checking for spiffs files
No files found in ./files.
Creating empty spiff_rom.bin (16384 bytes)
spiff_rom.bin---------->0x38000


Then I used "NodeMCU Firmware Programmer" to flash the firmware into my NodeMCU v2 into specific addresses

eagle.flash.bin-------->0x00000
eagle.irom0text.bin---->0x9000
spiff_rom.bin---------->0x38000

It does not work.

So, Could you please give me advice on how to correctly flash the files into NodeMCU v2 ?

thank you.

Re: How flash the output file from Eclipse to NodeMCU v2 ?

PostPosted: Thu Aug 06, 2015 12:33 pm
by bhasden
You should be able to change the target for the project to "flash" and then build and it should compile and flash.

Re: How flash the output file from Eclipse to NodeMCU v2 ?

PostPosted: Thu Aug 06, 2015 7:29 pm
by Wiwat Arun
Thank you. Bhasden

Now, I did according to your recommendation.

Right_click on the project -> make target -> build -> flash. <while pressing flash button on NodeMCU>

Eclipse, now build and flash program into my NodeMCU. But it does not seem to work correctly.
For the basic_blink, the LED should blink in GPIO2 leg. My LED is always ON.

I might have done something wrong. ..
Any more advice ? thank you.

Re: How flash the output file from Eclipse to NodeMCU v2 ?

PostPosted: Sat Aug 08, 2015 2:48 pm
by alonewolfx2
propably you are looking wrong pin. because nodemcu v2 has different pinout. did you looked nodemcu pinout