Core Module R1 and R2 comparison¶
We have released the new Core Module 2. Everything is the same, only the flash process is now easier and faster.
With Core R2 you can use the HARDWARIO Playground GUI tool to program nodes, manage radio network and create rules in Node-RED.
Technical and visual differences¶
The most significant change is that R2 has only single button. This is the
It has moved and you can use it for your program.
R reset button is not necessary anymore because communication and firmware flashing is now done automatically over FTDI chip.
The new Core Module 2 is not using DFU mode anymore. We have added new flashing over FTDI chip and virtual serial port over USB. This means that the flashing procedure is now the same as with the Radio Dongle. Please, use the –device <PORT> (e.g. COM4 or /dev/ttyUSB0) parameters instead of the former –dfu or –device dfu parameter.
No need to press any button to start firmware update.
Faster firmware uploads over FTDI chip
Smaller firmware because USB stack is now handled by FTDI chip.
Simple debugging over serial port. The UART2 is connected to the FTDI so you can use bc_log_* functions.
No issues with DFU drivers on Windows.
Flashing Core Module R1¶
Step 1: Connect the Micro USB cable to the Core Module and your computer¶
Flashing Core Module R2¶
Step 1: Flash firmware with following command¶
bcf flash [firmware]:[version]
Example which flashes wireless-motion-detector firmware from Radio Motion Detector project:
bcf flash hardwario/bcf-radio-motion-detector:latest
Step 2: Print bc_log debug messages over UART2 serial to your computer with bcf¶
Flash firmware and immediatelly start logging after upload
bcf flash [firmware]:[version] --log
List of connected devices¶
You can also add the
--device parameter to the
bcf so you don’t have to choose the serial port every time.
Step 1: Run following command to see connected devices¶
You should see as output something as following.
On Windows instead of
/dev/ttyS4 will be for example
COM13. Following device list is same on macOS and Linux.
Step 2: Connect the Micro USB cable to the Core Module and your computer¶
bcf devices command and you should see one added.
Newly connected module is the
Now you can force to use that serial port during flashing:
bcf flash --device /dev/ttyUSB0 hardwario/bcf-radio-motion-detector:latest