Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Dmiter
PostPosted: Feb 25, 2012 - 01:07 PM
Newbie


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!
 
 View user's profile Send private message  
Reply with quote Back to top
js
PostPosted: Feb 25, 2012 - 09:32 PM
10k+ Postman


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. Wink

_________________
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Dmiter
PostPosted: Feb 29, 2012 - 10:37 PM
Newbie


Joined: Feb 25, 2012
Posts: 2


I do everything like:

http://www.youtube.com/watch?v=zGKaJy-3JgI

In this vid 'Debugging starts and HOLDS at the beginning of main' after clicking 'Start debugging and break'. But I have error instead of that.
 
 View user's profile Send private message  
Reply with quote Back to top
Springvar
PostPosted: Mar 02, 2012 - 07:04 AM
Newbie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
net4home
PostPosted: Mar 05, 2012 - 07:34 AM
Newbie


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 Smile

Best regards and I hope this will fix your problem, too.

Sascha
net4home GmbH
 
 View user's profile Send private message  
Reply with quote Back to top
noobiept
PostPosted: Mar 11, 2012 - 02:10 AM
Newbie


Joined: Mar 23, 2011
Posts: 10


Thanks! I too was having the same problem. Sad

Seriously, thanks!
 
 View user's profile Send private message  
Reply with quote Back to top
kiranand
PostPosted: Sep 18, 2012 - 06:37 PM
Newbie


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...
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Sep 18, 2012 - 07:01 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62281
Location: (using avr-gcc in) Finchingfield, Essex, England

Do you have current limiting resistors?

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
kiranand
PostPosted: Sep 19, 2012 - 02:13 PM
Newbie


Joined: Aug 02, 2012
Posts: 14


No, its a straight out of the box AVR Dragon board, ATMega 2560
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Sep 19, 2012 - 02:46 PM
10k+ Postman


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

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
kiranand
PostPosted: Sep 19, 2012 - 03:33 PM
Newbie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Sep 19, 2012 - 03:41 PM
10k+ Postman


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!

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
kiranand
PostPosted: Sep 19, 2012 - 04:18 PM
Newbie


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.
 
 View user's profile Send private message  
Reply with quote Back to top
clawson
PostPosted: Sep 19, 2012 - 04:31 PM
10k+ Postman


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.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits