# Grmon3 altera JTAG debugging error

**URL:** <https://discourse.grlib.community/t/grmon3-altera-jtag-debugging-error/128>\
**Category:** LEON\
**Created:** [20 May 2021 06:14 UTC](https://discourse.grlib.community/t/grmon3-altera-jtag-debugging-error/128 "2021-05-20T06:14:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ewout133](https://dub1.discourse-cdn.com/flex017/user_avatar/discourse.grlib.community/ewout133/32/35_2.png) [@ewout133](https://discourse.grlib.community/u/ewout133)\
**Post date:** [20 May 2021 06:14 UTC](https://discourse.grlib.community/t/grmon3-altera-jtag-debugging-error/128/1 "2021-05-20T06:14:13Z")

</div>

Hi all,

I’m trying to get my Altera DE2 2C35 FPGA working with LEON3.  
I’ve used the default design from GRLIB (leon3-altera-de2-ep2c35) the .sof file flashed easily using JTAG.  
Next I tried to debug the softcore with GRMON3 educational but I can’t get it to work.

## I’m using Quartus 13.0sp1 on Pop OS 20.04 (Linux) with the grmon-eval-3.2.12 debugger.

~\> grmon -altjtag

GRMON debug monitor v3.2.12 64-bit eval version

Copyright (C) 2021 Cobham Gaisler - All rights reserved.  
For latest updates, go to [http://www.gaisler.com/](http://www.gaisler.com/)  
Comments or bug-reports to [support@gaisler.com](mailto:support@gaisler.com)

This eval version will expire on 23/10/2021

## JTAG chain (1): EP2C35 ERROR! AMBA plug&play not found! Failed to initialize target!

## My jtag runs fine when I try:

~\> jtagconfig

1. USB-Blaster [3-1.2]  
020B40DD EP2C35

* * *

I’ve also tried this on Windows 10 but I received a message that I should upgrade my grmon3 install to the Pro version.

Ewout

---

<div class="post-metadata">

**Author:** ![arvid](https://dub1.discourse-cdn.com/flex017/user_avatar/discourse.grlib.community/arvid/32/12_2.png) [@arvid](https://discourse.grlib.community/u/arvid)\
**Post date:** [20 May 2021 12:20 UTC](https://discourse.grlib.community/t/grmon3-altera-jtag-debugging-error/128/2 "2021-05-20T12:20:14Z")

</div>

Hello!

The Altera Blaster JTAG is only supported by the 32-bit version, this is mentioned in the manual. And evaluation version is only available as 64-bit.

However it seems like you managed to connect on Windows, so it’s possible that the 64-bit works on that platform (I don’t remember if I have tested the 64-bit version using the Blaster JTAG on Windows, and I don’t have access to any system to test it at the moment).  
The message that it requires a PRO version is bug that is related to this particular template design. I have made a new release of the GRMON evaluation version (3.2.12.1) that fixes it.

/Arvid

---

<div class="post-metadata">

**Author:** ![ewout133](https://dub1.discourse-cdn.com/flex017/user_avatar/discourse.grlib.community/ewout133/32/35_2.png) [@ewout133](https://discourse.grlib.community/u/ewout133)\
**Post date:** [20 May 2021 12:58 UTC](https://discourse.grlib.community/t/grmon3-altera-jtag-debugging-error/128/3 "2021-05-20T12:58:04Z")

</div>

Hi Arvid,

Thank you so much! Works fine on Windows with the 12.1 patch.

.\grmon.exe -altjtag

GRMON debug monitor v3.2.12.1 64-bit eval version

Copyright (C) 2021 Cobham Gaisler - All rights reserved.  
For latest updates, go to [http://www.gaisler.com/](http://www.gaisler.com/)  
Comments or bug-reports to [support@gaisler.com](mailto:support@gaisler.com)

This eval version will expire on 20/11/2021

JTAG chain (1): EP2C35  
Device ID: 0x302  
GRLIB build version: 4265  
Detected frequency: 50.0 MHz

Component Vendor  
LEON3 SPARC V8 Processor Cobham Gaisler  
AHB Debug UART Cobham Gaisler  
JTAG Debug Link Cobham Gaisler  
LEON2 Memory Controller European Space Agency  
AHB/APB Bridge Cobham Gaisler  
LEON3 Debug Support Unit Cobham Gaisler  
PC133 SDRAM Controller Cobham Gaisler  
Generic UART Cobham Gaisler  
Multi-processor Interrupt Ctrl. Cobham Gaisler  
Modular Timer Unit Cobham Gaisler  
LCD Controller Cobham Gaisler  
General Purpose I/O port Cobham Gaisler  
General Purpose I/O port Cobham Gaisler  
AHB Status Register Cobham Gaisler

Use command ‘info sys’ to print a detailed report of attached cores

grmon3\>
