Skip to content

monoxit/tsb1634

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Attiny1634 serial boot loader based on TinySafeBoot http://jtxp.org/tech/tinysafeboot_en.htm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published