Atmel JTAGICE3, ATMELICE not working anymore in Studio7

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

I have 2*JTAGICE and 1 ATMELICE. All of them can read the voltage on my AtXmega128A3u Board, but not program or debug it.

I tried 2 boards I just built and thinking it may be some HW problem there I took an old functioning, identical Board that I programmed using one of the JTAGICE3 boxes I have now. That does not work any better.

The Laptop I'm using is the same as used before. Running Windows 7 Pro, service pack 1. Atmel Studio 7.0.1645. I just upgraded it (from 1417 if I remember correctly).

 

The MCU is Connected to using PDIdata (Pin56), ~Reset/PDIclk (Pin57), Vcc and GND.

 

Studio7 tells me this:
Atmel-ICE
Debug host        127.0.0.1
Debug port        51748
Serial number     J41800020227
Connection        com.atmel.avrdbg.connection.cmsis-dap
Features          1
Firmware Version  1.27
Hardware Version  0

 

JTAGICE3
Debug host        127.0.0.1
Debug port        51748
Serial number     J30200013401
Connection        com.atmel.avrdbg.connection.cmsis-dap
Features          1
Firmware Version  3.36
Hardware Version  2

 

And Studio 6.1 tells me this: (Studio7 just wants to upgrade it, and I don't dare ATM)
JTAGICE3
Debug host 127.0.0.1
Debug port 51857
Serial number J30200015566
Connection com.atmel.avrdbg.connection.cmsis-dap
Features 1
Firmware Version 3.2a
Hardware Version 2

 

The Message I get from Studio7 when trying Device signature Read:

PDI enable failed. Debugger command Activate physical failed.

Unable to enter programming mode. Verify device selection, interface settings, target power, security bit, and connections to the target Device.

 

I did not try to uninstall Studio7 before Upgrade. Would it resolve the problem to do a fresh install on another Laptop? If Windows10 is a prerequisite, I'll just have to go buy one. Would that be necessary?

 

 

 

Einar Sjaavik

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

Does the target AVR have power, have you verified that?

 

Jim

 

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

Thanks for responding Jim.

 

It does. Checked With a voltmeter at the Vcc. And the fact that Studio7 is Reporting the target voltage correctly is one thing that Puzzles me. It will detect it if I pull the power to the target Board, which tells me that there must be a working USB communication With the JTAGICE3. From searching the forum it seems the USB driver has created some trouble, but then how would it be able to report the voltage.

 

And I did double-triple-quadruple check that the target chip is correctly set, as I seem to remember from earlier experience the error being something similar if I set the wrong chip in Atmel Studio.

Einar Sjaavik

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

I don't have a solution but it seems as though we may be having the exact same problem. I have an old breadboard that used to work perfectly, programming and debugging with ISP/DebugWire with an Atmel ICE and the squid cable. It doesn't work now. It seems like Atmel Studio can communicate with the ICE to read the voltage, but the debugger will not enter programming mode. I am also using Windows 7. I am curious if you find anything new to try.

Paul R. Potts - paul@thepottshouse.org