Topic : STM8L1526-EVAL, Ride7 and Rlink setup

Forum : ST7/STM8

Original Post
Post Information Post
January 11, 2011 - 9:55pm
Guest

I downloaded Ride7 several days ago and have been using it. I got Rlink today. I did not install anything form the Rlink CD, as it looked redundant.

When I select Start from the Debug menu my program downloads correctly, but, I get the following message:

OPI Driver Error (2)
Programation successful.
Debugging is not possible because Flash is read-out protected.

Any ideas?

Thank you.

Bernie

Replies
Post Information Post
+1
0
-1
January 12, 2011 - 8:46am
Raisonance Support Team

Hi Bernie,

I do not have the full detail about the target board you are using and which microcontroller you are trying to program.

Here are some instructions that should help anyway:
- Ensure that your RLink and target board jumpers are properly set (according to the manuals).
- Open the RFlasher7 interface (Start|Programs|Raisonance|Ride|RFlasher7)
- Select the correct microcontroller
- Click on the "Erase" button.

If this does not work, please send us more information about your application board and processor.

If it does, please try to program an example application (C:\Program Files\Raisonance\Ride\Examples\STM8\REva\...Toggle or whatever) and check whether it works.

If it still does not work, you mays have forgotten to set option bytes: On STM8L15xx family, the option bytes MUST be set. Just take an assembler option bytes file from an example and place it in your project, which may help as well.

Let us now how you get through.

Best Regards,