STM8S firmware template
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
King Kévin 0b87be5fd7 doc: indicate markdown formating 11 months ago
.gitignore initial firmware template 3 years ago
LICENSE initial firmware template 3 years ago
Makefile make: only compile used file, else unused are linked 2 years ago
README.md doc: indicate markdown formating 11 months ago
eeprom_blockprog.c eeprom_blockprog: add EEPROM block programing library 2 years ago
eeprom_blockprog.h eeprom_blockprog: add EEPROM block programing library 2 years ago
i2c_master.c i2c_master: minor, remove irrelevant comment 2 years ago
i2c_master.h i2c_master: mention more stable software implementation 2 years ago
main.c main: add character in EDID product name to indicate firewall 2 years ago
main.h main: add printing utilities 2 years ago
softi2c_master.c softi2c_master: add timeout to prevent infinite loop 2 years ago
softi2c_master.h softi2c_master: add software implementation I²C library 2 years ago
stm8s.h stm8s: fix data unlocking keys 2 years ago

README.md

This is the firmware for the HDMI firewall programmer. The HDMI firewall programmer copies EDID information onto the HDMI firewall.

usage

see hardware description.

mode of operation

the EDID can be accessed using the I²C lines on the HDMI port. the firmware reads and writes the data from slave device address 0x50.

connections

the programmer can be flashed using the micro-USB port (not USB signals):

  • the SWIM signal is on USB pin 2 D-
  • the NRST signal is on USB pin 4 ID

there is also debugging output using UART (115200 8N1) on STM8S pin 2 PD5/UART_TX.

code

the source code is for a STM8S103F3 micro-controller.

compile

requirement: SDCC, make

to compile the source code into a firmware, run make.

flash

requirement: stm8flash, a ST-LINK/V2 programmer

to flash the firmware on the micro-controller, run make flash.