Testing with cat image

This commit is contained in:
Daniele Verducci su MatissePenguin
2021-02-20 17:02:13 +01:00
parent 97adb88023
commit 36ede10f3b
5 changed files with 1017 additions and 1953 deletions

View File

@@ -5,9 +5,14 @@
## 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`
Write fuses: `minipro -w fuses.conf -c config -p ATMEGA1284`
# Generate test images
Using GIMP, Image -> Mode -> Indexed, select 2 colors and Posterize.
Invert the image colors.
Save as .xbm file. Oper with a *text editor*, you will find an array of byte-packed pixels (every byte represents 8 pixels).
Copy and paste on an ASM file.