Git Product home page Git Product logo

chip45boot3's Introduction

chip45boot3

AVR ATmega Xmega Bootloader and PC GUI Source Code.

chip45boot3 was previously offered commercially by chip45.com and is now available as open-source under MIT License.

Description

chip45boot3 is the successor of the popular chip45boot2 bootloader targeting professional applications with extended functionality. It supports almost any Atmel/Microchip AVR ATmega and Xmega microcontrollers. See infosheet for details.

Features

chip45boot2 provides the following features:

  • faster transmission protocol
  • strong 16 bit CRC checksum
  • optional 128 bit XTAE encryption of data
  • programing and reading of flash and eeprom memory (including verification of programmed content)
  • bootloader can read out firmware version from flash and GUI warns, if an older version should be programmed
  • communication through USART (e.g. RS232, USB UART converter, optionally RS485)
  • support of the internal USB controller of the recent Xmega microcontrollers!
  • written in C with Atmel Studio 6.1
  • memory footprint highly configurable (e.g. ATmega/USART/just flash programming <2k, full functionality <4k, with USB controller <8k)
  • GUI written with Visual C# (2010 Express), full source code included
  • separate PC tool for encryption of hex files, full source code included

Overview

The chip45boot3 bootloader is a highly customizeable bootloader for all ATmega and Xmega devices with bootloader support (i.e. separate bootblock in flash and boot reset vector).

A fast binary protocol with strong 16 bit CRC checksum ensures a reliable communication with a host PC. Flash and EEPROM memory of the target can be written or read out and the written content is verified against the original data.

The bootloader can read out a firmware version from the exisiting flash memory and compare it against the version of the new firmware hexfile. A warning is shown, if an older version should be programmed.

Communication is performed through any UART of the target device with a host PC (e.g. USB UART converter, RS232, RS485). Other microcontroller interfaces can be adopted relatively easy due to the very modular design of the bootloader.

Application firmware content can be XTAE encrypted optionally making it impossible for attackers to reverse engineer the firmware.

Memory footprint starts at below 2k for small ATmega devices with just flash programming support.

The bootloader is written in C with Atmel Studio 7 and the Windows PC GUI is written with Visual C# Express. Full source code is included of bootloader, PC GUI as well as an PC encryption tool for XTEA encryption of hex files.

Further Information

PC Software

The chip45boot3 GUI is a PC/Windows application with a graphical user interface for the bootloader, which simplifies flash and eeprom programming over a COM port.

chip45boot2 PC GUI

chip45boot2 PC GUI

You can download Windows binaries under releases.

The PC software was programmed with Visual Studio C#.

Contributing/Feedback

Feedback / improvements / pull-requests / etc. are welcome.

However, I decided to open-source the bootloader due to lack of time/resources available for supporting the bootloader anymore, hence I cannot guarantee working on issues/pull-requests in the short-term.

License

Copyright (C) 2023 Erik Lins

This project is released under the MIT License.

chip45boot3's People

Contributors

eriklins avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

adam197800 sys-ak

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.