B4R Question Can't select Serial Port on Board Selector

inakigarm

Well-Known Member
Licensed User
Longtime User
Hi:

My error: (I've installed the last Arduino IDE 1.6.8)

On Arduino IDE --> Arduino/Genuino Uno and COM3 --> Runs fine

On B4R: --> Board Tools Selector --> can select Board, but Serial Port is empty (Refresh doesn't solve this)

Any idea ??

upload_2016-4-11_11-33-35.png
 

inakigarm

Well-Known Member
Licensed User
Longtime User
It will probably won't help but try to run B4R as an administrator and see whether it works.
Are you running it on Windows or in a VM?

Tested running at administrator and hasn't solved it; otherwise, I run B4R on Windows 8.1 64 bits not VM
 
Upvote 0

inakigarm

Well-Known Member
Licensed User
Longtime User
Tried new version, I can select the board (COM3 preselected) but when I run it, I get this error:

upload_2016-4-11_12-15-21.png


The log returns this: (tested many times)

B4R version: 1.00 BETA 2
.Net version: 4.0.30319.34014
Gui: 1006
B4XClassifer created
B4XErrorTagger created
Gui: 1017
Gui: 1015
*** no reuse ***
Gui: 567
Gui: 168
Gui: 190
Gui: 72
Gui: 147
Gui: 827
Compilation task: 393.814
System.ArgumentOutOfRangeException: La longitud no puede ser inferior a cero.
Nombre del parámetro: length
en System.String.Substring(Int32 startIndex, Int32 length)
en as.am(Boolean A_0)
en bi.a.b()
en de.a(Object A_0)
en dz.a(Object A_0)
Gui: 106
Gui: 51
portsWorker_DoWork
portsWorker_complete
Gui: 172
Gui: 124
System.ArgumentOutOfRangeException: La longitud no puede ser inferior a cero.
Nombre del parámetro: length
en System.String.Substring(Int32 startIndex, Int32 length)
en as.am(Boolean A_0)
en bi.a.b()
en de.a(Object A_0)
en dz.a(Object A_0)
Gui: 65
Gui: 81
Gui: 79
Gui: 97
Gui: 85
Gui: 99
Gui: 57
Gui: 65
Gui: 81
Gui: 80
Gui: 56
Gui: 121
Gui: 75
Gui: 147
Gui: 66
Gui: 147
Gui: 78
Gui: 74
Gui: 98
Gui: 66
Gui: 82
Gui: 117
Gui: 105
Gui: 100
Gui: 96
Gui: 111
Gui: 58
Gui: 122
System.ArgumentOutOfRangeException: La longitud no puede ser inferior a cero.
Nombre del parámetro: length
en System.String.Substring(Int32 startIndex, Int32 length)
en as.am(Boolean A_0)
en bi.a.b()
en de.a(Object A_0)
en dz.a(Object A_0)
Gui: 61
Gui: 104
B4XClassifer created
B4XErrorTagger created
*** no reuse ***
Gui: 108
Gui: 129
System.ArgumentOutOfRangeException: La longitud no puede ser inferior a cero.
Nombre del parámetro: length
en System.String.Substring(Int32 startIndex, Int32 length)
en as.am(Boolean A_0)
en bi.a.b()
en de.a(Object A_0)
en dz.a(Object A_0)
Gui: 161
Gui: 65
Gui: 115
Gui: 62
System.ArgumentOutOfRangeException: La longitud no puede ser inferior a cero.
Nombre del parámetro: length
en System.String.Substring(Int32 startIndex, Int32 length)
en as.am(Boolean A_0)
en bi.a.b()
en de.a(Object A_0)
en dz.a(Object A_0)
Gui: 149
Gui: 82
Gui: 155
System.ArgumentOutOfRangeException: La longitud no puede ser inferior a cero.
Nombre del parámetro: length
en System.String.Substring(Int32 startIndex, Int32 length)
en as.am(Boolean A_0)
en bi.a.b()
en de.a(Object A_0)
en dz.a(Object A_0)
Gui: 71
Gui: 57
Gui: 63
Gui: 80
System.ArgumentOutOfRangeException: La longitud no puede ser inferior a cero.
Nombre del parámetro: length
en System.String.Substring(Int32 startIndex, Int32 length)
en as.am(Boolean A_0)
en bi.a.b()
en de.a(Object A_0)
en dz.a(Object A_0)
Gui: 52
Gui: 86
 
Upvote 0

karikkorpi

New Member
Licensed User
Longtime User
Beta #3
No serial ports listed. Arduinos clone where USB chip is chinese CH340/CH341. I try Uno-clone, Nano-clone and Wemos D1 Mini boards.
Genuine Arduino DUE works fine.
Funduino Mega2560 works fine.
And Leonardo-clone where is ATmega32u4 controller works fine.
 
Last edited:
Upvote 0

Dogbonesix

Active Member
Licensed User
Longtime User
I have the same problem (Can't select Serial Port on Board Selector). I just loaded the proper software and do not have a Board yet. I was just looking at the code and considering some projects. I am using B4R version 1. Any ideas?
 
Upvote 0
Top