Use IAR J-link programmer in Atmel Studio

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

Hello, 

I am trying to program a SAM4C16C in the board ATPL250-EK . The IDE used is Atmel Studio.

I don't have a SAM-ICE programmer but I do have a IAR J-link programmer. Can I use this IAR J-link to program the SAM4C16C? How to configure it in Atmel Studio ?

Thanks. 

Shumin

HUANG Shumin

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

Plus, Can I use a Atmel ICE instead of a SAM-ICE? Since Atmel ICE is less expensive.

HUANG Shumin

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

shumin wrote:
Can I use this IAR J-link to program the SAM4C16C?
Yes

shumin wrote:
How to configure it in Atmel Studio ?
Device Programming window, Tool pull-down menu

ARM GDB client is within Atmel Studio; should interface with the GDB server in the J-Link.

 


Atmel Studio

Programming Dialog

Introduction

http://www.atmel.com/webdoc/GUID-ECD8A826-B1DA-44FC-BE0B-5A53418A47BD/index.html?GUID-56262FE6-0BB6-49BF-974C-884E279F0A57

 

https://learn.adafruit.com/proper-step-debugging-atsamd21-arduino-zero-m0/lets-go#identify-interface

https://learn.adafruit.com/make-a-simple-debugging-featherwing-for-the-m0/debug-mode

 

"Dare to be naïve." - Buckminster Fuller

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

shumin wrote:
Plus, Can I use a Atmel ICE instead of a SAM-ICE?
Yes

shumin wrote:
Since Atmel ICE is less expensive.
fyi :

http://www.avrfreaks.net/forum/cheap-atmel-ice-farnell

 


http://studio.download.atmel.com/7.0.1417/as-installer-7.0.1417-readme.pdf

(page 50 for ATSAM4C16C)

via

http://www.microchip.com/development-tools/atmel-studio-7

 

"Dare to be naïve." - Buckminster Fuller

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

shumin wrote:
IAR J-link programmer.

If it is an IAR J-Link, then its licence only permits it to be used with IAR.

 

Whether this purely trusts your honesty, or actually has any hardware and/or software "lock" - I don't know ...

 

https://www.segger.com/jlink-oem...

 

An "unrestricted" Segger-branded J-Link will certainly work with Atmel Studio - and pretty much any other IDE.

Last Edited: Wed. Apr 5, 2017 - 04:20 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank you,

I have tried the IAR Jlink. But there are some errors, like: 

    Error connecting to device over JTAG, Unable to enter programming mode. 

I think I should buy a Atmel ICE. 

HUANG Shumin

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

shumin wrote:
I think I should buy a Atmel ICE.

Or a proper, "unrestricted" Segger-branded J-Link

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

I wrote:
If it is an IAR J-Link, then its licence only permits it to be used with IAR.

Whether this purely trusts your honesty, or actually has any hardware and/or software "lock" - I don't know ...

I guess one way to find out would be to download one of the free IAR versions - and try it?