/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Primer1+Ride7 error measured 0.000000V

Username:     
Password:     
             

Forum

# 1   2009-02-11 18:52:46 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Primer1+Ride7 error measured 0.000000V

Hello STM32-Community,

my Primer1 causes me a little confusion when I try to re-program or debug the program memory. The Device works, it turns on after pressing the button and i can see the CircleOS graphic on the lcd.

Windows recognizes the Primer if i connect or disconnect on the USB. But Ride7 says:

"target power failure   measured: 0.000000V"

Is there any one else who knows that issue or even had figured it out?

Regards,
Edson

Offline

 

# 2   2009-02-11 20:52:01 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

I read another thread in this forum, where the cause was a broken R17 on the Primer PCB. I've checked the R17/R18 point on my hardware, the potential there is about 1.6V
Seems okay to me.

Looking forward to any suggestions,
edson

Offline

 

# 3   2009-02-12 09:14:01 Primer1+Ride7 error measured 0.000000V

VincentC
Administrator
Registered: 2007-11-08
Posts: 149

Re: Primer1+Ride7 error measured 0.000000V

Hi,

Can you please check that the 1.6V goes all the way to pin 54 of the ST7?

This is the pin that the embedded RLink uses to check the target STM32 VCC voltage. (halved)

Best Regards,

Vincent

Last edited by VincentC (2009-02-12 09:14:12)

Offline

 

# 4   2009-02-12 11:18:10 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

Hello VincentC,

thanks for your response. I've checked the voltage at pin54, there is 1.6V potential also.
So if this is not a RLink firmware or Ride7 related issue, the ST7 must be broken, am i right?

Best Regards,
Edson

Last edited by edson (2009-02-12 11:22:56)

Offline

 

# 5   2009-02-12 11:45:50 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

edson :

So if this is not a RLink firmware or Ride7 related issue, the ST7 must be broken, am i right?

I am obviously not. The RLink connects, Serialnumber is readable by Ride7.

Would be happy about any further suggestions.

Best Regards,
Edson

Offline

 

# 6   2009-02-12 12:52:21 Primer1+Ride7 error measured 0.000000V

VincentC
Administrator
Registered: 2007-11-08
Posts: 149

Re: Primer1+Ride7 error measured 0.000000V

Hi,

Yes, I suspect a hardware problem in the ST7. (The firmware is probably fine if you can read the Serial Number.)

It can happen that one or several IOs of the ST7 are burned but the rest (clock, CPU, USB, memories, etc.) still works. We have seen that a few times, but it was after customers plugged the RLink on target boards with out-of-spec voltages. (more than 12V !) I cannot imagine how this could happen in a Primer, but I also cannot imagine another explanation to what you observe...

Did you ever connect any external device or power to your primer?

Did you manage to connect to the STM32 one or more times and after some time it started failing, or did you see the error at the first attempt to program/debug?
(you see CircleOS running, which proves that the RLink was able to program the STM32 during production, as this is done in-situ on the production line for validation)

Here is a way to check if it's just the pin54 or more than this that is broken:

First, you must make sure that you are using the latest version of Ride, which is available on our website since last week.

Then, open these three files in a text editor: (save them first)
   <Ride>\sim\ARM\STM32_Primer1_CircleOS.sim
   <Ride>\sim\ARM\STM32F103RBVT6.sim
   <Ride>\sim\ARM\STM32F103RBVT6_CircleOS.sim
In all three files, search for "VCCmin=25" and replace it by "VCCmin=0".

That will disable the voltage check that Ride performs on VCC before connecting to the STM32.

If that solves the problem, then we can assume that pin54 of the ST7 is burned and only that.
If that doesn't solve the problem, then there is more than this that is burned or maybe the problem is completely different, and we will make a few other tests, or maybe just exchange the primer with a new one.

Best Regards,

Vincent

Offline

 

# 7   2009-02-12 13:19:55 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

VincentC :

I cannot imagine how this could happen in a Primer, but I also cannot imagine another explanation to what you observe...

That makes me wonder, too.

VincentC :

Did you ever connect any external device or power to your primer?

No, I connected the Primer to USB - nothing else.

VincentC :

Did you manage to connect to the STM32 one or more times and after some time it started failing, or did you see the error at the first attempt to program/debug?

It fails since my very first trial. In debug and program mode either.

VincentC :

Here is a way to check if it's just the pin54 or more than this that is broken:

Thank you very much for this suggestion. I will try this today and give feedback then.

VincentC :

If that doesn't solve the problem, then there is more than this that is burned or maybe the problem is completely different, and we will make a few other tests, or maybe just exchange the primer with a new one

This sounds good to me, too. Thanks again.

Best Regards,
Edson

Offline

 

# 8   2009-02-12 14:32:05 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

Please can anybody check if my Ride7 toolchain versions are up to date?

Ride7        7.02.0001
RkitARM        1.04.0001

It seems like the following files are missing in my installation:

<Ride>\sim\ARM\STM32_Primer1_CircleOS.sim
   <Ride>\sim\ARM\STM32F103RBVT6.sim
   <Ride>\sim\ARM\STM32F103RBVT6_CircleOS.sim

As I attempted to verify my toolset with the current version at raisonance.com i only found that dead link on the stm32circle homepage:

http://raisonance.com/products/ride7/index.php

Any ideas of what is going wrong?

Offline

 

# 9   2009-02-12 14:45:14 Primer1+Ride7 error measured 0.000000V

VincentC
Administrator
Registered: 2007-11-08
Posts: 149

Re: Primer1+Ride7 error measured 0.000000V

Hi,

You have some old versions indeed.

We are in the process of changing servers, so the links are quite erratic this month.

You will find the new download page there:
http://www.mcu-raisonance.com/mcu_downloads.html

While you're at it, have a look at our brand new website:
http://www.raisonance-tools.com/
(all comments are welcome)

Best Regards,

Vincent

Offline

 

# 10   2009-02-12 14:56:08 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

You have some old versions indeed.

I have got them yesterday from the stm32circle download page included in the Primer CD files. It is difficult to verify because most of the links my searching engine found are actually invalid.

Thank you, again. I'll attempt one more time...

Offline

 

# 11   2009-02-12 15:17:28 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

Sorry, it is impossible for me to log in or register on the hp. If I try to log in I get this browser message:

"Your account is no longer valid. Please contact the administrator."

(I tried three times with new passwords -> no success at all)

We are in the process of changing servers, so the links are quite erratic this month.

I guess there are a few things at raisonance that are quite erratic. Hopefully that will change.

Best Regards,
Edson

Offline

 

# 12   2009-02-12 15:53:35 Primer1+Ride7 error measured 0.000000V

VincentC
Administrator
Registered: 2007-11-08
Posts: 149

Re: Primer1+Ride7 error measured 0.000000V

Hi,

Please try this link:
http://www.stm32circle.com/resources/stm32primer2.php

Search for "CD_STM32-Primer_BN14.zip" in this page.

Best Regards,

Vincent

Offline

 

# 13   2009-02-13 02:21:58 Primer1+Ride7 error measured 0.000000V

wincent
Member
Registered: 2008-06-23
Posts: 19
Website

Re: Primer1+Ride7 error measured 0.000000V

Hi,

seems to be a bug in CircleOS -- it shows BAT 0V in "Config"->"Test" too. Installed Primer1 CircleOS update, "About" shows CirlceOS 3.3 (should be 3.5).

Seems to have another bugs too -- Circle_Mgr somehow shows 32 kb flash less (shows 72 kb when no apps, should be 104 kb), but that's another theme, I guess.

Sincerely,

wincent

Last edited by wincent (2009-02-13 02:23:22)

Offline

 

# 14   2009-02-13 09:40:52 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

Hello wincent,

seems to be a bug in CircleOS -- it shows BAT 0V in "Config"->"Test" too.

This is not the same bug as in my Primer1. I checked it already. Test shows me BAT at 1.35V, as it should be.

Best Regards,
Edson

Last edited by edson (2009-02-13 09:41:24)

Offline

 

# 15   2009-02-13 13:52:55 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

@VincentC

Hello, I have installed the latest version of Ride7 as you mentioned. I took the download your link provided. The current installation is like:

Ride7 IDE    7.16.0000
RKitARM    1.16.0930

Unfortunately i can't find these files:

<Ride>\sim\ARM\STM32F103RBVT6.sim
<Ride>\sim\ARM\STM32F103RBVT6_CircleOS.sim

In my ...\sim\ARM folder exist two similar files

...ARM\STM32F103RBT6.sim
...ARM\STM32F103RBT6_CircleOS.sim

I hope you can tell me, why the files you named are different to those i found?

By the way - I made an attempt in modifying the existing files and start a debug session with "Toggle_with_CircleOS". The "target power failure" is not getting recognized anymore, but the OPI driver is reporting then:

Error: Execution out of debugging limitation PC=0xFFFFFFFE
Terminating debug session.

Do you have any idea of what is going wrong again?

Best Regards,
Edson

Offline

 

# 16   2009-02-13 17:06:11 Primer1+Ride7 error measured 0.000000V

matloub
Member
Registered: 2008-02-21
Posts: 98

Re: Primer1+Ride7 error measured 0.000000V

Hi Edson

Vincent is out of the office today.

First the simfile indicated by Vincent might be a typo mistake.
In french keyboard B and V are close!

The file you have changed should be the good one for the test suggested by Vincent.
I will let him tell what he think about the result of your test.

But does this error happen with a project example from Raisonance (which one)?
Did you tried other, I tried here with a primer1 and it was ok with project:
<ride>\Examples\ARM\Primer\STM32\toggle_with_CircleOS\toggle_with_CircleOS.rprj

Regards,
Matloub

Offline

 

# 17   2009-02-13 17:20:28 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

Hello matloub,

first i appreciate your engagement. Ok, i guessed it was a typo mistake. Unfortunately, this has not solved anything.
The example project you suggested is the one that does result in the observed OPI driver error. Additionaly i tried the .bat files for automatic firmware restoring. There is no error message in the cmd window, all points terminate OK but there is no new program running on the device. Perhaps something died in the primer hardware. Its Primer1 V1.2 and some parts seem like they have been soldered manually (snatchy positioning), is this possible?

Best Regards,
Edson

Last edited by edson (2009-02-13 17:22:43)

Offline

 

# 18   2009-02-16 09:49:39 Primer1+Ride7 error measured 0.000000V

matloub
Member
Registered: 2008-02-21
Posts: 98

Re: Primer1+Ride7 error measured 0.000000V

Hi

Can you let me know the serial number of the Rlink embedded in the primer1.
To do so use "connect to RLink and Read serial number" from "RLink advanced options".
I would check if there is something unusual in this product.

Regards,
Matloub

Offline

 

# 19   2009-02-23 17:46:13 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

Hi matloub,

Can you let me know the serial number of the Rlink embedded in the primer1.

Of course. It is: dngWNYe00001582

I would check if there is something unusual in this product.

In my (long time ago) last post I wrote about manually soldered parts on my Primer1, I will have to examine that. The snatchy positioned parts are all askew in the same angle, so it was possibly the whole PCB got turned out of position a little bit. But this might not be the reason my Primer is not working yet. So i am looking forward to your response.

Best Regards,
Edson

Offline

 

# 20   2009-02-24 21:18:30 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

@matloub

So do you have any news for me?

Offline

 

# 21   2009-03-05 08:35:55 Primer1+Ride7 error measured 0.000000V

repzak
Member
Registered: 2008-03-05
Posts: 170

Re: Primer1+Ride7 error measured 0.000000V

Hello,

>>Error: Execution out of debugging limitation PC=0xFFFFFFFE
Terminating debug session.

This error could come if you try to debug code there is out of the 32Kb debug limit on the primer1 std.

Kasper

Offline

 

# 22   2009-03-05 10:03:27 Primer1+Ride7 error measured 0.000000V

matloub
Member
Registered: 2008-02-21
Posts: 98

Re: Primer1+Ride7 error measured 0.000000V

Hi Edson

Sorry we did not find any reason for that product to have a problem but I just forgot to do the exchange.

Can you send your shipment address to support@raisonance.com and I will send by tomorrow

It will also be intersting to have your primer to understand where was the problem.
So we will be wainting for your primer.

Regards,
Matloub

Offline

 

# 23   2009-03-05 13:25:48 Primer1+Ride7 error measured 0.000000V

edson
Member
From: Bavaria
Registered: 2009-02-11
Posts: 15

Re: Primer1+Ride7 error measured 0.000000V

It will also be intersting to have your primer to understand where was the problem.
So we will be wainting for your primer.

Of course you can have it. I would be interested in what caused the problem, too.
I think i can manage the shipping next week.

Best regards,
Edson

Offline

 

Board footer