JTAG question

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

can i use any JTAG device with these micros?  for example Silicon Labs JTAG

Last Edited: Fri. Feb 25, 2022 - 02:18 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

OutThere wrote:
can i use any JTAG device with these micros

 

 

If this means: Is it possible to JTAG debug an AVR and other device in a chain-

the answer is: yes (but, I did not try).

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


OutThere wrote:
can i use any JTAG device with these micros?

Which micros, exactly? Note that not all AVRs have JTAG:

https://onlinedocs.microchip.com...

(so it might be more accurate to say that most AVRs don't have JTAG?)

 

OutThere wrote:
for example Silicon Labs JTAG

JTAG is just a low-level specification - above that there are device-specific issues.

 

Also, the interface between the JTAG probe and the host system is not (necessarily) standard.

 

 

eg, Microchip Studio isn't going to recognise an SiLabs JTAG probe.

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

OutThere wrote:
can i use any JTAG device with these micros? 

That would depend on what "these micros? means, not all AVR's have a JTAG interface, in fact, most do not.....

 

 

FF = PI > S.E.T

 

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

Bottom line is NO you cannot use a different manufacturers JTAG even on AVRs that say they have "JTAG". You have to get the Atmel device. That is because, although JTAG is an "open standard" the "data protocol" for debugging that passes over the wires is a proprietary protocol known only to Atmel and implemented by the firmware in their own JTAg interfaces.

 

These days most would start with Atmel-ICE or (because Microchip have "assimilated" Atmel) the Microchip PickKit 4. If you plan to work in Windows and use Studio 7 then Atmel-ICE is probably the "better" choice. If you plan to work in MPLABX (probably because you use Linux or MacOS) then the PickKit may be the better alternative (though it's true that each device is supposed to work with the "other" IDE as well).

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

Apart from Atmel-ICE, there's also the EDBG on Xplained & Curiosity boards; eg, https://www.avrfreaks.net/commen...

 

 

 

Out of interest, are there any 3rd-party "generalist" JTAG probe manufacturers that support AVR?

 

can't say I recall ever hearing of any

 

Segger are probably the best-known 3rd-party - and they do not list AVR: 

 

https://www.segger.com/products/debug-probes/j-link/technology/cpus-and-devices/overview-of-supported-cpus-and-devices/

Although there is: 

 

https://www.segger.com/products/debug-probes/j-link/technology/cpus-and-devices/overview-of-supported-cpus-and-devices/#adding-support-for-new-unknown-devices

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

clawson wrote:
That is because, although JTAG is an "open standard" the "data protocol" for debugging that passes over the wires is a proprietary protocol known only to Atmel and implemented by the firmware in their own JTAg interfaces.
There are third party efforts on decoding AVR JTAG debug instructions.

clawson wrote:
(though it's true that each device is supposed to work with the "other" IDE as well).
Device packs' top level will have a list of tools for each device.

 


JTAG Debugger (ECE 4760) (Cornell University)

>>> LURA <<<

 

Atmel Packs (Microchip Studio)

Microchip Packs Repository (MPLAB X)

 

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

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

 

gchapman wrote:
Device packs' top level will have a list of tools for each device.

Also the Product Page (although seems only Microchip's own products are listed); eg,

https://www.microchip.com/en-us/product/ATmega128#document-table

Of those, the SNAP would be the cheapest:

https://www.microchip.com/en-us/development-tool/PG164100

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The avatr is interesting, it looks like a National semiconductor debugger with 2 x 8" floppies from about 40 years ago.

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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


js wrote:
The avatr is interesting, it looks like a National semiconductor debugger with 2 x 8" floppies from about 40 years ago.

 

Close enough /by the age/, it is Digital PDP-8/e

 

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

It's Radio Shack TRS-80 model III

 

http://www.trs-80.org/model-3/

 

FF = PI > S.E.T

 

Last Edited: Fri. Feb 25, 2022 - 09:59 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I should recall my PDP, can it be Terminal DEC-VT52 instead?

 

TRS-80, it is.

 

Advertised that 'can do anything', yet failed on a simple sorting of the edited text.

Last Edited: Fri. Feb 25, 2022 - 10:14 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

gchapman wrote:

JTAG Debugger (ECE 4760) (Cornell University)

>>> LURA <<<

yes

www.tokopedia.com/madagang .Buy and Donated cheap electronics and manuscripts.

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

js wrote:
National semiconductor debugger with 2 x 8" floppies from about 40 years ago.

 

Ahh, them thar' new-fangled magnetic doodads? They'll never catch on ...

Wayne

East London
South Africa

 

  • No, I am not an Electronics Engineer, just a 54 year old hobbyist/enthusiast
  • Yes, I am using Proteus to learn more about circuit design and electronics
  • No, I do not own a licensed copy of Proteus, I am evaluating it legitimately
  • No, I do not believe in software or intellectual property piracy or theft