| Author |
Message |
|
|
Posted: Feb 25, 2012 - 01:07 PM |
|

Joined: Feb 25, 2012
Posts: 2
|
|
Hello!
I created a project and choose AT32UC3A0512 as device and simulator as tool. When i try to use option 'Start Debugging and Break' there is an error:
'Target voltage seems to be below operating range for this device family. Make sure the target is powered on and try again.'
No idea why. I'm trying to use simulator tool, then about what voltage is this talking about?! Thanks for replies! |
|
|
| |
|
|
|
|
|
Posted: Feb 25, 2012 - 09:32 PM |
|


Joined: Mar 28, 2001
Posts: 20347
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)
|
|
|
Quote:
'Start Debugging and Break'
Well it BROKE! AT least there is an honest message\warning there.  |
_________________ John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
|
| |
|
|
|
|
|
Posted: Feb 29, 2012 - 10:37 PM |
|

Joined: Feb 25, 2012
Posts: 2
|
|
|
|
|
|
|
Posted: Mar 02, 2012 - 07:04 AM |
|


Joined: Feb 28, 2012
Posts: 18
Location: Trondheim
|
|
Well, the error message is wrong (obviously).
Something went wrong while launching on the simulator, but unfortunately the error message is masked by the irrelevant voltage message. The voltage check is performed as a standard possible-errors-check, but should obviously be skipped for the simulator tool.
This issue is fixed and will be shipped with the next release.
I can't tell why your simulator session fail, but you could check your ApplicationStatus.log for hints (My Documents/Atmel). Try lowering the log severity threshold for additional log information (Tools -> Options -> Status Management -> Severity threshold).
Look for "[INFO] Launching debug session on 'AVR Simulator'..." and check the lines below. |
|
|
| |
|
|
|
|
|
Posted: Mar 05, 2012 - 07:34 AM |
|

Joined: Mar 05, 2012
Posts: 1
|
|
Hi, I wrote a message with the same error-description to the support-team. And the answer was:
"I see that there are non-latin characters in the project path. It may be the casuse of the issue. You can modify it and check the result."
Indeed my project path was C:\Präsentator\... where the character "ä" is some german.
I cut and pasted the solution in c:\temp\ and everything was fine
Best regards and I hope this will fix your problem, too.
Sascha
net4home GmbH |
|
|
| |
|
|
|
|
|
Posted: Mar 11, 2012 - 02:10 AM |
|

Joined: Mar 23, 2011
Posts: 10
|
|
Thanks! I too was having the same problem.
Seriously, thanks! |
|
|
| |
|
|
|
|
|
Posted: Sep 18, 2012 - 06:37 PM |
|

Joined: Aug 02, 2012
Posts: 14
|
|
I am having the same problem with AVR Studio 6.0. I am connecting to a AVR Dragon board, I load the led chaser example program. The LEDs wink but towards the end the message pops up
"Target voltage seems to be below operating range for this device family... |
|
|
| |
|
|
|
|
|
Posted: Sep 18, 2012 - 07:01 PM |
|


Joined: Jul 18, 2005
Posts: 62281
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
| Do you have current limiting resistors? |
_________________
|
| |
|
|
|
|
|
Posted: Sep 19, 2012 - 02:13 PM |
|

Joined: Aug 02, 2012
Posts: 14
|
|
| No, its a straight out of the box AVR Dragon board, ATMega 2560 |
|
|
| |
|
|
|
|
|
Posted: Sep 19, 2012 - 02:46 PM |
|


Joined: Jul 18, 2005
Posts: 62281
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
Yeah but I'm talking about the LEDs used for the chaser display. Depending on LED colour you typically need a resistor of a few hundred ohms between the LED and Gnd or Vcc. If you don't the low resistance of the LED and almost direct path to Gnd or Vcc will mean high levels of current flow. Far higher than the 20mA-40mA limit allowed for an AVR pin. When this happens if you are lucky the power supply cannot cope and what happens is that the circuit voltage actually "sags". From the message it sounds like this is what's happening in your case. If the PSU can supply the current being demanded you'd have even bigger problems which may involve smoke as the AVR does the legs in the air dance in its death throes.
See for example:
http://www.kpsec.freeuk.com/components/led.htm
http://led.linear1.org/1led.wiz |
_________________
|
| |
|
|
|
|
|
Posted: Sep 19, 2012 - 03:33 PM |
|

Joined: Aug 02, 2012
Posts: 14
|
|
Thanks for your help. Is this true for an off-the-shelf eval board?
Here is more info:
When I run the program as 'Start without debugging', the LEDs blink a couple times and then the error message pops up and after I acknowledge the error by clicking ok the leds blink again and then goes out.
When I run the program "Start Debugging and Break' the behavior is almost the same, the LEDs do blink. |
|
|
| |
|
|
|
|
|
Posted: Sep 19, 2012 - 03:41 PM |
|


Joined: Jul 18, 2005
Posts: 62281
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
Is this true for an off-the-shelf eval board?
Post the schematic and I'll tell you.
Up to now there was no indication this was a commercially designed board. You would kind of hope that a commercial designer knows about current limiting! |
_________________
|
| |
|
|
|
|
|
Posted: Sep 19, 2012 - 04:18 PM |
|

Joined: Aug 02, 2012
Posts: 14
|
|
| OK, thanks much, I think was completely off-track. I did not understand that the AVR Dragon was merely a programming tool. I am from the microprocessor world where you buy an eval board with a JTAG debugger and then you start writing code which you download into RAM and start running. It looks like I need the STK-600. So with the STK-600 and a JTAG-ICE mkII I should be able to write-download-run/debug programs. Let me know if I am correct. |
|
|
| |
|
|
|
|
|
Posted: Sep 19, 2012 - 04:31 PM |
|


Joined: Jul 18, 2005
Posts: 62281
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
| Well to be fair the Dragon does have a very small prototyping area at one end where you could mount a target AVR and perhaps one or two LEDs if you want. |
_________________
|
| |
|
|
|
|
|