STM8S firmware template
Go to file
King Kévin 0b87be5fd7 doc: indicate markdown formating 2022-06-21 14:59:43 +02:00
.gitignore initial firmware template 2020-09-30 16:59:31 +02:00
LICENSE initial firmware template 2020-09-30 16:59:31 +02:00
Makefile make: only compile used file, else unused are linked 2021-08-23 17:35:43 +02:00
README.md doc: indicate markdown formating 2022-06-21 14:59:43 +02:00
eeprom_blockprog.c eeprom_blockprog: add EEPROM block programing library 2021-07-21 23:33:22 +02:00
eeprom_blockprog.h eeprom_blockprog: add EEPROM block programing library 2021-07-21 23:33:22 +02:00
i2c_master.c i2c_master: minor, remove irrelevant comment 2021-08-16 16:29:15 +02:00
i2c_master.h i2c_master: mention more stable software implementation 2021-08-17 11:29:53 +02:00
main.c main: add character in EDID product name to indicate firewall 2021-08-23 17:34:55 +02:00
main.h main: add printing utilities 2021-08-17 08:51:00 +02:00
softi2c_master.c softi2c_master: add timeout to prevent infinite loop 2021-08-23 17:33:47 +02:00
softi2c_master.h softi2c_master: add software implementation I²C library 2021-08-17 11:30:53 +02:00
stm8s.h stm8s: fix data unlocking keys 2021-07-21 23:29:21 +02:00

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.