Increase baud rate to 38.4 kbps; add picocom example to README.md

This commit is contained in:
Lexi / Zoe 2021-04-16 20:51:38 +02:00
parent 10111979a8
commit e8fbc175ca
Signed by: binaryDiv
GPG Key ID: F8D4956E224DA232
3 changed files with 19 additions and 2 deletions

View File

@ -5,6 +5,23 @@ Programming tool for parallel EEPROM chips, based on a ATmega16.
Only supports AT28C256 EEPROM chips as of now. 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 ## Development
### VS Code configuration ### VS Code configuration

View File

@ -4,7 +4,7 @@
# Compiler and tools # Compiler and tools
CC = avr-gcc CC = avr-gcc
OBJCOPY = avr-objcopy OBJCOPY = avr-objcopy
AVRDUDE = avrdude AVRDUDE ?= avrdude
# Compiler and linker flags # Compiler and linker flags
CFLAGS = -Wall -std=c11 -Os CFLAGS = -Wall -std=c11 -Os

View File

@ -7,6 +7,6 @@
#endif #endif
// Set UART Baud rate // Set UART Baud rate
#define BAUD 9600UL #define BAUD 38400UL
#endif /* CONFIG_H_ */ #endif /* CONFIG_H_ */