STM8 MCUs

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

ROP and bootloader

Posted on June 27, 2012 at 18:20Hi,Does anybody knows how to jump properly to Bootloader entry point at adress 0x602D?I 've tried :#define BOOTLOADER_ADDR 0x602Dultypedef  void (*TFunction)(void);void JumpToBootLoader(void){const TFunction MainUserA...

jfelix by Associate II
  • 1272 Views
  • 9 replies
  • 0 kudos

Absolute address of Function for main() cosmic

Posted on May 09, 2013 at 07:41Is there a way to define the address of main() to be at a specific location? The Raisonance compiler has a ''at 0x8080 void main(void)'' syntax, does the cosmic compiler have something similar? I've tried doing void ''...

drebbe by Associate II
  • 527 Views
  • 1 replies
  • 0 kudos

How to change __iar_program_start address

Posted on March 05, 2013 at 08:10Dear all, i want to set '' __iar_program_start ''  in the absolute address(ex:0x9100). so, i am setting override default program entry and entry symbol is '' iar_reset ''. and program is: #pragma location = ''.CallBa...

ellisshz by Associate II
  • 695 Views
  • 1 replies
  • 0 kudos

bcd to bin

Posted on April 30, 2013 at 09:19hello, please can help me someone one with an assembly language  who convert a 5digit BCD to BIN many thanks

EEPROM Write Timing Problem

Posted on April 16, 2013 at 14:18Hi, I found a problem while writing to the EEPROM. The uC type is STM8af6289. This part of the program is the folowing: initializing part: void FLASH_Config(void) {     FLASH_SetProgrammingTime(FLASH_PROGRAMTIME_STAN...

Problem with STDV-Cosmic compiler

Posted on February 05, 2013 at 04:46I am a newbie at cosmic and I met something strange when using STVD with cosmic compiler to run my project. I hope that somebody can explain it for me. This is my project: It is my main: &sharpinclude ''peripheral...

Storing some calibration data in FLASH memory

Posted on April 17, 2013 at 22:32Hello, I'm looking into storing some calibration data for my application into FLASH memory since my EEPROM space is very valuable and I cannot spare any of it. The cal data would only be written once (upon the first ...

read out protect

Posted on April 26, 2013 at 10:19Hi all, I have a problem with ROP. when I enable it, I can not using boot loader. Can I disable ROP in my code or how to using boot loader when ROP enable Best regards Thinh

np1 by Associate II
  • 396 Views
  • 0 replies
  • 0 kudos

STM8S207 - Linker error ''Section boundary crossing''

Posted on April 24, 2013 at 16:11 Hi together, I'm writing a application for a STM8S207C8 (64k flash).Currently my code needs 50kB of the flash, what means that the ''magic'' address 0xFFFF is crossed. Therefore I use the compile...