AnsweredAssumed Answered

[HELP] The diffrence of Option Bytes between IAR and STVP

Question asked by gabriel on Nov 8, 2014
Latest reply on Nov 8, 2014 by knik
I have just began with STM8 and I use IAR. I'm in trouble with Option Bytes with both of IAR and STVP. They have some differences between them. I use STM8S105C6T6 chip. I also searched in datasheet, user manual, reference manual from ST but I didn't find the answer yet. Maybe, I missed something. Hope people help me!

With Option Bytes of IAR:
_ UBC: has 2 options: Write protection disabled and Write protected
_ I2C: has 2 options: Frozen when stopped and Running.
_ Timer1: has 2 options: Frozen when stopped and Running.
_ Timer2: has 2 options: Frozen when stopped and Running.
_ Timer3: has 2 options: Frozen when stopped and Running.
_ Timer4: has 2 options: Frozen when stopped and Running.

With Option Bytes of STVP:
_ UBC[7..0]: 8 bit, choose between 0 and 1 for each bit.
_ BOOTLOADER ENABLE: Bootloader Disabled and Bootloader enabled.

My questions are:
1. There isn't BOOTLOADER ENABLE in IAR, so where is it???
2. I don't understand the options Frozen when stopped và Running of I2C, Timer[1..4]. What does they mean? Why doesn't STVP have? What are their uses? And there isn't the line "Frozen when stopped" in all documents of ST!!!
3. I know UBC stands for User boot code area. Is that the memory program area which we write the code of bootloader? With STVP we have 8 bits for UBC and we choose the suitable bits from page 0 to page 63 memory program. But with IAR, there are only two options Write protection disabled and Write protected ; it means we have only two options: one for no UBC, no write protection and one for pages 0 to 63 defined as UBC, memory write-protected, doesn't it?

Thank you! Hope people helping me!

Outcomes