Other B4R v4.00 is available for download

Erel

B4X founder
Staff member
Licensed User
Longtime User
I'm happy to release a new version of B4R. This update adds support for the latest version of Arduino IDE.
It is also the first 64 bit version of B4R.

Download link: https://www.b4x.com/b4r.html

Installation instructions:
  1. Install latest version of Arduino IDE: https://www.arduino.cc/en/software
  2. Install Arduino CLI (command line interface): https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Windows_64bit.msi
  3. B4R - Tools - Configure Paths: configure the path to arduino-cli.exe and javac. Java 8+ is supported.
  4. Open the board manager and select the board.
 

peacemaker

Expert
Licensed User
Longtime User
Thanks, Erel !
No solution now with empty "Objects\bin" result folder ?
 
Upvote 0

MaFu

Well-Known Member
Licensed User
Longtime User
Thanks for the update.
The separate installation of Arduino-CLI is no longer necessary from IDE 2.x.
The arduino-cli.exe is already present in the subdirectory "...\Arduino IDE\resources\app\lib\backend\resources".
 
Upvote 0

juventino883

Member
Licensed User
Longtime User
Hi Erel, I'm having a problem with this version of b4r. I'm getting "The given key was not present in the dictionary" when I try to select the board
 
Upvote 0

juventino883

Member
Licensed User
Longtime User
Hi Erel, I had to uninstall everything and go back to the previous version,
You are not using the beta version, right?
I downloaded and installed all the files on the first post of this thread.

let me install again and I will upload the screenshot and logs.
 
Upvote 0

MbedAndroid

Well-Known Member
Licensed User
Longtime User
the path to the CLI isnt stored, i can point to the CLI, but next time i open B4r it's gone
1694414323940.png

note: in version 3.90 there is a OK button...

1694414393067.png
 
Upvote 0

rbghongade

Active Member
Licensed User
Longtime User
Hi Erel, I'm having a problem with this version of b4r. I'm getting "The given key was not present in the dictionary" when I try to select the board
This message is displayed only if there is no board information downloaded in Arduino IDE. Once you download the boards Arduino/ESP32/ESP8266/STM32 , the message is no longer displayed.
 
Upvote 0

juventino883

Member
Licensed User
Longtime User
1. Can you post a screenshot?
2. Please enable IDE logs as explained here: https://www.b4x.com/android/forum/threads/intermittent-error-message.9047/post-50478
See if there is more information there.

You are not using the beta version, right?
Hi @Erel, Today I have reintalled the new version and it is working now.

@rbghongade yes probably was that, I remember that I have installed the new version of arduino IDE and the board information was not there.

Thank you both for your help.
 
Upvote 0

vali khandangoll

Active Member
I'm happy to release a new version of B4R. This update adds support for the latest version of Arduino IDE.
It is also the first 64 bit version of B4R.

Download link: https://www.b4x.com/b4r.html

Installation instructions:
  1. Install latest version of Arduino IDE: https://www.arduino.cc/en/software
  2. Install Arduino CLI (command line interface): https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Windows_64bit.msi
  3. B4R - Tools - Configure Paths: configure the path to arduino-cli.exe and javac. Java 8+ is supported.
  4. Open the board manager and select the board.
Hi
I installed B4R ver 4.00
sometimes board selector window does not work right and dont show Arduino boards list for select.(It shows the list as empty)
so I must reinstall B4R ver 39.0.0 and use together.
 
Upvote 0

Peter Simpson

Expert
Licensed User
Longtime User
Hi
I installed B4R ver 4.00
sometimes board selector window does not work right and dont show Arduino boards list for select.(It shows the list as empty)
so I must reinstall B4R ver 39.0.0 and use together.
You are obviously doing something 100% incorrectly. I take it that you've added the .json extensions for adding more boards, and that you've checked the board manager for the latest Arduino IDE

Have you followed Erel's instructions to the letter, as B4R V4.0 works 100% perfect for me and it includes all the boards that are listed in the Arduino IDE

Reaf Erel's instructions carefully below and give it another go.

Installation instructions:
  1. Install latest version of Arduino IDE: https://www.arduino.cc/en/software
  2. Install Arduino CLI (command line interface): https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Windows_64bit.msi
  3. B4R - Tools - Configure Paths: configure the path to arduino-cli.exe and javac. Java 8+ is supported.
  4. Open the board manager and select the board.
 
Upvote 0

candide

Active Member
Licensed User
after installation of Arduino 2.2.1 + Arduino Cli + B4R 4.00, compilation is working, transfert to board is working, init of board is OK, but after i have an error at log start and i cannot connect to esp32 board. i have error "file not found"
i tested with esp8266 and it is the same
if i connect Termite terminal to port 5 (in my case), i can connect to the board and i have the log.

How to explain ???
 

Attachments

  • B4R400_Log error.jpg
    B4R400_Log error.jpg
    99.5 KB · Views: 286
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
file not found
Is Java path correctly chosen ?

Enlarge the dialog window to see SAVE button (if invisible).
 
Upvote 0

candide

Active Member
Licensed User
Is Java path correctly chosen ?

really, i don't know... i know nothing at Java.

but if some checks can to be done, i am ready to do it with your help

i can add : it is working with Arduino
 
Last edited:
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
Follow the installation instructions and fill at least 2 first fields: arduino-cli.exe and Javac.exe
 
Upvote 0
Top