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 BigClown Playground GUI tool to program nodes, manage radio network and create rules in Node-RED.
The most significant change is that R2 has only single button. This is the B
button. It has moved and you can use it for your program. The R
reset button is not necessary anymore because communication and firmware flashing is now done automatically over FTDI chip.
Model | Core R1 | Core R2 |
---|---|---|
Look |
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 firmwares 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.
Step 2: You have to switch to Core Module to the DFU mode.
bcf flash --device dfu [firmware]:[version]
Example which flashing wireless-motion-detector firmware from Wireless Motion Detector project:
bcf flash --device dfu bigclownlabs/bcf-radio-motion-detector:latest
With Core R2 you can also use the BigClown Playground GUI tool to program nodes, manage radio network and create rules in Node-RED.
bcf flash [firmware]:[version]
Example which flashing wireless-motion-detector firmware from Radio Motion Detector project:
bcf flash bigclownlabs/bcf-radio-motion-detector:latest
bcf log
Flash firmware and immediatelly start logging after upload
bcf flash [firmware]:[version] --log
You can also add the --device
parameter to the bcf
so you don't have to choose the serial port every time.
bcf 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.
/dev/ttyS4
/dev/ttyACM2
Again run bcf devices
command and you should see one added.
/dev/ttyS4
/dev/ttyUSB0
/dev/ttyACM2
Newly connected module is the /dev/ttyUSB0
Now you can force to use that serial port during flashing:
bcf flash --device /dev/ttyUSB0 bigclownlabs/bcf-radio-motion-detector:latest
- ****bcf tool****
- About Core Module