STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! how to write or read internal RAM from specific location

Hi,I'm using stm8s003f3p6 microcontroller and learn it's different internal peripheral. using SPLHow can i write a byte at RAM location like 0x00 and read from it.i also want to use IAP commands for flash.i have read stm8s Reference manual , dastashe...

HM.80 by Associate II
  • 730 Views
  • 3 replies
  • 0 kudos

How do I put a variable to specific memory (RAM) address?

Good day!I'm using STVD+Cosmic. How do I set up the variable in the RAM at the specific position.I've tried creating new Segment and Section but the variable is declared at another address in the flash.Also, nothing changes when I'm changing min or m...

YSmir by Associate
  • 434 Views
  • 0 replies
  • 0 kudos

How to burn a .hex file into a STLUX385A without boot loader

Hi all.I would to flash a .hex firmware into some STLUX385A devices.These devices are not brand new and de optionbytes allowing serial bootloader has been removed by previous application. Worst-case scenario, the serial pins are not accessible on the...

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

GPIO_ReadInputPin not working for STM8S003F3P6

The below code works with out the initialization "GPIO_Init(GPIOA, GPIO_PIN_3, GPIO_MODE_OUT_PP_HIGH_SLOW);" ,but does not work with initialization.void main(void){ volatile uint8_t count; count = 0x00; GPIO_DeInit(GPIOA); GPIO_Init(GPIOA, GPIO_P...

mvk by Associate
  • 444 Views
  • 0 replies
  • 0 kudos

Some pointers required and some help

I'm a new comer to STM8 uCs, but experienced in other controllers. I have two questions:I would like to bring up a custom test board with In System Program/debug capability using the STM8S003F3. How do I do this quickly? A list of manuals/appnotes wo...