Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning IoT with Particle Photon and Electron

You're reading from  Learning IoT with Particle Photon and Electron

Product type Book
Published in Sep 2016
Publisher
ISBN-13 9781785885297
Pages 136 pages
Edition 1st Edition
Languages
Authors (3):
Rashid Khan Rashid Khan
Profile icon Rashid Khan
Kajari Ghoshdastidar Kajari Ghoshdastidar
Profile icon Kajari Ghoshdastidar
Ajith Vasudevan Ajith Vasudevan
Profile icon Ajith Vasudevan
View More author details

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

Obtaining firmware by direct download

The easiest way to get the latest firmware is to download it from the firmware release page at https://github.com/spark/firmware/releases/.

At the time of writing of this book, the latest firmware available for...

lock icon The rest of the chapter is locked
arrow left Previous Chapter
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}