Forum : ST7/STM8
Original Post
Post Information | Post |
---|---|
April 30, 2009 - 2:02pm
|
It's possible use Rlink with internal oscillator? thanks |
Forum : ST7/STM8
Post Information | Post |
---|---|
April 30, 2009 - 2:02pm
|
It's possible use Rlink with internal oscillator? thanks |
Hi,
The selection of the internal oscillator is made by the programming of the option bytes. See the device reference manual from ST for what these bytes mean, and the GettingStartedSTM8 for how to program them with Ride/RLink.
Please describe your problem more precisely. What are you trying to achieve? Do you want the ST7Lite29 to run on its internal RC? Do you want it to use the 12MHz clock from RLink? From your board? How do you observe that it does not work?
Best Regards,
Vincent
OK:
my Rlink is connected to micro with 5 pin.
Vcc from board, 5V.
Reset pull-upped with 10K at Vcc.
IccData pull-upped with 10K at Vcc. (I have try also without pull-up).
IccCLK pull-upped with 10K at Vcc. (I have try also without pull-up).
GND.
In my ST7lite29 OSC1 and OSC2 is connected at GND, I use internal clock.
Now I use Indart Programmer but I don't like it, I want use Rlink, fantastic with ST72325.
When I try to program or debug, Visual Develop of ST freezing, I must kill it!
I suppose OSC1 must connected to Rlink.
Hi,
You must connect OSC1 to RLink only if you want to use the external clock of the ST7Lite29, which is not you case.
If you are working with internal RC, OSC1 and OSC2 can be connected to ground, that should not be a problem.
And even if your ST7 has no clock, STVD should not freeze.
In fact, the problem you describe is possibly not related to a clocking issue at all.
Please check that you are using the latest version of STVD. (search the ST website)
Please also try to connect to the ST7 using STVP or RFlasher, to see if it makes a difference.
What setting for ICC entry are you using? (enable/disable option bytes) Can you try the other setting?
Do you have other ST7Lite boards (demo boards, ...) to test the RLink?
Do you manage to connect to the ST7 on this same board using InDart?
Best Regards,
Vincent
Thanks!
I had wire cut! The reset was floating.
Now I can program it, I have again problem with debug...