Atmel website | ARM Community | AVR freaks | Technical Support
Banner
Welcome to AT91SAM Community Forum
http://www.at91.com/samphpbb/

Getting started with sam3u
http://www.at91.com/samphpbb/viewtopic.php?f=24&t=19074
Page 1 of 1

Author:  bm31416 [ Wed Mar 17, 2010 4:23 pm ]
Post subject:  Getting started with sam3u

Hi there,

Im new in this cortex world and have some doubts. Ive just got a SAM3U-EK kit, SAM-ICE and IAR. However Im having some trouble flashing the arm with my code.
Is there some configuration I have to do in the arm? or in IAR?

Regards,
Bruno

Author:  edi [ Fri Mar 19, 2010 12:41 pm ]
Post subject:  Re: Getting started with sam3u

Hi Bruno,

as far as I know there are some limitations using SAM-ICE to program the flash. Perhaps it is the problem.

I do not use the IAR tools because there are limitations too (code size). Therefor I can't say something about it.
I use GNU based development tools in combine with SAM-ICE. For programing the flash I use SAM-BA which is part of the ISP tools from Atmel. It should work for you too.
If you want to debug your hardware you can still use the IAR toolchain. First burn the image into the flash using SAM-BA, disable the DOWNLOAD item (located somewhere in the debugger settings for the given project) and start debugging.

Best regards,
Edi

Author:  bm31416 [ Tue Mar 23, 2010 4:57 pm ]
Post subject:  Re: Getting started with sam3u

Problem solved! In case another mate get same problem.
I tried to make a full new project, without any previous setting from atmel. But actually there are 3 files which should be used.
Linker File: flash.icf
Debug File: flash.mac
Flash Loader
They can be found in any example project from atmel:
http://www.atmel.com/dyn/products/tools ... ol_id=4343

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/