Obtaining and flashing firmware

Microcontrollers do not directly understand human-readable code. The firmware code is written in the C language by the programmer. This needs to be converted to a binary format that can be understood by the Particle microcontrollers. A program called a compiler does this conversion.

A local setup is required to be able to work with firmware. Such a setup provides you with all the software and packages needed to compile and deploy the firmware.

Flashing firmware involves two main steps:

  1. Obtaining firmware.
  2. Burning firmware onto the device.

Obtaining firmware

To be able to flash a firmware, we need to get the firmware file in binary format. There are two ways you can obtain the firmware:

  • Direct download
  • Building from source ...

Get Learning IoT with Particle Photon and Electron now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.