pato-z80-home-computer/pat80-io-devices/composite-pal-adapter/software/avr-assembly
2021-02-09 23:20:36 +01:00
..
example_data Refactoring 2021-01-19 08:36:01 +01:00
.gitignore Polish 2021-01-08 16:12:46 +01:00
character_generator.asm Back working on communication 2021-01-27 08:58:04 +01:00
communication.asm Back working on communication 2021-01-27 08:58:04 +01:00
font.asm Big refactoring and first character generator implementation 2021-01-24 11:27:40 +01:00
fuses.conf WIP reimplementing video generation with shift register 2021-02-09 23:20:36 +01:00
m1284def.inc Using official mc device definition 2021-01-13 19:22:07 +01:00
main.asm WIP reimplementing video generation with shift register 2021-02-09 23:20:36 +01:00
main.cof Reorganized folders, added pal-adapter io device folder 2021-01-02 16:33:51 +01:00
main.eep.hex Reorganized folders, added pal-adapter io device folder 2021-01-02 16:33:51 +01:00
Makefile WIP reimplementing video generation with shift register 2021-02-09 23:20:36 +01:00
README.md WIP reimplementing video generation with shift register 2021-02-09 23:20:36 +01:00
video_generator.asm WIP reimplementing video generation with shift register 2021-02-09 23:20:36 +01:00

Atmega Microcontroller

Auto build & flash

Use make to build & flash automatically. The first time the microcontroller is flashed, is needed to flash fuses: make fuses Then, every time the asm code is changed, it can be built and flashed with: make

Build ASM code

avra filename.asm (generates filename.hex)

Flash

Rom

minipro -w filename.hex -p ATMEGA1284

Fuses

Read fuses: minipro -r -c config -p ATMEGA1284 (-r -c config means read configuration (fuses)) Fuses must be written all together, so read the current values, edit the generated file and write it. The meaning of every bis is in the conf file. Write fuses: minipro -w fuses.conf -c config -p ATMEGA1284