diff --git a/README.md b/README.md index 5d01009..2c1c16b 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,23 @@ Programming tool for parallel EEPROM chips, based on a ATmega16. Only supports AT28C256 EEPROM chips as of now. +## Usage + +### Using the python tool + +(TODO) + + +### Using the serial terminal + +The device uses a baud-rate of 38.4 kbps. +Output lines end with a line feed (LF), input lines may end with LF or CR+LF. + +Example for using `picocom` to access the device: + + picocom -b 38400 --imap lfcrlf --echo /dev/ttyUSB0 + + ## Development ### VS Code configuration diff --git a/firmware/Makefile b/firmware/Makefile index b04be63..1020d16 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -4,7 +4,7 @@ # Compiler and tools CC = avr-gcc OBJCOPY = avr-objcopy -AVRDUDE = avrdude +AVRDUDE ?= avrdude # Compiler and linker flags CFLAGS = -Wall -std=c11 -Os diff --git a/firmware/src/config.h b/firmware/src/config.h index 088d4d6..ee071d7 100644 --- a/firmware/src/config.h +++ b/firmware/src/config.h @@ -7,6 +7,6 @@ #endif // Set UART Baud rate -#define BAUD 9600UL +#define BAUD 38400UL #endif /* CONFIG_H_ */