Giter Site home page Giter Site logo

tsb1634's Introduction

Attiny 1634 serial boot loader based on TinySafeBoot

Original from TinySafeBoot http://jtxp.org/tech/tinysafeboot_en.htm.
Modified for Attiny1634.

Project Setup

Development environment

How can I see the project working before I change anything?

  1. Open tsb1634.atsln and build project by Atmel Studio.
  2. Format hex codes. E.g. >ruby -i.bak -pe '$_.gsub!(/(.+)/,"data "\1"")' tsb1634.hex
  3. Replace tn1634 section of TinySafeBoot data.bas file with the formatted hex codes.
  4. Compile TSB software (a host side tool) with FreeBasic. E.g. >fbc tsb.bas
  5. Make bootloader codes (.hex file) by TSB software. E.g. >tsb tn1634 a7b0
  6. Enable self-programming on the target by an AVR writer. E.g. >avrdude -c usbtiny -p t1634 -U efuse:w:0xFE:m
  7. Write the bootloader into the target flash by an AVR writer. E.g. >avrdude -c usbtiny -p t1634 -U flash:w:tsb_tn1634_a7b0_20140619.hex
  8. Connect USB (or bluetooth) UART converter TX/RX to target PA7:RX/PB0:TX.
  9. Verify TSB connection. E.g. Reset target and >tsb com5 i
  10. Write App. E.g. Reset target and >tsb com5 fw MI100R6.cpp.hex

License

GPLv3

tsb1634's People

Contributors

silkycove avatar

Stargazers

Alexander Weber avatar Laris Qiao avatar Colesnicov Denis Petrovich avatar

Watchers

James Cloos avatar  avatar

tsb1634's Issues

tsb needs baudrate parameter

The command to verify TSB connection e.g. reset target >tsb com5 i is not working with Attiny1634 when using the 1MHz internal clock. You need to specify a slow enough baud rate: >tsb com5:2400 i.

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.