EmbeddedRelated.com
Forums

IAR5.x fails to program sam7s

Started by Foltos May 6, 2009
Hi,

I am evaluation IAR 5.2 and IAR 5.3 products. Both seems to fails to
program the on chip FLASH of sam7s256 and sam7s64 chips. Version 5.2
hangs after a progress bar window pops up saying "Programming flash".
Version 5.3 reports an error in the debug log (similar to "Flash
programming failed.").
The same boards work fine with IAR 4.41.

Does anybody has a solution to this problem?

Foltos

Arey you using J-Link? If yes, in version 5 you must remove selection on "download" under link settings. Iar use the j-link utility and not the inside loader.

Best regards.

________________________________
Da: Foltos
A: A...
Inviato: Mercoled6 maggio 2009, 16:21:30
Oggetto: [AT91SAM] IAR5.x fails to program sam7s

Hi,

I am evaluation IAR 5.2 and IAR 5.3 products. Both seems to fails to
program the on chip FLASH of sam7s256 and sam7s64 chips. Version 5.2
hangs after a progress bar window pops up saying "Programming flash".
Version 5.3 reports an error in the debug log (similar to "Flash
programming failed.").
The same boards work fine with IAR 4.41.

Does anybody has a solution to this problem?

Foltos









Hi,



just to spare some trouble for others I post the solution to my
problem.

IAR changed the Atmel flash loader with version 5.x. Even 5.2 and 5.3
has a different version. The default flash loader parameters are not
correct. Check the example applications coming with IAR to see what
extra parameters are needed.

After parameters are correctly set, downloading works just fine.



Foltos



Foltos wrote:


Hi,



I am evaluation IAR 5.2 and IAR 5.3 products. Both seems to fails to

program the on chip FLASH of sam7s256 and sam7s64 chips. Version 5.2

hangs after a progress bar window pops up saying "Programming flash".

Version 5.3 reports an error in the debug log (similar to "Flash

programming failed.").

The same boards work fine with IAR 4.41.



Does anybody has a solution to this problem?



Foltos
















__._,_.___






stime41781790













__,_._,___









Hi,



thanks for the tip. Unfortunately I don't have a license for the
j-link utility (Segger flash?).

Thus I have to use the built in. I posted a solution to this problem
in my earyer mail.

Thanks for your time.



Foltos





FireFox wrote:
type="cite">

style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">
Arey you using J-Link? If yes, in version 5 you must remove
selection on "download" under link settings. Iar use the j-link
utility and not the inside loader.

 

Best regards.


style="font-size: 10pt; font-family: arial,helvetica,sans-serif;">

style="border-left: 2px solid rgb(16, 16, 255); font-size: 12pt; font-family: times new roman,new york,times,serif;"> face="Tahoma" size="2">

Da:
Foltos <foltos@gmail.com>

A:
AT91SAM@yahoogroups.com

Inviato: Mercoledì 6
maggio 2009, 16:21:30

Oggetto: [AT91SAM]
IAR5.x fails to program sam7s




Hi,



I am evaluation IAR 5.2 and IAR 5.3 products. Both seems to fails to

program the on chip FLASH of sam7s256 and sam7s64 chips. Version 5.2

hangs after a progress bar window pops up saying "Programming flash".

Version 5.3 reports an error in the debug log (similar to "Flash

programming failed.").

The same boards work fine with IAR 4.41.



Does anybody has a solution to this problem?



Foltos






















__._,_.___






stime41781930













__,_._,___