Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aasmundn/attiny-isp

In-circuit Serial Programmer (ISP) for first generation ATtiny devices.
https://github.com/aasmundn/attiny-isp

asm assembler assembly atmel attiny attiny15l avr avr-gcc in-circuit isp microchip programming serial

Last synced: 15 days ago
JSON representation

In-circuit Serial Programmer (ISP) for first generation ATtiny devices.

Awesome Lists containing this project

README

        

# ATtiny In-circuit Serial Programmer (ISP)

In-circuit Serial Programmer for the first generation of [ATtiny microcontrollers](https://en.wikipedia.org/wiki/ATtiny_microcontroller_comparison_chart). These devices are very simple and can only be programmed in assembler; perfect for learning! The ISP programmer is implemented on an ATtiny1607.

## How to...

Compile the source files for ATtiny1607 using the GNU toolchain for AVR (avr-gcc etc) and CMake. You must also install the device family pack (DFP) for the ATtiny1607 and place it in a folder named _device_pack_. Upload with _pymcuprog_.

A simple CLI tool for communiacting with the programmer is in the cli folder. Install the tool with `go install isp`. For help type `isp --help`.

The example folder includes a simple led blinker program in assembler for the ATtiny15L. A simple Makefile for assembling, linking and uploading the program can be found in the same folder.

Will add circuit diagrams later...

## Further work

- Document code
- Write a cool(er) assembler program
- PCB?

## Resources

- [ATtiny15L datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/doc1187.pdf)
- [ATtiny1607 datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/ATtiny807_1607-Data-Sheet-40002030A.pdf)
- [About AVR assembly](https://www.nongnu.org/avr-libc/user-manual/assembler.html#ass_isr)