SAM4 JTAG ICE3

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

Probably a dumb question, but if I go down the SAM4 route for my current application/product, will I be able to use the Atmel JTAG ICE3 on the target PCB? Currently all my developing/debugging needs are being met by the SAM3 on-board debugger, but that's obviously not going to be the case on the production PCB.

John

Four legs good, two legs bad, three legs stable.

Last Edited: Mon. Jul 8, 2019 - 09:12 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The most recent release of AS6 hailed "JTAGICE3 debugging for Cortex" but I have a sneaking suspicion it may have been SAM D20 only so far. Presumably SAM3 and SAM4 cannot be long behind if they aren't already supported?

EDIT: yes, found it in release notes:

Quote:
3.1 Atmel Studio 6.1 update 2
● Support for SAM D20 devices on the JTAGICE3

Last Edited: Fri. Sep 6, 2013 - 01:56 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

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

Morten is SAM-ICE = Jlink then ?

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

Thanks for the prompt reply. Are there plans to add SAM4 capability to the JTAG ICE3 in the future or should I be looking at parting with more hard-earned cash at Farnell?

And is this it? The Farnell page makes no mention of SAM4.

http://uk.farnell.com/atmel/at91sam-ice/jtag-emulator-for-sam3-sam7-sam9/dp/1095464?Ntt=sam-ice

John

Four legs good, two legs bad, three legs stable.

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

Quote:

Morten is SAM-ICE = Jlink then ?

In most cases, yes. There are so many J-Link units and derivatives that Segger is the people to ask for the official answer to that. However, I was asked to add support for J-Link Ultra and Pro last summer, and there are also support for a "generic" J-Link unit which probably encompasses most of the units from Segger.

So, we don't disallow anything on this point really, but there may of course be caveats that are out of our control...

Quote:

Are there plans to add SAM4 capability to the JTAG ICE3 in the future

Future is a long time...

(disclaimer; I have no idea about what the plans for this are at the moment...)

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

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

Could you answer my question about the Farnell part I linked to, please?

Four legs good, two legs bad, three legs stable.

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

Looks right to me... I have no idea why Farnell do not list the 4 and D20... I would probably send an inquiry to Farnell about that.

The support list I linked to above is the current support for the Atmel Studio + SAM-ICE combination...

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

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

Thanks.

Four legs good, two legs bad, three legs stable.

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

I can't see any mention of the SAM-ICE being SWD compatible in the datasheet, which is a shame as I understand it uses fewer pins.
In some ways, if I had the soldering skills, I'd be tempted to but another SAM4 Xplained and modify it to bring out the SWD connections...
Apart from the extra I/O tied up by JTAG, I'm also a bit worried about the PCB real estate required for a 20 way JTAG connector.

Four legs good, two legs bad, three legs stable.

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

All Cortex devices can use SWD.
Not all JTAG debuggers can use SWD.

The standard Cortex JTAG header is 0.05" 5x2
The SWD mode only needs 4 pins. So using a 0.1" 10x2 header is a bit pointless.

Cortex SWD debuggers are pretty much free. You only need to buy or be given an NXP / ST / TI evaluation board.

The smaller Cortex don't have the extensive 'extras' of the bigger ARM chips. So there is little point in using the top-end debuggers.

David.

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

I am not changing horses again at this time. I've spent over two weeks getting my firmware working on the SAM4 and I'm sticking with it, if at all possible. And I need a lot of those "extras" anyway, the preceding version of this product used the XMega256.
But thanks anyway.

Four legs good, two legs bad, three legs stable.

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

From distant memory not all ARM debuggers supported SWD in 2013.
Yes, in 2019 the situation has changed e.g. firmware upgrades to legacy JLINK models.