Skip to main content
Visitor II
November 7, 2020
Question

Details on STM8 chip ID and memory size?

  • November 7, 2020
  • 0 replies
  • 547 views

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!

    This topic has been closed for replies.