2020-11-06 06:54 PM
Hi,
I am the author of an OS tool flash tool named "stm8gal" for programming the STM8 via the ROM bootloader. Currently I check family type and memory size by probing different addresses. This is extremely ugly and may fail in devices I couldn't test yet.
Much better would be to read the variant ID (not UID) and memory size, which I assume are stored in flash somewhere...!? Unfortunately I was unable to find any documentation about this. Can anyone provide more information about this?
For your help thanks a lot in advance!