STM8 MCUs

Discuss STM8 microcontrollers, including SWIM, USART configurations, RTC usage, ADC issues, and debugging.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM8 is little endian - right?

I have started writing some STM8 code in assembler and happened upon a memory assignment issue I can't explain.Globally I have segment 'ram0'Test_Word ds.w in code: ldw X, #$48 ldw Test_Word , X The two bytes of memory at location Test_Word i...

Joe.H by Senior
  • 878 Views
  • 2 replies
  • 0 kudos

Remove ROP protection on STLUX385A using ST-LINK

Hello.I have accidentally activated the ROP protection on some demo boards using STLUX385A.Normally I use ST Visual Programmer to restore the configuration bytes, but the STLUX385A is not currently supported.I own a ST-Link V2 but I can't find any fl...

SStei by Associate
  • 782 Views
  • 1 replies
  • 0 kudos

Can't debug STM8s105C6 , SWIM error 30004 Comm timeout

I'm working on STM8s105c6 . Everything goes fine but I'm not able to debug it . Earlier it said Swim error can't access database . Then i reinstalled StToolset file , Now it shows SWIM Error 30004 Comm Time out . I have tried everything . The code g...

OKuma by Associate II
  • 1192 Views
  • 1 replies
  • 0 kudos

STM8S005K6 - I2C (Bus always busy)

Hi ! This question has already be posted but i don't find a solution of my problem.I have an LCD screen (MC20805A6W-BMLW-V2) with I2C communication and I try to communicate with my controller via I2C (STMS005K6).First I initialize my port :GPIO_DeIni...

0690X000009jzf6QAA.png
ET_FR by Associate
  • 546 Views
  • 0 replies
  • 1 kudos