Coder Social home page Coder Social logo

ztomer / atcmiband8fw Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atc1441/atcmiband8fw

0.0 0.0 0.0 53.74 MB

A custom firmware for the Xiaomi Mi Band 8

License: GNU General Public License v3.0

JavaScript 0.18% Python 0.53% C 28.57% Assembly 0.01% PowerShell 0.01% CSS 0.07% Makefile 0.20% HTML 70.44% Batchfile 0.01%

atcmiband8fw's Introduction

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

atcmiband8fw's People

Contributors

atc1441 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.