Skip to main content
Visitor II
July 7, 2006
Question

Clock source and Option Bytes

  • July 7, 2006
  • 3 replies
  • 876 views
Posted on July 07, 2006 at 04:12

Clock source and Option Bytes

    This topic has been closed for replies.

    3 replies

    adibAuthor
    Visitor II
    July 4, 2006
    Posted on July 04, 2006 at 07:01

    Hi,

    I'm working the ST72F264 micro, the micro clock source is an XTAL connected between pins 2&3.

    I accidently changed the option bytes from ''resonator oscillator'' to ''external source''. After that it seems that the XTAL stopped oscillating (no clock on pin 2 or 3) and I could not debug anymore with the InDART-STX debugger.

    Is this normal behavior?

    Visitor II
    July 6, 2006
    Posted on July 07, 2006 at 00:01

    Yes, it is normal as the clock source does not match the option byte.

    In order to recover from this situation, you are required to use the ''Ignore Option Byte'' option and connect the oscillator pin of the microcontroller to the OSC_CLK pin of the ISP connector.

    Detail procedure could be found on page 3 in the ''inDART-STX for ST7 FAQ'' document.

    I hope this help.

    adibAuthor
    Visitor II
    July 7, 2006
    Posted on July 07, 2006 at 04:12

    Thank you very much,it solved the problem.