Giter VIP home page Giter VIP logo

defcon29's Introduction

DEF CON 29 Badge

by MK Factor

alt text

Here's the code and some design files for the DEF CON 29 badge. Feel free to modify and share to your heart's content.

Compiled .uf2 files can be found under Firmware/Compiled. These are the firmware files that were released during the con that fix the 31-character issue. To put them on your badge, hold the bottom-right button when plugging it into your computer. The badge will start up in bootloader mode and will appear as a mass storage device. Drag/Drop or Copy/Paste the new .uf2 file onto the badge. It will apply the new firmware and automatcially restart.

NOTE: Flashing new firmware should not reset your challenge/game stats. They are stored in a separate EEPROM location in flash.

To generate your own .uf2 files, take the compiled .hex file and use the UF2 converter uf2conv.py available from https://github.com/microsoft/uf2/ (in the utils directory).

I wrote the code in AtmelMicrochip Studio 7.0 and used the ASF Framework. The install files for the version I used is available on the DEF CON Media Server https://media.defcon.org/DEF%20CON%2029/DEF%20CON%2029%20badge/

The main microcontroller is an ATSAMD21G16B. It has 64KB of flash and 8KB of RAM. The first 8KB of flash is used for the bootloader, leaving 56KB for the main program. The bootloader is write protected by internal fuses in the microcontroller. If you want to remove it, you'll need to use an SWD programmer or write your own program that unlocks the booloader section and erases/overwrites it. Do this at your own risk.

Pull requests may be merged if they add functionality while retaining all original functionality. If you make something cool that doesn't fit this description, let me know and I'll try to add it to the list here.

Cool Things Other People Have Made For The Badge

(I have not verified/tested any of these. Use at your own risk)

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.