Skip to main content
TVela.1
Associate III
April 27, 2023
Solved

Hi experts! Do you know what is my issue? and how can I solve it? I'm using the ST-link v2 with the STM8 part as you can see below.

  • April 27, 2023
  • 5 replies
  • 2527 views

..

    This topic has been closed for replies.
    Best answer by TVela.1

    Hi Tesla DeLorean,

    Thank you for your prompt support. I'm using the MCU STM8L151C8.

    I solved it with the following steps:

    1. Changing ROP to OFF
    2. Program memory
    3. Read memory


    _legacyfs_online_stmicro_images_0693W00000bj3LZQAY.pngBest regards,

    Tania

    5 replies

    TVela.1
    TVela.1Author
    Associate III
    April 27, 2023

    Hi experts!

    Do you know what is my issue? and how can I solve it?


    _legacyfs_online_stmicro_images_0693W00000bizT5QAI.pngI'm using the ST-link v2 with the STM8 part as you can see below.


    _legacyfs_online_stmicro_images_0693W00000bizTAQAY.pngNote: I'm sure of the MCU part number.

    Thank you in advance!

    Best regards,

    Tania

    AA1
    Senior III
    April 28, 2023

    Maybe target MCU selection is wrong. Try select STM8L151x8. See more in UM0991 page 24.

    If target MCU selection is ok, you need to remove option bytes readout protection.

    TVela.1
    TVela.1Author
    Associate III
    April 28, 2023

    When I tried with STVD programmer I got this.


    _legacyfs_online_stmicro_images_0693W00000bj38aQAA.png
    _legacyfs_online_stmicro_images_0693W00000bj39JQAQ.pngDo you know what this issue is?

    Thank you in advance.

    Best regards,

    Tania

    Tesla DeLorean
    Guru
    April 28, 2023

    It's either protected or not properly connecting..

    Can you ERASE it to remove the protection?

    Is this a device that has successfully been used before?

    Any staff at your organization who have used these parts/tools previously?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..