Coder Social home page Coder Social logo

1bitsy's Introduction

These are MicroPython board defintion files for the 1BitSy from 1BitSquared.

The product page can be found here and here.

Build the firmware using:

cd micropython/ports/stm32/boards
git clone https://github.com/dhylands/1BITSY.git
cd ..
make BOARD=1BITSY

The get the device in DFU mode, you can short the "BOOT DFU" pads on the back of the board while plugging it to USB. If the sample image is still included on the 1BitSy, the you can also enter DFU mode by pressing the pushbutton while plugging it into USB.

Once in DFU mode, you should be able to use the dfu-util --list command and see something like this:

Found DFU: [0483:df11] ver=2200, devnum=64, cfg=1, intf=0, path="1-1.2", alt=3, name="@Device Feature/0xFFFF0000/01*004 e", serial="377936813435"
Found DFU: [0483:df11] ver=2200, devnum=64, cfg=1, intf=0, path="1-1.2", alt=2, name="@OTP Memory /0x1FFF7800/01*512 e,01*016 e", serial="377936813435"
Found DFU: [0483:df11] ver=2200, devnum=64, cfg=1, intf=0, path="1-1.2", alt=1, name="@Option Bytes  /0x1FFFC000/01*016 e", serial="377936813435"
Found DFU: [0483:df11] ver=2200, devnum=64, cfg=1, intf=0, path="1-1.2", alt=0, name="@Internal Flash  /0x08000000/04*016Kg,01*064Kg,07*128Kg", serial="377936813435"

Alternatively, you could also use the ../tools/pydfu.py -l command and see something like this:

Bus 1 Device 064: ID 0483:df11
Memory Layout
    0x8000000  4 pages of  16K bytes
    0x8010000  1 pages of  64K bytes
    0x8020000  7 pages of 128K bytes

Now you can flash MicroPython using:

make BOARD=1BITSY deploy

You can also flash micropython using gdb by using a BlackMagic Probe and following the tutorial here.

1bitsy's People

Contributors

dhylands avatar pinsonn avatar

Watchers

 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.