JTAGICE3 firmware upgrade failed - Atmel Studio 7 upgrade

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

Atmel Studio 7 came with a new version of the firmware for its JTAGICE3 debugger.  The current version installed on our hardware is 3.25.  The new version is 3.2a.

 

We can't use the debugger without upgrading, but the firmware upgrade fails.  The specific message given is as follows: "JTAGICE3 firmware upgrade failed, toggle power on tool and retry upgrade"

 

Of course, there is no way to toggle the power on the JTAGICE3 programmer except to unplug the USB and plug it back in.  That has no impact.  I've tried upgrading the firmware on two different devices, and both failed multiple times with the same error message.

 

Any suggestions?

Attachment(s): 

Last Edited: Fri. Oct 30, 2015 - 05:53 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You may need to do a manual upgrade from the command prompt. There should be some threads about this here.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

I've been trying to do a manual update with no luck. You can see the error I've been running into below. I'd really like to know how to fix this since I've got a lab of students trying to work with these devices for a lab due in a week or so. Any advice on where to go next on this?

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

May have to wait for someone from Atmel with that or maybe you can raise a ticket and point them to this thread.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

HI, I have the same problem, has anyone already found a solution?

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

This issue was fixed in Atmel Studio 7.0.634

:: 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

This issue was fixed in Atmel Studio 7.0.634

I have a similar problem with Atmel Studio 7.0.934

 

Here it is the screenshot when I try the manual firmware upgrade:

 

Last Edited: Tue. Jul 19, 2016 - 07:35 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This is caused by Jungo 12 and Jungo 11 differences.  See http://atmel.force.com/support/a...

 

To use atfw from studio 7 you need to have the JTAGICE3 bound to Jungo 12, not 11.

:: 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

There seems to be no resolution to this post, does anyone have any updates or ideas.

 

I have recently put AS7 on a new laptop and am trying to use the JTAGICE3 to debug, but as in this thread get the same upgrade message when it AS7 asks you to upgrade, the Jungo driver seems to be version 12.

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

Having the same issue still with two jtagice3's. One has firmware version 3.31, the other 3.2a. Both fail to upgrade in AS, and fail to upgrade with the atfw.exe utility. The driver used is Jungo 12. Anyone have any luck upgrading? They worked not too long ago, <6 months; I'm not sure what version of AS broke this upgrade.

 

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

Solved this issue. There seems to be an issue with the driver signatures for the JTAGICE3 when it is in upgrade mode. You might notice in the device manager that an error arises after the firmware upgrade is attempted and the device is stuck in upgrade mode. The solution is to disable Window's driver signature checking when you are doing the firmware upgrade. This guide details how to disable this security measure temporarily or permanently. Once signature checking is disabled, my firmware upgraded fine from AS7 in the automatic upgrade mode.

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

I had this same issues with the latest AS7.0. It tried to update from 3.25 to 3.35. I was planing to do the driver signature disabling but decided to just try after normal Windows 7 boot. And the upgrade worked. I also had similar issues while upgrading EMBG firmware on SAMD21 Xplained Pro with the same AS7. SAMB11 Xplained Pr EMBG updated without issues.

 

There still seems to be one problem. The updated JTAGICE is not anymore visible in AS6.2, which is used by my subcontractor. Is this to expected? No backwards compability?

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

jmaja1 wrote:
There still seems to be one problem. The updated JTAGICE is not anymore visible in AS6.2, which is used by my subcontractor. Is this to expected? No backwards compability?
Yes and no; Atmel Studio 6.2 will need the Jungo driver versus WinUSB for Atmel Studio 7.0.1417.

http://atmel-studio.s3-website-us-west-2.amazonaws.com/7.0.1417/as-installer-7.0.1417-readme.pdf

(page 3)

Atmel Studio 7.0.1416

The following changes are done in Atmel Studio 7.0.1416:

• Changed driver to WinUSB for AVR Dragon™, AVRISP mkII, JTAGICE mkII, JTAGICE3, AVR ONE!, STK®600, and QT600

Note:

If you install this version of Atmel Studio in parallel with an older Studio versions or IAR Embedded Workbench® and are using AVR Dragon™, AVRISP mkII, JTAGICE mkII, AVR ONE!, STK®600, or QT600 read

How to downgrade to use older Jungo drivers

via

http://www.microchip.com/development-tools/atmel-studio-7

 

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

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

So does that mean that my JTAGICE will still work just fine with 6.2 on another computer, which doesn't have 7.0 installed?

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

Atmel Studio 6 and 7 can co-exist on a PC (6 via Jungo, 7 via WinUSB)

 

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

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

I'm having a similar problem with my JTAGICE3.  I just installed the latest AS 7 (version 7.0.1417) on a Windows 10 laptop.  When I connect to the JTAGICE3, it informs me that it has to update the firmware from 3.34 to 3.35.  When I click Upgrade it shows plausible progress and says "JTAGICE3 firmware successfully upgraded".  But the LED's on the JTAGICE3 look very unhappy, with only one light on, slowly pulsing between red and orange.

 

When I unplug the USB cable and plug it back in, the lights go back to normal, but when I try to connect to it in AS it says it's still firmware 3.34 and needs to upgrade it.

 

I have tried both methods of disabling Window's driver signature checking described in the link given above, but that has not helped.

 

Any other ideas for making this work?

 

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

You can not update JTAGICE 3 with atfw.exe of build 1417.
If you only have jtagice3_fw.zip of 3.35 in build 1188 or earlier version of AtmelStudio 7, it will succeed.

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

kabasan wrote:

You can not update JTAGICE 3 with atfw.exe of build 1417.
If you only have jtagice3_fw.zip of 3.35 in build 1188 or earlier version of AtmelStudio 7, it will succeed.

 

Thanks very much for the response.  

 

Let's see if I understand this right.  I do have another computer with build 1188.  I need to use the 1188 build version of AS7 to install the 3.35 firmware on the JTAGICE3, using atfw.exe to do that manually.  But I need to pull the jtagice3_fw.zip file from the newer 1417 build in order to get the 3.35 version.  Correct?

 

Also, how could I have found out that build 1417 won't update the JTAGICE3?  Is that documented somewhere?  And is that intentional, or a bug to be fixed in a future AS7 build?

 

--

Bert

 

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

I also fell into the same situation as you and studied it myself.

 

In build 1417
Atfw.exe - t jtagice3 - a c:\ ..... \jtagice3_fw.zip - v 8
The resulting error message was this:
Failed to connnect: MPLABCOMM_INVALID_HANDLENAME

 

"MPLABCOMM"?
I thought this was a bug of atfw.exe by MICROCHIP.

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

kabasan wrote:

I also fell into the same situation as you and studied it myself.

 

In build 1417
Atfw.exe - t jtagice3 - a c:\ ..... \jtagice3_fw.zip - v 8
The resulting error message was this:
Failed to connnect: MPLABCOMM_INVALID_HANDLENAME

 

"MPLABCOMM"?
I thought this was a bug of atfw.exe by MICROCHIP.

 

Good find!

 

Any acknowledgement from the Atmel/Microchip gurus so we have hope of a fix in the future?

 

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

I want to fix update

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

bmenkveld wrote:

kabasan wrote:

You can not update JTAGICE 3 with atfw.exe of build 1417.
If you only have jtagice3_fw.zip of 3.35 in build 1188 or earlier version of AtmelStudio 7, it will succeed.

 

Thanks very much for the response.  

 

Let's see if I understand this right.  I do have another computer with build 1188.  I need to use the 1188 build version of AS7 to install the 3.35 firmware on the JTAGICE3, using atfw.exe to do that manually.  But I need to pull the jtagice3_fw.zip file from the newer 1417 build in order to get the 3.35 version.  Correct?

 

Also, how could I have found out that build 1417 won't update the JTAGICE3?  Is that documented somewhere?  And is that intentional, or a bug to be fixed in a future AS7 build?

 

--

Bert

 

 

I finally got all the necessary things in the same place at the same time.  I used the AS7 build 1188 version of atfw.exe, and the 3.35 firmware file jtagice3_fw.zip for JTAGICE3 distributed with build 1417.

 

It took a couple of tries and power cycling of the JTAGICE3, but in the end it succeeded in updating the firmware.  It seems that after the first failed attempt and power cycling it needed some time for my computer to catch up with the "new" USB device before the firmware update procedure could work correctly.

 

Thanks again for the help.  Hope Atmel/Microchip gets around to fixing this sometime soon.

 

--

Bert

 

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

I'm getting the same problem trying to upgrade JTAGICE3 with build 7.0.1417. Is there somewhere I can get atfw.exe from build 1188 without downloading & installing the whole installation package?

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

I have the same problem: Atmel Studio 7.0.1417, JTAGICE3 with firmware 3.2a - inpossible to upgrade to version 3.35.

What to do?

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

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

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

 

Do I must install AS7 build 1188?

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

Yes for I don't recall any other way to its atfw.exe

 

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

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

gchapman wrote:

Yes for I don't recall any other way to its atfw.exe

 

 

Oh... Thanks...

 

I made:

 

1. Download AS7.1188 from: http://www.microchip.com/develop...
2. copy firmware ver3.35 from build 1417:
md "D:\atmel\1417\JTAGICE3"
copy "C:\Program Files (x86)\Atmel\Studio\7.0\tools\JTAGICE3" "D:\atmel\1417\JTAGICE3"
3. Uninstall AS7.1417
4. Reboot PC
5. Install AS7.1188
6. Upgrade firmware:
cd "C:\Program Files (x86)\Atmel\Studio\7.0\atbackend"
atfw.exe -t jtagice3 -a "D:\Atmel\1417\JTAGICE3\jtagice3_fw.zip"
atfw.exe -t jtagice3 -r -V
7. Uninstall AS7.1188
8. Install AS7.1417

 

Now I have ver 3.35 in my JTAGICE3 and it works with AS7.1417.

 

AS7.1188 has firmware for JTAGICE3 ver 3.34 and atfw.exe 1.13.0.4647
AS7.1417 has firmware for JTAGICE3 ver 3.35 and atfw.exe 1.13.0.4649

 

In attachment - atfw.exe with friends from AS7.1188 and firmware ver3.35 from build 1417 (all necessary for updating).

Attachment(s): 

Last Edited: Mon. Aug 21, 2017 - 08:13 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ran into the same issue after upgrading to Atmel Studio 7.0.1645
First answer "do manual upgrade on command-line" worked fine for me.

So maybe an old bug returned to Atmelstudio? We had this before but worked nice recent upgrade(s).

 

C:\Program Files (x86)\Atmel\Studio\7.0\tools\JTAGICE3>atfw -t jtagice3 -a jtagice3_fw.zip
Found jtagice3:J30200007971
Upgrading jtagice3:J30200007971
Upgrading MCU: [==========]
Successful upgrade