/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Target power failure: Measured 0.100000V - problem on Windows XP

Username:     
Password:     
             

Forum
  • Index
  •  » STM32 primer
  •  » Target power failure: Measured 0.100000V - problem on Windows XP

# 1   2007-11-28 14:44:58 Target power failure: Measured 0.100000V - problem on Windows XP

pw
New member
Registered: 2007-10-23
Posts: 5

Target power failure: Measured 0.100000V - problem on Windows XP

Hi,

When I try to start debug session I am always getting message box

Emulator Driver
Initializing the emulator

OPI Driver
Target power failure: Measured 0.100000V

I have tried reinstalling Ride then installing the latest one (7.01 and 1.03)
to no avail. This is happening on Windows XP Professional.

Any idea what is going on?

Pawel

Offline

 

# 2   2007-11-28 15:13:50 Target power failure: Measured 0.100000V - problem on Windows XP

pw
New member
Registered: 2007-10-23
Posts: 5

Re: Target power failure: Measured 0.100000V - problem on Windows XP

Just discovered command line tools  Cortex_pgm.exe and Circle_Mgr.exe.
But the only command that works in both of them is the R, I get following message:

Copyright Raisonance 2007.



Reading RLink Serial Number... OK
          RLink Serial Number: dngWNYe00000415

Reading RLink Firmware Version... OK
          RLink Firmware Version: 0.0.3

If I try other commands like L or B , I get "Error 103", message below:

Circle_Mgr.exe L
Circle_Mgr: software for managing CircleOS applications.
Copyright Raisonance 2007.


Connecting to RLink... OK
Connecting to target...
         !!! Error 103: Target power failure: Measured 0.100000V


Pawel

Offline

 

# 3   2007-11-28 17:30:26 Target power failure: Measured 0.100000V - problem on Windows XP

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Target power failure: Measured 0.100000V - problem on Windows XP

The embedded RLink (ST72F651 device) measures the voltage of the target VCC. It does not make sense in the specific case of the STM32 Primer (because both the STM32 and the ST72651 share the same power).
However, the RLink recognizes that the voltage is not correct...
Seems to be a hardware problem. Possible causes:
1. The ADC of the ST72F651 does not work (never seen before on RLink)
2. There is a connection problem (probable). For sure, it has worked (because the STM32 Primer you received had beed tested and it was working properly).  If you look at the schematic, you will see that the problem could be either on the pin 54 of the ST72651, or with the R17/R18 resistances. If you are equipped, you can try to check these points. If not, I suggest that you ask your distributor for a replacement.

Offline

 

# 4   2007-11-29 15:22:31 Target power failure: Measured 0.100000V - problem on Windows XP

pw
New member
Registered: 2007-10-23
Posts: 5

Re: Target power failure: Measured 0.100000V - problem on Windows XP

I will check the voltages but is there any way to turn off this check in software?
Pawel

Offline

 

# 5   2007-11-30 18:31:11 Target power failure: Measured 0.100000V - problem on Windows XP

pw
New member
Registered: 2007-10-23
Posts: 5

Re: Target power failure: Measured 0.100000V - problem on Windows XP

The cause of the problem was bad resistor R17 ( it was open), after replacing it the voltage at the R17/R18 point  is about 1.65V.  Seems like a quality control problem, it is hard to imagine that the resistor would go bad in shipping, but strange things do happen :-)
I would recommend switch in software to disable the voltage check, it would save me 1 day and it might save somebody else  some head scratching.  If the Primer debug can talk over the USB then it should be fine.
Pawel

Offline

 

# 6   2007-11-30 19:07:53 Target power failure: Measured 0.100000V - problem on Windows XP

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: Target power failure: Measured 0.100000V - problem on Windows XP

The contact was ok, at least during the initial programming of the STM32 done in factory.
I was looking at the workaround (i.e. not testing the voltage) but it's not acceptable for the standard RLink (that needs to detect whether the target processor is powered). The STM32 Primer embeds a standard RLink, but we could distinguish it by looking at serial number.  So we would probably adopt the solution of removing the VCC checking...
Thanks (and our aplogizes for the defect!).

Offline

 

  • Index
  •  » STM32 primer
  •  » Target power failure: Measured 0.100000V - problem on Windows XP

Board footer