B4R Question NodeMCU 0.9 (ESP-12 Module)

davide69

Member
Licensed User
Longtime User
Hello,
I am trying to use an ESP8266 board (NodeMCU 0.9), after following the instruction I got the following message when trying to compile and load:


B4R version: 1.20
Parsing code. (0.00s)
Compiling code. (0.05s)
Building project (0.03s)
Compiling & deploying Ino project (NodeMCU 0.9 (ESP-12 Module) - COM4) Error
Loading configuration...
java.lang.NullPointerException
at processing.app.BaseNoGui.selectSerialPort(BaseNoGui.java:1088)
at processing.app.helpers.CommandlineParser.parseArgumentsPhase1(CommandlineParser.java:143)
at processing.app.Base.<init>(Base.java:273)
at processing.app.Base.guardedMain(Base.java:219)
at processing.app.Base.main(Base.java:132)

Anyone had similar error?
Do I need to have a special firmware loaded on the ESP board?

Davide
 

davide69

Member
Licensed User
Longtime User
With IDE 1.6.11 is better but I have now this:


B4R version: 1.20
Parsing code. (0.00s)
Compiling code. (0.02s)
Building project (0.01s)
Compiling & deploying Ino project (NodeMCU 0.9 (ESP-12 Module) - COM4) Error

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
 
Upvote 0

miker2069

Active Member
Licensed User
Longtime User
I'm using Arduino 1.6.9 with a NodeMCU and a Witty NodeMCU Mini, no problems with either. Just make sure the board type and the COM port are correct.
 
Upvote 0

davide69

Member
Licensed User
Longtime User
Thanks for the advice, I still cannot transfer from B4R IDE while with Arduino IDE I can do. During my several attempt I saw once transfering OK. My NodeMCU board is quite old 05/12/2014 and use CH340 chip as UART converter.
 
Upvote 0

davide69

Member
Licensed User
Longtime User
Now it works, I could find a solution applying some setting from the forum, here is what work for me now, board selector and timeout pictures attached
 

Attachments

  • Board selector.jpg
    Board selector.jpg
    33.9 KB · Views: 597
  • time out.jpg
    time out.jpg
    11.4 KB · Views: 468
Upvote 0
Top