Atmel ARM SAM7X128, how to physically program it?

Go To Last Post
12 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This is probably the dumbest question on avrfreaks...

But how to I connect a SAM7X128 to a computer so I can program it?

http://www.atmel.com/dyn/products/product_card.asp?part_id=3754&category_id=163&family_id=605&subfamily_id=1724
Under tools it only lists an evaluation Kit, and not a programmer.

I am flirting with the idea of trying an AVR32 or Atmel ARM. I am unsure which way to go. I want to buy something to program them both (if possible), so that maybe I could give both a try and see the strong and weak points of each of them. At the moment I have a good old faithful STK500 *love*.

I was looking at a JTAG ICE MK2 (because the AVRONE is mega bucks). Can I use the JTAG ICE MK2 to program the Atmel ARM range? If not what do you use?

Thank you and kind regards.

PS feel free to offer any insight into your experiences with AVR32 or ARM, and which flavour you prefer. When I searched this forum about the topic, all I found was some guy repeatedly complaining about the supply chain of the AVR32's. They are in stock everywhere I lock, and they are even cheaper than the chips the guy recommended to use because he said they where MUCH cheaper. Things change I guess.

PS No.2: If you know of any get you going/start up tutorials for AVR32 or ARM please feel free to to share.

Just a noob in this crazy world trying to get some electrons to obey me.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

for the AVR32, thru the wiki link up top of page

https://www.avrfreaks.net/wiki/in...

Some tutorials up there for AVR32.

for programming Sam7X:
http://www.atmel.com/dyn/product...

When look for tools on a device page, hit the drop down and select to show all

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You need an ARM JTAG for a SAM device, an AVR one isn't any use. I use Rowley CrossWorks tools for ARM development, with their CrossConnect JTAG interface:

http://www.rowley.co.uk/arm/inde...

They support lots of other JTAG interfaces.

Leon Heller G1HSM

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you have the USB lines brought out to a connector, you can use the SAM-BA bootloader to program it. The chips ship with the bootloader already in them. Otherwise you need a JTAG programmer. The AT91SAM-ICE is the standard device.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've used the SAM7S256.If you want to purchase the tools, then the path is quite smooth but if you want to use free tools, then the going gets rough. Setting up the compiler is reasonably straightforward, but getting debugging going can be a bit of a nightmare. If you want to go down the ARM path, get a LPCXPRESSO board - cheap, free tools (limited to 128K) and debugging. You'll be up and running in no time.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Kartman wrote:
I've used the SAM7S256.If you want to purchase the tools, then the path is quite smooth but if you want to use free tools, then the going gets rough. Setting up the compiler is reasonably straightforward, but getting debugging going can be a bit of a nightmare. If you want to go down the ARM path, get a LPCXPRESSO board - cheap, free tools (limited to 128K) and debugging. You'll be up and running in no time.

Back in the day I used the free and limited version of the IAR toolchain. That worked pretty well. I initially tried to use the WinARM toolchain but had constant compiler issues.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Mongooose wrote:
for the AVR32, thru the wiki link up top of page

https://www.avrfreaks.net/wiki/in...

Some tutorials up there for AVR32.


Sweet! Thank you, I never noticed the Wiki link up there before. Lots of good stuff there.

Mongooose wrote:
for programming Sam7X:
http://www.atmel.com/dyn/product...

When look for tools on a device page, hit the drop down and select to show all


I also didnt notice the drop down box, shows you how observant I am. Thanks so much for both really helpful links!

Just a noob in this crazy world trying to get some electrons to obey me.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

leon_heller wrote:
You need an ARM JTAG for a SAM device, an AVR one isn't any use. I use Rowley CrossWorks tools for ARM development, with their CrossConnect JTAG interface:

http://www.rowley.co.uk/arm/inde...

They support lots of other JTAG interfaces.

That is some nice stuff. $300 for the programmer and $150 for the personnel edition. Probably worth it, but its making me think twice when AVR32 studio is free. I may visit that site again one day. Thanks for link.

Do you prefer the Rowley CrossWorks tools over AVR32 studio? Or is it that you have never used an AVR32? Do you just prefer the ARM chips?

Just a noob in this crazy world trying to get some electrons to obey me.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

nleahcim wrote:
If you have the USB lines brought out to a connector, you can use the SAM-BA bootloader to program it. The chips ship with the bootloader already in them. Otherwise you need a JTAG programmer. The AT91SAM-ICE is the standard device.

Ooo nice, I just hope I dont ever mess up the boot loader!

Just a noob in this crazy world trying to get some electrons to obey me.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

fever2tel wrote:
leon_heller wrote:
You need an ARM JTAG for a SAM device, an AVR one isn't any use. I use Rowley CrossWorks tools for ARM development, with their CrossConnect JTAG interface:

http://www.rowley.co.uk/arm/inde...

They support lots of other JTAG interfaces.

That is some nice stuff. $300 for the programmer and $150 for the personnel edition. Probably worth it, but its making me think twice when AVR32 studio is free. I may visit that site again one day. Thanks for link.

Do you prefer the Rowley CrossWorks tools over AVR32 studio? Or is it that you have never used an AVR32? Do you just prefer the ARM chips?

The AVR32 uses Eclipse, which I've used for other devices. The Rowley IDE is much nicer than Eclipse, and makes the new AVR Studio 5 Framework IDE look like rubbish.

Leon Heller G1HSM

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Kartman wrote:
I've used the SAM7S256.If you want to purchase the tools, then the path is quite smooth but if you want to use free tools, then the going gets rough. Setting up the compiler is reasonably straightforward, but getting debugging going can be a bit of a nightmare. If you want to go down the ARM path, get a LPCXPRESSO board - cheap, free tools (limited to 128K) and debugging. You'll be up and running in no time.

Kartman ^_^
It has been years since my previous question, but you are still here as my guardian angel.
It seems like you have done everything that I ask!
I am surprised ATMEL doesnt give you a tool chain for their chips, dont they want people to use their chips?

Seems like the phillips and the LPCXPRESSO boards arent stocked by my locals suppliers, they do however have the ATMEL ARM flavours.

Just a noob in this crazy world trying to get some electrons to obey me.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

fever2tel wrote:
nleahcim wrote:
If you have the USB lines brought out to a connector, you can use the SAM-BA bootloader to program it. The chips ship with the bootloader already in them. Otherwise you need a JTAG programmer. The AT91SAM-ICE is the standard device.

Ooo nice, I just hope I dont ever mess up the boot loader!

With all the stuff I did to my boards, I never managed to mess it up. I think it might be hard coded in the chips. It's been so long since I touched them though that I really don't remember. SAM-BA worked great though.