B4R Question Upload to NANO - Error

GMan

Well-Known Member
Licensed User
Longtime User
When i try to upload to an ARDUINO NANO (CH340) i get the following errors

B4X:
Kompilieren und Bereitstellen von Ino-Projekten (Arduino Nano - COM19)    Error
Konfiguration wird geladen...
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)

Does anyone know what the reason is ?
i also tried other ports, but all the same...
 

GMan

Well-Known Member
Licensed User
Longtime User
פסח שמח אראל

i didnt tested it yet, but will do.
With the normal ARDUINO IDE it works - but have to set to NANO 328 with old bootloader. Maybe this is the reason ?
 
Upvote 0

GMan

Well-Known Member
Licensed User
Longtime User
No, 1.8.19 - will update now and try again
 
Upvote 0

GMan

Well-Known Member
Licensed User
Longtime User
DL the wrong one...2.0.4 :rolleyes:
 
Upvote 0

GMan

Well-Known Member
Licensed User
Longtime User
True. There is a link to the correct version in B4R installation page.

The error happens in the Arduino IDE compiler. It has something to do with getting the correct serial port.
DL 1.8.15 and now it works
 
Upvote 0
Top