Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
January 15, 2008 - 12:53am
|
Is there a way in software to send a command to the ST Raisonance Rlink programmer to turn off and on the oscillator? |
Hi,
No, this is not possible. But I don't really see why you would need this... Either your board has an oscillator and then you can use it, and you don't even need to connect the one from RLink. Or your board does not have an oscillator, and you can keep the one from RLink connected at all time.
Can you please explain why you asked this?
Best Regards,
Vincent
We had problems in the past when connecting the clock from RLink to device. We remove this signal from the uC and just let the on-board oscillator circuit drive the uC ( ST72F264 ). It appears the uC needs the RLink clock signal to download program. After programmed the uC will not run unless we remove the clock signal from RLink. I have not checked the signal with a scope, but does the RLink clock signal always run or only when programming? It would be good to have the ability to stop and start via command.
Hi,
You don't need the RLink clock for programming. You need one clock, any clock, and it can be the one from your board. (or even the internal RC, if your ST7 has one) Some problems appear if you send both the board's clock and the one from the RLink, so we recommend to only use the board's clock if there is one.
So if you have a clock on your board, just use it and don't even connect the pin 10 of the RLink to anything. Everything should work fine then. (I'm talking about the 12MHz clock, not ICCCLK, which must always be connected...)
Anyways, the RLink 12MHz clock always runs, and there is technically no way to stop it by software. If it is really a problem for you, then I suggest you place a jumper or a switch on the board between the RLink clock and the CPU clock. This way, you can enable and disable it by hand.
But I still don't see why that would be. Is your clock particularly slow? Can you send us your board's schematic? (support@raisonance.com)
Best Regards,
Vincent