| Author |
Message |
|
|
Posted: Jun 05, 2012 - 01:02 AM |
|


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] |
|
|
| |
|
|
|
|
|
Posted: Jun 05, 2012 - 02:09 AM |
|


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??
And WHY are you using the old and buggy AS5? You should use the new and buggy AS6..  |
_________________ John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
|
| |
|
|
|
|
|
Posted: Jun 05, 2012 - 11:35 AM |
|


Joined: Jul 18, 2005
Posts: 62324
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
| If it won't verify then I'd fix that. |
_________________
|
| |
|
|
|
|
|
Posted: Jun 05, 2012 - 11:46 PM |
|


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.  |
_________________ John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
|
| |
|
|
|
|
|
Posted: Jun 09, 2012 - 07:51 AM |
|


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 |
|
|
| |
|
|
|
|
|
Posted: Jun 09, 2012 - 08:49 AM |
|


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?
And how fast is fast? A few ms? 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
|
| |
|
|
|
|
|
Posted: Jun 09, 2012 - 03:00 PM |
|

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?
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? |
|
|
| |
|
|
|
|
|
Posted: Jun 09, 2012 - 03:47 PM |
|

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. |
|
|
| |
|
|
|
|
|
Posted: Jun 09, 2012 - 04:58 PM |
|


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
|
| |
|
|
|
|
|
Posted: Jun 09, 2012 - 05:23 PM |
|


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 !
Thank you very much |
|
|
| |
|
|
|
|
|
Posted: Jun 09, 2012 - 05:46 PM |
|


Joined: Dec 06, 2007
Posts: 2512
Location: Redmond, WA USA
|
|
|
|
|
|
|
Posted: Jun 09, 2012 - 11:44 PM |
|


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.
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.  |
_________________ John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
|
| |
|
|
|
|
|
Posted: Jun 10, 2012 - 12:58 AM |
|

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. |
|
|
| |
|
|
|
|
|
Posted: Jun 10, 2012 - 03:59 AM |
|


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..
I have to stop typing now a black helicopter just landed in my backyard.  |
_________________ John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
|
| |
|
|
|
|
|