Tuesday, January 23rd 2018, 8:47am UTC+1

You are not logged in.

  • Login
  • Register

Date of registration: Jan 16th 2013

Posts: 1


Wednesday, January 16th 2013, 2:26pm

Program a STM8L05 with STM8 Flasher


I use the STM8 Flasher to program the STM8L052R8T6 CPU and there is not this target CPU in the choices of the software. I tried the STM8L152R8T6 and it works, but I would like toknow if there is a good mean to program my CPU.

Best Regards


SEGGER - Oliver

Super Moderator

Date of registration: Nov 14th 2007

Posts: 41


Monday, January 21st 2013, 10:10am

Hello Vincent,

Most STM8 MCUs are similar when it comes to flash programming except for some little differences.
For the STM8L052R8 and STM8L152R8 the only important difference I can see so far is that the STM8L052R8 has a smaller EEPROM.

This might be a problem when doing a chip erase from the Flasher STM8 Software depending on how the MCU reacts on accessing
trying to erase a flash block in an area not present. You can select the flash sectors really present with your device and do a sector
erase instead.

As for programming STM8 flash, flash does not need to be erased first it should not make a difference for you in selecting the STM8L151R8.

We will try to add the STM8L052R8 into the next release so it can be selected regularly.

Best regards,