https://github.com/atc1441/ATCmiBand8fw Skip to content Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} atc1441 / ATCmiBand8fw Public * Notifications * Fork 2 * Star 63 A custom firmware for the Xiaomi Mi Band 8 License GPL-3.0 license 63 stars 2 forks Activity Star Notifications * Code * Issues 1 * Pull requests 0 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights atc1441/ATCmiBand8fw This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/a] Use Git or checkout with SVN using the web URL. [gh repo clone atc144] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @atc1441 atc1441 Update PCB_test_pins.jpg ... 57eed82 Nov 30, 2023 Update PCB_test_pins.jpg 57eed82 Git stats * 3 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time Custom_Firmware First release, bad quality content November 30, 2023 17:10 LICENSE Initial commit November 30, 2023 16:49 PCB_test_pins.jpg Update PCB_test_pins.jpg November 30, 2023 17:14 PCB_test_pins_pinout.jpg First release, bad quality content November 30, 2023 17:10 Pinout_MiBand8.ods First release, bad quality content November 30, 2023 17:10 README.md First release, bad quality content November 30, 2023 17:10 View code ATC MiBand8 Fw Everything is really just bare minimum and not nice to read, but better i publish this now than never! README.md ATC MiBand8 Fw This is the most minimal demo of a custom firmware for the Xiaomi Mi Band 8 Everything is really just bare minimum and not nice to read, but better i publish this now than never! Here is a YouTube video that shows the general function https:// youtu.be/L2ugXV0ao3Q YoutubeVideo To build each example you need to enter the "gcc" folder of the choosen one and enter make, with an Segger flasher connected you can also use "flash.bat" and it will directly flash the firmware to the device. (Change the directy to the correct one in the file "jlink_auto_file.jlink" beforehand) In the folder "Custom_Firmware\boards\apollo4l_blue_evb\examples\ peripherals\hello_world_lcd" you can find a Rickroll Gif example. In the folder "Custom_Firmware\boards\apollo4l_blue_evb\examples\ peripherals\hello_world_uart" you can find an example of using the display, touchscreen and Light sensor, the Accl is started but not working right now( No idea when that will be finished :D ) If you download the stock SDK from Ambiq.com you can also build working BLE examples. https://ambiq.com/apollo4-blue-lite/ https://contentportal.ambiq.com/apollo4-blue-lite Find the reversed pinout in the file "Pinout_MiBand8.ods" (OpenOffice) To flash a the Apollo 4 Blue Light SoC connect the SWD flasher to the pins: SWDIO and SWCLK, it is also best to connect to the Reset pin (small testpad) as the stock firmware disables the SWD interface after boot. The TXD Pin will output debug UART messages on 115200 baud See the pinout images for the further pins on the PCB PCB_test_pins_pinout PCB_test_pins About A custom firmware for the Xiaomi Mi Band 8 Resources Readme License GPL-3.0 license Activity Stars 63 stars Watchers 6 watching Forks 2 forks Report repository Releases No releases published Packages 0 No packages published Languages * HTML 70.4% * C 28.6% * Python 0.5% * Makefile 0.2% * JavaScript 0.2% * CSS 0.1% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.