ATMEL ICE and Series 1 Tiny via UPDI issues.

Go To Last Post
74 posts / 0 new

Pages

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

Care to show us the PCB of the alleged clone?

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

Sad thing is,  the real deal is available from DigiKey for a better price.  Hell, they will sell me, just the PCB for $60.00.

Maybe I should get a legit PCB for my knock-off debugger :)

Mike Adams
ADI Development, Inc.
http://www.adidev.com

... When it has to actually work.

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

You can see a photo of the genuine PCBA from Microchip or Distributor.   And compare it to the pcb inside your "Waveshare" items.

 

But the best idea is to post a photo for mraardvark.

 

Incidentally,   Farnell.uk sell the PCBA for a better price (and I know which company I would trust).

But first off.   I would demand a full refund from Amazon.com  for both items.

 

David.   (who remains sceptical)

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

The PCB looks pretty legit. At least, quality-wise.

 

I wonder if anyone else's boards have that burn-through on the label?

Mike Adams
ADI Development, Inc.
http://www.adidev.com

... When it has to actually work.

Last Edited: Thu. May 28, 2020 - 09:11 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That looks like a genuine PCBA at least.

Perhaps I will have to read the whole thread now to try to help - the use of the word "clone" got my attention, I must admit :)

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

If "driver issues" are suspected:

- I have heard of compatibility issues with certain USB keyboard manufacturers - have you tried excluding this (or similar) possibility by unplugging any other USB devices?

- Down a similar track, its possible to re-allocate the USB HID packet sizes using atprogram (use atprogram.exe help parameters)

Might be worth a try.

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

The "clone" idea came from the "Waveshare" sticker that came on the housing.

 

Looking at the label, I see the burn-through mark.  I wonder if that indicates a test-fail ?  

Mike Adams
ADI Development, Inc.
http://www.adidev.com

... When it has to actually work.

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

If you have some python knowledge, you might want to try to install/clone pyedbglib and read the target voltage out like this:

from pyedbglib.hidtransport.hidtransportfactory import hid_transport
from pyedbglib.protocols.housekeepingprotocol import Jtagice3HousekeepingProtocol

transport = hid_transport()
transport.connect(product="atmelice")
    
housekeeper = Jtagice3HousekeepingProtocol(transport)    
housekeeper.start_session()    
voltage = housekeeper.get_le16(Jtagice3HousekeepingProtocol.HOUSEKEEPING_CONTEXT_ANALOG, Jtagice3HousekeepingProtocol.HOUSEKEEPING_ANALOG_VTREF)
voltage = voltage / 1000.0
housekeeper.end_session()
print ("Voltage read out as {0:.02f}V".format(voltage))

 

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

Bit a python guy.  But, if you know the HID report API's I can do it that way.

Mike Adams
ADI Development, Inc.
http://www.adidev.com

... When it has to actually work.

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

Is this some dodgy soldering here or just an artifact of the photo?

 

Letting the smoke out since 1978

 

 

 

 

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

Connections look good from the back side.  Looks like this was soldered with a fountain machine.  But, the dwell was a little short.  Hence, the hollow looking holes.

The rest looks ok.

 

Anyone else's PCBs have those burn-through spots on the label ?

 

 

Mike Adams
ADI Development, Inc.
http://www.adidev.com

... When it has to actually work.

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

This is mine. There is no burn-through mark.

Every detail of your photo looks genuine.

 

Did you miss #48?

 

 

Last Edited: Fri. May 29, 2020 - 01:01 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If nobody else's PCBs have those burn-through mark, and, both of the bad PCBs do, I think that may indicate that these were test fails / rejects.  And, SOMEBODY went through the reject bin and picked out the ones that would show up in AS, when plugged in to USB.

Mike Adams
ADI Development, Inc.
http://www.adidev.com

... When it has to actually work.

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

those burn-through mark

Any parts underneath?

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Below the label and on the back is the ground plane.

There are no parts.

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

The dots are probably for the test that have been done: ICT, burn-in, final. They are probably from a paint marker.

 

Just to be clear I am guessing.

 

update: failures get little red arrows (sort of like post-it-notes) and sent to rework, where random stuff happens. Sometimes a rework operator will notice that the board has been worked on a few too many times and then it is destroyed (or rework accumulates until critical mass is achieved).

 

Last Edited: Fri. May 29, 2020 - 06:26 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I looked at pic of these PCBs online.  They all seem to have black Marker dots on the labels.  But, my two seem to be the only ones I have seen where the dot has been cut/burned through to the solder-mask.  

 

I think the cut/burn may  indicate an ICT/EOL fail.

 

Mike Adams
ADI Development, Inc.
http://www.adidev.com

... When it has to actually work.

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

dr.mike wrote:
The PCB looks pretty legit

I bought what was alleged to be a genuine Segger J-Link on ebay once.

 

The hardware does, indeed, look "legit" but it is definitely a fake.

 

angry

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Have you asked for your money back from Amazon.com ?

 

Have you asked Waveshare ?

 

Of course it is possible that you have been sold QC failures.

In which case Waveshare would want to know how their sticker appeared on the item(s)

And how XYZStudy obtained them.

Amazon would want to know too !!

 

Likewise Microchip.

 

You should get your money back for both items.

 

Regarding software drivers.   From memory,  ATMEL-ICE has worked with every version of Atmel Studio.   And has worked with both Keil and Rowley for ARM targets.

 

However,   JTAGICE-2 has had a troubled history with Atmel Studio and USB drivers.    But it seems to work fine with the current AS7.0.2389 on Win10-64 and Win7-32

 

David.

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

The 1st one, I bought in August 2019.  So, it's probably too late to do anything about that one.

The second one, I will try to return; assuming, I can find the box.

Right now, I am waiting for the genuine PCB from DigiKey, to make sure that these really are bad units.

 

As far as driver/AS versions, I, actually, do all my work in IAR.  I only loaded Atmel Studio to check out the ATMEL-ICE  when it failed in the IAR environment.

Mike Adams
ADI Development, Inc.
http://www.adidev.com

... When it has to actually work.

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

RESOLUTION.

 

After getting my 100% Atmel ATMEL ICE from DigiKey, I buzzed out the cables before connecting anything, even once.

 

BEWARE !!! YOUR SQUID CABLES MAY BE MISLABELED !!!  Connecting them, "as labeled" can damage the ICE.

 

I have 2 full ICE kits; each, with different numberings on the squids.

One is labeled 0(red) 1 2 3 4 5 6 7 8 9.  The other is 1(red) 1 2 3 4 5 6 7 8 9  ( Yes, two #1s )

 

The actual numbering is straight 1 2 3 4 5 6 7 8 9 10.  So, rather than connecting GND=2 MOSI=3 VCC=4, as in the directions, you must connect.  GND=1 MOSI=2 VCC=3.  In this case, pin 1 is NOT the RED wire, even if it is marked "1".

 

When I tested with the 6-pin connectors, it looks like I had already damaged the ICE PCBs with the squid cables.  I am NOT going to verify this by seeing if I can burn the new ICE, the same way.

 

The oddball squid numbering makes no sense. And, is not consistent with anything I can find.

 

With the new ATMEL ICE, wired as above, I get full functionality in AS7 and IAR 7.2.

 

Mike Adams
ADI Development, Inc.
http://www.adidev.com

... When it has to actually work.

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

 

Hi guys I know I'm new here but I have been struggling with the same problem and have now resolved it, so wanted to post it here for others. Like a lot of other people here I was getting -0.3v when reading voltages or even with it not connect.  I think the issue is the diagram in the documentation is a little misleading. If this is the first time you are trying to get this working its more than likely you are using breadboard and jumpers. I will try to describe it and add an image if possible. Plug the ribbon cable into the Atmel-ICE AVR port. Now look down the end of the 6 pin IDC plug with the bump to the left.

 

Top right is GND

Bottom Right is VCC

Bottom left in UPDI

 

See attached image.

 

Sound so simple but had me stumped for ages and looking for answers brought me here.

 

@MOE21 I can confirm UPDI works on the PICkit4 also. I wish I could get reading and writing of fuses to work on AVRDUDE jatg2updi, then i would not have to break out the ICE or PICkit just to set the fuses when I program the devices with once click using jatg2updi and AVRDUDE as an external tool in AS7..

 

 

 

  

Attachment(s): 

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


The convention is to look at the male header

 

Obviously a photograph of the female end of the 6-way ribbon cable is useful.

But posting a diagram that "looks like" male pins is confusing.

 

Obviously an ATMEL-ICE comes with a proper ribbon cable to mate with the 3x2 UPDI header.

 

Personally,   I just made an AVR 3x2 Adapter for PicKit4 with some male header strip and an offcut of Protoboard.

This means that I can safely connect PK4 or SNAP to UPDI, PDI, ISP, TPI target with a regular 6-way ribbon.

 

MCU programming must be 100% reliable.   It is worth the time and effort to make your hardware connections foolproof.

 

David.

 

p.s. my home-made Adapter also contains a 5x2 JTAG header.   Which makes PK4 nicer to use with existing AVR JTAG (2.54mm) headers.

Pages