Skip to content

Instantly share code, notes, and snippets.

View ajudges's full-sized avatar

Nnamdi Ajah ajudges

  • Germany
View GitHub Profile
@ajudges
ajudges / BITE-SIZED BOOTING FOR ARM EMBEDDED SYSTEMS.md
Last active August 27, 2021 15:47
A simplified overview on how embedded ARM devices boot

BITE-SIZED BOOTING FOR ARM EMBEDDED SYSTEMS

Hurdled around to watch one of the games in Toyko 2020 Olympics, we put on the TV, a smart TV, and then we waited an agonizing 10 seconds watching the device boot. Being impatient to watch the game, we were understandably irritated with the time it took the TV to load. Most of us have been there - where we just want to start doing stuff as soon as we switch on our device.

So what was happening while we waited for our device to boot?

It starts from the code we executed when we press the power button. Yes! You execute a code when you press a power button. This code is a machine specific code (called Bootloader) that initializes the device to start.

@ajudges
ajudges / provision-Devices-IoT-Core.md
Last active July 21, 2021 14:53
How to provision an IoT Device to Google Cloud IoT Core

Provisioning Devices to Google Cloud IoT Core

When deploying IoT devices on a global scale, many considerations have to be put in place. Remote accessibility, security, device management, simplicity, flow control, reliability, low latency, redundancy, integration with other cloud services represent some of the important considerations. To meet most of the requirements needed in deploying devices on a global scale, one has little or no option but to look to cloud platforms.

Google’s cloud platform provides Cloud IoT Core solution to meet the demands of secure and scalable IoT. Cloud IoT Core is a fully managed service to securely connect and manage a global device network. It features https/MQTT endpoints, automatic load balancing and global data access with Pub/Sub. Cloud IoT Core acts as a device manager and the integration with Pub/Sub enables IoT Core to also act as a communication broker. The use of Cloud IoT also ensures highway access to the rest of Google’s cloud platform.

![Cloud IoT Core Workfl