The FirmataCPx Firmware


To monitor and control the Circuit Playground Express using the pymata-cpx library, a special version of StandardFirmata, called FirmataCPx, must be installed on the Playground Express.

FirmataCPx is a modified version of Circuit Playground Firmata that is supplied with the standard Adafruit Circuit Playground Express library. This firmware is called FirmataCPx.

FirmataCPx makes several improvements over the original Adafruit sketch, including advanced board discovery, a data transfer rate of 115200, and code simplification and reliability enhancements.

Installation

Since the Circuit Playground Express utilizes a UF2 bootloader, installation is quick and straightforward. To install FirmataCPx on to the Express, first, click on this link to download FirmataCPx.uf2.

Next, place the Circuit Playground Express in bootloader mode by plugging the Express into a USB port on your computer and double-clicking its reset button. All the neo-pixels should light green.

Open up a file explorer tool, and you should see a USB drive called CPLAYBOOT. Using the file explorer, drag the FirmataCPx.uf2 file onto the CPLAYBOOT entry. In a few seconds, FirmataCPx should be loaded on the Playground Express. The red LED should flash several times and then extinguish after a successful load. For more information about loading UF2 files onto the Express, please refer to this Adafruit page. Even though this page addresses MakeCode, the procedure for flashing a .uf2 file is the same in all cases.



Copyright (C) 2019 Alan Yorinks. All Rights Reserved.