2024-10-22 01:36 AM - last edited on 2024-10-22 01:40 AM by Andrew Neil
How can i read/write a STM8S series IC. Please help me.
2024-10-24 12:19 PM
You'll need software that generates a binary to load (ref STVD-STM8 at https://www.st.com/en/development-tools/stvd-stm8.html, sdcc at https://sdcc.sourceforge.net/, or asst8 at https://shop-pdp.net/ashtml/asxxxx.php).
You'll also need the programmer hardware that sends the binary via the SWIM port (ref st-linkv2 at https://www.st.com/en/development-tools/st-link-v2.html), and the software to drive the programmer, to upload your generated binary (ref ref STVD-STM8 at https://www.st.com/en/development-tools/stvd-stm8.html or STM8-Flash at https://github.com/vdudouyt/stm8flash)
Alternatively you can use a dev board, which has the chip and the programmer both on the board.
2024-10-24 12:21 PM
To read from the board you'll need to communicate from the board via a protocol (UART, SPI, roll-your-own, etc), and set up the software to use the protocol.