Add tags to articles
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Elara 2023-07-14 18:56:48 -07:00
parent 1b1a580313
commit fb1d73efad
3 changed files with 5 additions and 5 deletions

View File

@ -3,12 +3,11 @@ title = "Elara's Site"
#description = "My awesome website" #description = "My awesome website"
copyright = "Copyright © Elara Musayelyan" copyright = "Copyright © Elara Musayelyan"
dateFormat = "January 2, 2006"
[languages.en.params] [languages.en.params]
languageCode = "en" languageCode = "en"
languageName = "English" languageName = "English"
displayName = "EN" displayName = "EN"
dateFormat = "January 2, 2006"
isoCode = "en" isoCode = "en"
weight = 1 weight = 1
rtl = false rtl = false

View File

@ -42,7 +42,7 @@ enableCodeCopy = true
invertPagination = false invertPagination = false
showReadingTime = true showReadingTime = true
showTableOfContents = true showTableOfContents = true
showTaxonomies = false showTaxonomies = true
showWordCount = false showWordCount = false
showComments = false showComments = false
# sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"] # sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"]
@ -52,6 +52,7 @@ enableCodeCopy = true
showSummary = true showSummary = true
showTableOfContents = false showTableOfContents = false
groupByYear = false groupByYear = false
showTaxonomies = true
[sitemap] [sitemap]
excludedKinds = ["taxonomy", "term"] excludedKinds = ["taxonomy", "term"]

View File

@ -2,7 +2,7 @@
title = "Nordic DFU over BLE" title = "Nordic DFU over BLE"
date = "2023-07-14" date = "2023-07-14"
summary = "Using Nordic Semiconductor's DFU protocol over Bluetooth Low Energy" summary = "Using Nordic Semiconductor's DFU protocol over Bluetooth Low Energy"
weight = 20 tags = ["pinetime", "ble", "itd"]
+++ +++
I maintain a project called [ITD](https://gitea.elara.ws/Elara6331/itd), a companion app for Pine64's [PineTime](https://www.pine64.org/pinetime/) smartwatch. The PineTime uses a Nordic nRF52832 SoC and implements the Nordic DFU protocol. I found the documentation for this protocol on Nordic's site to be severely lacking and had to resort to digging through source code to implement it properly. In this article, I'll explain exactly how to upgrade your firmware over BLE using the information that I've learned. I maintain a project called [ITD](https://gitea.elara.ws/Elara6331/itd), a companion app for Pine64's [PineTime](https://www.pine64.org/pinetime/) smartwatch. The PineTime uses a Nordic nRF52832 SoC and implements the Nordic DFU protocol. I found the documentation for this protocol on Nordic's site to be severely lacking and had to resort to digging through source code to implement it properly. In this article, I'll explain exactly how to upgrade your firmware over BLE using the information that I've learned.
@ -67,4 +67,4 @@ First, write `[0x04]` to the control point. This tells your device to validate t
Once the firmware is successfully validated, write `[0x05]` to the control point, which tells your device to activate the new firmware and reset. Once the firmware is successfully validated, write `[0x05]` to the control point, which tells your device to activate the new firmware and reset.
That's it! Your device should reboot running the new firmware. Some firmware (such as InfiniTime for the PineTime) requires you to manually validate the firmware in their settings or they'll revert on the next reboot, so make sure to remember to do that if your device requires it. That's it! Your device should reboot running the new firmware. Some firmware (such as InfiniTime for the PineTime) requires you to manually validate the firmware in their settings or they'll revert on the next reboot, so make sure to remember to do that if your device requires it.