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
eric.boutet
PostPosted: Jun 05, 2012 - 01:02 AM
Newbie


Joined: Jan 23, 2009
Posts: 12
Location: Montreal, Canada

Hi everyone,

I'm very sad... Since ARR Studio 5, we must uncheck the option "Verify flash after programming" each time I would program. Is there any option to always uncheck this box ??

Sincerely.

Eric.

[/img]
 
 View user's profile Send private message  
Reply with quote Back to top
js
PostPosted: Jun 05, 2012 - 02:09 AM
10k+ Postman


Joined: Mar 28, 2001
Posts: 20374
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)

WHY don't you want the flash verified after programming?? Shocked

And WHY are you using the old and buggy AS5? You should use the new and buggy AS6.. 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
clawson
PostPosted: Jun 05, 2012 - 11:35 AM
10k+ Postman


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

If it won't verify then I'd fix that.

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
js
PostPosted: Jun 05, 2012 - 11:46 PM
10k+ Postman


Joined: Mar 28, 2001
Posts: 20374
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)

Why fix it? You simply don't verify it, it's quicker. Smile

_________________
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
eric.boutet
PostPosted: Jun 09, 2012 - 07:51 AM
Newbie


Joined: Jan 23, 2009
Posts: 12
Location: Montreal, Canada

Hi,

I'm using AS5 because update is control by administrator... When I want to test rapidly my program, I would program be fast. Now, I always need to uncheck each time I would like to program. It's fast but why not save the last settings ?

Sincerely
 
 View user's profile Send private message  
Reply with quote Back to top
js
PostPosted: Jun 09, 2012 - 08:49 AM
10k+ Postman


Joined: Mar 28, 2001
Posts: 20374
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)

But how do you know if the chip programmed correctly if you don't verify the program? Rolling Eyes

And how fast is fast? A few ms? Smile is your code that big that a second or 2 makes such a difference?

By the way I agree that your settings should stick but AS5 did have many "issues" so maybe it was fixed in 6, I don't really know as I'm still using AS4.

_________________
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
sikolymester
PostPosted: Jun 09, 2012 - 03:00 PM
Hangaround


Joined: Nov 22, 2008
Posts: 130
Location: Budapest, Hungary

What are the odds that the programming makes the same error at the same location as the verification process does? Smile
Do we rely on the verification process because of the hypothesis that the likeliness of the same error is very low?
Has anyone ever had a verification failed after programming? If not, why not just skip the verification anyway?
 
 View user's profile Send private message  
Reply with quote Back to top
david.prentice
PostPosted: Jun 09, 2012 - 03:47 PM
10k+ Postman


Joined: Feb 12, 2005
Posts: 16320
Location: Wormshill, England

Most AVR programming software just sends out the SPI write commands. It requires the verification pass to read the resultant flash.

The 'older' Atmel chips were byte programmed and you polled the byte after the write command. When it read the correct value, you wrote the next byte.

The modern AVR is page programmed. You poll one specimen byte from the page to check for completion.

So yes, you can tell when a ISP session is failing 'as you are writing'. e.g. the polling does not succeed or the polling times out.
I would still be happier with a complete byte for byte verification.

I suspect that Eric has configured his programmer for a very slow SPI speed. The verification stage of any AVR should be only a few seconds. (providing you remove the idiotic CKDIV8 fuse)

David.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
larryvc
PostPosted: Jun 09, 2012 - 04:58 PM
Raving lunatic


Joined: Dec 06, 2007
Posts: 2512
Location: Redmond, WA USA

Eric, you need to tell your administrator that AS5 had many bugs, as js mentioned, that have been fixed in AS6.

Can you tell us the rest of your programmer settings?

_________________
Larry

Those afraid to embrace the future will quickly fade into the past. - larryvc
 
 View user's profile Send private message  
Reply with quote Back to top
eric.boutet
PostPosted: Jun 09, 2012 - 05:23 PM
Newbie


Joined: Jan 23, 2009
Posts: 12
Location: Montreal, Canada

Hi,

I'm on the factory settings of AS5. I saw this bug the first time I program my AVR32. If you tell to me there is no bug in AS6, I'm gonna make some pression over my administrator to upgrade AS5 to AS6 ! Smile

Thank you very much
 
 View user's profile Send private message  
Reply with quote Back to top
larryvc
PostPosted: Jun 09, 2012 - 05:46 PM
Raving lunatic


Joined: Dec 06, 2007
Posts: 2512
Location: Redmond, WA USA

Eric,

Show your administrator this post and the one below it:

http://www.avrfreaks.net/index.php?name ... 866#963866

_________________
Larry

Those afraid to embrace the future will quickly fade into the past. - larryvc
 
 View user's profile Send private message  
Reply with quote Back to top
js
PostPosted: Jun 09, 2012 - 11:44 PM
10k+ Postman


Joined: Mar 28, 2001
Posts: 20374
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)

Quote:
that have been fixed in AS6.
Well I would not put my hand over the coals about that. Laughing

But there is no point sticking with old, stale bugs when one can have a fresh crop of brand new bugs or even rehashed old ones.

That's why M$ releases "updates" every month so one can have the latest bugs. Evil or Very Mad

_________________
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
david.prentice
PostPosted: Jun 10, 2012 - 12:58 AM
10k+ Postman


Joined: Feb 12, 2005
Posts: 16320
Location: Wormshill, England

Quote:
That's why M$ releases "updates" every month so one can have the latest bugs.

Can you explain why Firefox updates itself every few minutes? Especially when it worked pretty well in the first place.

There is a big advantage in running 'older' fully debugged code.

You can always shoot yourself in the foot whenever you want. A wise person makes their own choice. A foolish virgin listens to Atmel. Wait for a short while. I am sure they will get it right in due course of time.

David.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
js
PostPosted: Jun 10, 2012 - 03:59 AM
10k+ Postman


Joined: Mar 28, 2001
Posts: 20374
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)

Quote:
Can you explain why Firefox updates itself every few minutes?
..or are they REALLY updating our computer or simply sending back to some obscure location all we have done since the last "update" including our bank account details etc....who knows really.. Rolling Eyes

I have to stop typing now a black helicopter just landed in my backyard. Confused

_________________
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
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