Welcome, Guest

Author Topic: AM3352 JTAG emulator  (Read 3770 times)

happycorsair

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
AM3352 JTAG emulator
« on: November 15, 2015, 01:31:17 AM »
Hello, guys!
I'd like to ask 2 stupid questions (I'm newbie in bare metal development, so please don't blame too much).

1) Accidentally I found ARM-USB-OCD-H debugger. Is it compatible with my AM3352 EVM?
2) If no, which low-costing JTAG debugger, compatible with openocd(!!!), can I buy and use?

Thanks in advance!

JohnS

  • Hero Member
  • *****
  • Posts: 1726
  • Karma: +34/-48
Re: AM3352 JTAG emulator
« Reply #1 on: November 15, 2015, 04:39:49 PM »
If the EVM has JTAG.

John

happycorsair

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: AM3352 JTAG emulator
« Reply #2 on: November 15, 2015, 05:46:11 PM »
Quote
If the EVM has JTAG.
Hi, John.
Thanks for your answer!
I'm talking about official Olimex AM3352-SOM-EVB, so it certainly has 20-pin JTAG. Do you know, if they are 100% compatible?

JohnS

  • Hero Member
  • *****
  • Posts: 1726
  • Karma: +34/-48
Re: AM3352 JTAG emulator
« Reply #3 on: November 15, 2015, 08:29:08 PM »
No, but JTAG is JTAG.

The AM is not a chip I've any interest in.  I hope it has excellent doc from its maker or you may struggle.

John

happycorsair

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: AM3352 JTAG emulator
« Reply #4 on: November 19, 2015, 01:09:08 AM »
Thank you once again.
If someone is interested in, I've tested TMS320-XDS100-V2 (by Olimex) and it seems to work with OpenOCD 0.9 (built by myself with --enable-legacy-ft2232_libftdi)

vinifr

  • Sr. Member
  • ****
  • Posts: 269
  • Karma: +9/-0
Re: AM3352 JTAG emulator
« Reply #5 on: November 20, 2015, 05:58:04 PM »
Hi,

Well, AM3352 is to run Linux in principle. But, yes, you can run bare metal too, I guess. Anyway, running Linux you can use gdb or  gdb-arm-linux-gnu, it is very powerful!  ;)

happycorsair

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: AM3352 JTAG emulator
« Reply #6 on: November 21, 2015, 12:07:43 AM »
Hi :)
I can't agree with you about your first statement. There are not so many cheap Cortex A development boards with ready-to-use JTAG-interface. So, I would say, IT IS FOR BARE METAL. Even more, AM335X has perfect documentation, what makes bare metal development very cool.

Ah, gdb rocks(!!!), you are completely right.

vinifr

  • Sr. Member
  • ****
  • Posts: 269
  • Karma: +9/-0
Re: AM3352 JTAG emulator
« Reply #7 on: December 05, 2015, 02:19:57 PM »
Hi,

Answering your question, I think is compatible, but i'm not sure. AM3352-SOM has JTAG pins/signals: nTRST, TCK, TMS, TDI and TDO. ARM-USB-OCD-H debugger has these pins too: https://www.olimex.com/Products/ARM/JTAG/_resources/openocd-jtag-layout.png.
In another hand, openocd has not a specific file to AM3352-SOM, but maybe ti_beaglebone.cfg works.