November 23, 2024, 04:51:23 AM

EJTAG for MIPS processors

Started by vinifr, April 16, 2017, 12:48:17 AM

Previous topic - Next topic

vinifr

Hi Olimex,

Any plans to make a EJTAG for MIPS processors?


JohnS

What extra is needed?

(Apart from software, which exists doesn't it?)

John

vinifr

Hi Johns,

The MIPS created their own jtag interface called EJTAG: "The MIPS EJTAG is a proprietary extension", so we cannot use ARM JTAG. :(

vinifr

Quote from: vinifr on April 16, 2017, 08:07:10 PM
Hi Johns,

The MIPS created their own jtag interface called EJTAG: "The MIPS EJTAG is a proprietary extension", so we cannot use ARM JTAG. :(

oh man, sorry, i just find out this: "Most of modern MIPS SOCs support JTAG (IEEE 1149.1)."

JohnS

OpenOCD and others work I think.

I was wondering if there was something else like another pin not listed in any of the articles.  (I didn't find anything.)

I've used such as RT5350F, MediaTek 7688 and PIC32MX/PIC32MZ and they all seemed to work OK.

John

vinifr

Quote from: JohnS on April 16, 2017, 10:01:47 PM
OpenOCD and others work I think.

I was wondering if there was something else like another pin not listed in any of the articles.  (I didn't find anything.)

I've used such as RT5350F, MediaTek 7688 and PIC32MX/PIC32MZ and they all seemed to work OK.

John
RT5350F, really? Great! This is the one I want to flash using jtag! Which jtag have you used? Olimex one?

JohnS

I think it was along the lines of the wiki article.  As I recall the board had no standard JTAG pins so a rats nest of wires was needed (and maybe some pullups etc?).

Try it :)

You may need plenty of shielding as crosstalk can be a problem.

John

LubOlimex

We use our JTAGs to upload code to RT5350F. We have also described it in the wiki article here: https://www.olimex.com/wiki/RT5350F-OLinuXino#Upload_prebuilt_images_using_programmer_tool

We had plans to create an EJTAG tool initially (it as like 5 years ago). We also have the design completed and even made and tested few prototypes. Yet, I believe at that time Imagination bought MIPS and the project was scrapped. In all honesty, we have probably worked on two times more products that what we have available, just some projects are not meant to be.

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

vinifr

Quote from: LubOlimex on April 18, 2017, 12:17:51 PM
We use our JTAGs to upload code to RT5350F. We have also described it in the wiki article here: https://www.olimex.com/wiki/RT5350F-OLinuXino#Upload_prebuilt_images_using_programmer_tool

Best regards,
Lub/OLIMEX

That is great! Where can I find a openocd script to debug RT5350F board?

LubOlimex

I have no idea about an OpenOCD script, you'd have to search or post in OpenOCD's mail list about that.

We use this flashrom tool which is compatible with our OpenOCD debuggers: https://www.flashrom.org/Flashrom

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex