RFzero Manager

The RFzero Manager is an alternative to installing the Arduino Integrated Development Environment (IDE) especially if all you want to do is to use the RFzero example programs or programs made by others.

The RFzero Manager can also replace e.g. the Arduino IDE Serial Monitor, Termite (Windows), CuteCom (Linux) and Terminal (Mac OS) terminal programs.


Installation

The RFzero Manager is a Windows program developed on the .Net 4.6.1 package using Microsoft Visual Studio 2017. Mads, OZ6MJ, runs RFzero Manager on Parallels Desktop for Mac.

Download the RFzero Manager, then unzip and run the installation program RFzeroManager_Install.exe.

The language of the references to Windows is based on a Windows 10 Pro 64 US installation. If you are using Windows in another language than English many, if not all, of the English names in Windows will be different. At the bottom of this page is a list of the English names and terms, used in Windows, and in other languages.

RFzero driver installation

If you have previously installed the Arduino IDE then the RFzero (Arduino Zero) driver has already been installed and you don’t have to do it again, and can go straight to using RFzero Manager.

If you haven’t installed the Arduino IDE, or are in doubt if the driver has been installed, you can verify this in the Windows Device Manager from the Windows start menu. First connect your RFzero and when the Device Manager opens go to “Ports (COM & LPT). If the driver has been correctly installed the RFzero will show up and identify as “Arduino Zero (COM#)”. If the RFzero identifies as “USB Serial Driver (COM#)” the driver was either not installed or not installed correctly. The # indicated the actual COM port number, e.g. COM10 as show in the picture below.

The installation of the RFzero driver can be done from RFzero Manager Menu | Help | Install RFzero driver where you can also open the Windows Device Manager if you cannot find it in the Windows start menu. Then select either “Automatic installation (…)” or “Manual installation” and follow the instructions.

Update check

When the RFzero Manager launches, and there is access to the Internet, it automatically checks if there is a new RFzero Manager version or example programs available. If so the new versions can be downloaded/updated from the Menu | Help | Check for updates.


Using the RFzero Manager

Connecting to the RFzero

Before the RFzero Manager can be used for uploading or interaction with your RFzero, a connection must be established. This is done from the Connections pane.

Click on the dropdown box and find the RFzero. Please remember that the RFzero identifies itself as an Arduino Zero or Arduino Zero bootloader! Then click on the [Connect] button. If you cannot find the RFzero (Arduino Zero or Arduino Zero bootloader) you may try to see if the Windows Device Manager, click on the [?] button below the dropdown box, can identify the RFzero among the Ports (COM & LPT) devices.

If you cannot see the RFzero (Arduino Zero or Arduino Zero bootloader) in the Windows Device Manager, then you will have to troubleshoot the connection between Windows and the RFzero. Please also check the USB cable works e.g. on a different device if not change the USB cable. While this takes place you may close the RFzero Manager.

In case the RFzero identifies as Arduino Zero bootloader you cannot access the RFzero in run or configuration modes. For some reasons the RFzero has been brought into the bootloader state. You may try to physically disconnect and remove the power from the RFzero. Then reconnect and press the [Refresh] button to update the COM ports in the dropdown box and see if anything has changed. If you still see the Arduino Zero bootloader identification you will have to upload a know working program to the RFzero to bring it back into the normal operation state. This is a safe process since the EEPROM configuration, for each example program, is preserved.

Uploading to the RFzero

Uploading programs, more specifically binary files with the .bin extension, to the RFzero can be either the standard RFzero example programs provided by the RFzero team or programs provided by third parties which includes yourself.

If you only have the source code you will still have to use the Arduino IDE or similar to compile the source code before uploading can take place.

During the uploading process status information will be sent to the communication window. If more status information is wanted then check the [Verbose] checkbox.

Uploading RFzero example programs

To upload one of RFzero example programs please select the relevant one from the list of example programs and click the [Upload] button. The [Upload] button and [Verbose] checkbox are disabled if the example program .bin file is missing for some reason. If so please update the example programs from the Menu | Help | Check for updates | Update example programs, even if the release dates are identical.

If you want to see more about the example program you may double click on the relevant program, and your Internet browser will go to the example program page on the RFzero homepage.

From time to time new versions of the example programs will be issued. This typically happens when a new version of the RFzero library has been released. To update the example programs please go to Menu | Help | Check for updates. The RFzero Manager automatically check for updates when it launches and you will be notified if new versions of the example programs are available.

Uploading third party programs

To upload third party programs in the form of .bin files please go to Menu | File | Upload .bin file. Then find the relevant .bin file and click the [Open] button. The upload process will then begin.

How to create .bin files

The binary program files, .bin files, are not made with the RFzero Manager. They come from the Arduino IDE and are somewhat difficult to find. However, enable verbose all in the Arduino IDE preferences and after the compilation has completed look at the output comments and identify the path containing something like …\arduino_build_######/<Program_name>.ino.bin, where ###### is a six digit number. Then go there and copy the .bin file to the OwnBinFiles directory.

Communication window

The communication window is used to show status messages in blue during the upload process, received information from the RFzero in green and sent data in red.

It is possible to save or log the information in the communication window from the Menu | Communication | Save or Menu | Communication | Log | … options.

Input line

Below the communication window is an input line where data to send can be entered. To send the input text press the [Enter] key.

Received and sent timestamps

In the lower right corner are two timestamps. The green one is the received information timestamp and the red one is the one for sent data.

Function keys

The F6 to F12 function keys are currently not in use.

Instead of typing some of the Man Machine Interface (MMI) commands you may use the F-keys instead. Please be aware that most MMI commands invoked by the F-keys are only relevant in configuration mode.

F1 ?

Sends a “?” to the RFzero for showing the available commands.

F2 config

Sends the “config” MMI command to the RFzero to change from run mode to configuration mode.

F3 rd cfg

Sends the “rd cfg” MMI command to the RFzero listing the current configuration on the USB port.

F4 wr defaults

Sends the “wr defaults” MMI command to the RFzero forcing it to configure the example program with the default values if the RFzero is in configuration mode.

F5 exit

Sends the “exit” MMI command to the RFzero making it exit the configuration mode.

Menu

File |  Open .bin file

Opens a file browser in the OwnBinFiles sub-directory where third party .bin files are located.

Third party .bin files are compiled RFzero programs that are not official RFzero example programs.

File |  Send command file

Opens a file browser in the Commands sub-directory where command files are located. Command files are simple text file, with the .txt extension. A file contains MMI commands that can be uploaded to your RFzero instead of typing them manually. The command files are typically used for configuration purposes.

Example of a command file.

You can use any plain text editor like Notepad.

In command files blank lines, lines beginning with an exclamation mark “!” and comments beginning with “//” are allowed.

If there is no connection to a RFzero it is not possible to send a command file.

File |  Open working directory

Opens the file explorer in the working directory.

File |  Open downloads directory

Opens the file explorer in the default downloads directory. This may be useful when you download a new version of the RFzero Manager.

File |  Exit

Exits the RFzero Manager.

Communication |  Save

Saves the communication to a file named RFzeroManager_S_YYYYMMDD_HHMMSS.rtf in the communication window to the Communication sub-directory.

Communication |  Log start

Logs the communication, until it is stopped manually,  to a file named RFzeroManager_L_YYYYMMDD_HHMMSS.txt  to the Communication sub-directory.

You cannot start the log if it is already running.

Communication |  Log stop

Stops the current logging.

You cannot stop the log if it is not running.

Communication |  Copy to clipboard

Copies the messages in the communication window to the clipboard. You may then paste the message elsewhere.

Communication |  Clear

Clears the communication window.

Tools |  Bin, Dec and Hex

Opens a window with a binary <=> decimal <=> hexadecimal converter.

Help |  Help (online)

Opens this page in your default Internet browser.

Help |  RFzero home page

Opens the RFzero home page in your default Internet browser.

Help |  RFzero user group

Opens the RFzero user group page in your default Internet browser.

Help |  Check for updates

Opens a new windows showing the current RFzero Manager version number and the version available online.  If you want to download the online version e.g. because you want to update to the latest version please click the [Download RFzero Manager] button. Once downloaded exit the RFzero Manager, go to your default download directory, unzip RFzero_Manager.zip and run the installation program. Then start the RFzero Manager again.

The window also shows the release date for the example programs. If you want to update to the latest versions please click the [Update example programs] button.

Help |  Install RFzero driver | Open Device Manager

Opens the Windows Device Manager.

Help |  Install RFzero driver | Automatic installation (…)

This is only relevant if there is no Arduino Zero driver already installed.

Executes the automatic Arduino Zero driver installation. But before this can take place RFzero Manager must run as administrator. To run as administrator exit RFzero Manager then with the right mouse button click on the RFzero Manager icon or RFzeroManager.exe file and select “Run as administrator”. Then go to the RFzero Manager Menu | Help | Install RFzero driver | Automatic installation and the installation will take place.

Help |  Install RFzero driver | Manual installation

This is only relevant if there is no Arduino Zero driver already installed.

Opens a window with a manual driver installation guide.

Help |  About

Pops up the RFzero Manager about box that also shows the installation, download directory, working directories and system properties.


Files and directory structure

The RFzero Manager consists of the following programs

If the bossac.exe file is missing the RFzero Manager cannot upload programs, and both files must be present in the installation directory, typically C:\Program Files (x86)\RFzeroManager.

The RFzero Manager uses the following directories

  • Program installation directory
    typically C:\Program Files (x86)\RFzeroManager
  • The RFzeroManager working directory, C:\Users\<User>\Documents\RFzeroManager, includes the following sub-directories
    • Commands
      where command .txt files are located
    • Communication
      where saved and logged communication files are stored
    • OwnBinFiles
      where third party binary .bin program files are stored
    • RFzeroBinFiles
      where RFzero example program binary .bin files are stored. This directory also includes the RFzeroPrograms.txt file that is a control file used by the RFzero Manager to link to the .bin files

Local installation

If you want you can also make an installation, after having made the standard installation, in another directory where all files and directories are located relatively to the position of the RFzeroManager.exe file. This can be useful to make e.g. a USB stick installation for “portable” use. To make a local installation please follow the procedure below

  1. Run RFzero Manager and see if there are any updates. If so please update
  2. Create the destination directory, e.g. E:\RFzeroManager
  3. Make a copy of ALL the files and sub-directories from the standard installation directory
  4. Paste the files and sub-directories to the destination directory
  5. Create a new file called Local.txt and save it to the destination directory. The Local.txt file doesn’t have to have any content, but feel free to write something in the file if you want
  6. You are done and may now use the local installation

If you has made a “portable installation” you may have to install the Arduino Zero driver on the destination PC. Otherwise the RFzero will identify itself as “USB Serial Device (COM#)” instead of “Arduino Zero”, and you will not be able to upload programs, but only change the configuration.


English Windows names and terms in other languages

If your language is missing, or the translations are incorrect, please do something about it and help others 🙂

You may also use this online translation service from Microsoft.

Clipboard

  • Danish: Udklipsholder
  • French: Presse-papiers
  • German: Zwischenablage
  • Spanish: Portapapeles

Device Manager

  • Danish: Enhedshåndtering
  • French: Gestionnaire de périphériques
  • German: Geräte-Manager
  • Spanish: Administrador de dispositivos

Directory/folder

  • Danish: Direktorie/mappe
  • French: Annuaire/dossier
  • German: Verzeichnis/Ordner
  • Spanish: Directorio/carpeta

Driver

  • Danish: Driver
  • French: Pilote
  • German: Treiber
  • Spanish: Controlador

File Explorer

  • Danish: Stifinder
  • French: Explorateur de fichiers
  • German: Datei-Explorer
  • Spanish: Explorador de archivos

Function keys (F-keys)

  • Danish: Funktionstaster/F-taster
  • French: Clés de fonction
  • German: Funktionsschlüssel
  • Spanish: Claves de función

Notepad

  • Danish: Notesblok
  • French: Bloc-notes
  • German: Notizblock
  • Spanish: Bloc de notas

Run as administrator

  • Danish: Kør som administrator
  • French: Exécuter en tant qu’administrateur
  • German: Als Administrator ausführen
  • Spanish: Ejecutar como administrador