MPLAB SNAP : We are not amused.

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

After the death of my twice-repaired ATMEL ICE, I got a "MPLAB SNAP." Supports PDI, TPI, SPI... That should do.

 

Wrong.

 

Atmel Studio does not know anything about MPLAB SNAP.

MPLAB IDE does not know anything about XMEGA E5 series parts.

MPLAB IPE does not know anything about XMEGA E5.

 

And, of course, my first paycheck at my new job is NEXT Friday.

 

Guess who is going to first against the wall when the revolution comes.

The largest known prime number: 282589933-1

It's easy to stop breaking the 10th commandment! Break the 8th instead. 

Last Edited: Sat. May 4, 2019 - 08:09 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

From memory,  Pickit4 is recognised by AS7.0 but does not support Xmega (yet).

 

I would guess that the CMSIS-DAP used on ATMEL-ICE is mature and stable.

So porting the Atmel devices to Pickit4 would have been fairly straightforward.

Likewise,  porting Pickit4 to SNAP would have been even simpler.

 

Programming Flash on AVR, Xmega, ... is dependent on Page size.    The transport mechanism is the same for each device using the protocol.

 

So Microchip could / should test thoroughly on the common chips.   If the XML that contains Page size and number of Pages was auto-generated,  we could be confident that all PDI chips would work,  all debugWIRE chips would work,  ...

 

Yes,  in an ideal world every chip in every package is tested before it is "added" to an AS7.0 Tool XML.

 

Do Pickit4 and SNAP work 100% with every PIC variant ?

 

Mind you.   Segger seem to release new firmware for their ARM tools on a weekly basis.   You would think that Segger would be 99.9% perfect

with their first firmware release.

 

David.

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

Well, I got the snap because it was $10 and I was broke. Have job now, so that should be changing Friday. Well, SOME Friday that should change.

The largest known prime number: 282589933-1

It's easy to stop breaking the 10th commandment! Break the 8th instead. 

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

ATTiny 4313 IS on the supported list, but there is always some kind of "communication error" between the PC (not Mac) and the SNAP programmer. I tried asking on the Microchip forum, SNAP section, but all posts must be approved and mine aren't. Perhaps somebody didn't get the memo that AVR Freaks are no longer the enemy?

 

The MPLAB program is kindof nice, except that it doesn't work. Maybe I'll try it on the Mac tonight.

 

The largest known prime number: 282589933-1

It's easy to stop breaking the 10th commandment! Break the 8th instead. 

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

Torby wrote:
AVR Freaks are no longer the enemy?
... when did that change? cheeky

Ross McKenzie ValuSoft Melbourne Australia

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

I took off the R48, but that did not help anything. I didn't have any through hole resistors between 1k and 10k, so I ordered some. I added an ATMEL ICE to the order too. Now I'm programming again

 

So, perhaps I'll add the resistor and see if that helps anything.

 

MOST xMega parts are on the supported list, just not the E5s. 4313 is also on the supported list, but doesn't program.  I think mplab is complaining about the usb communication with the snap.

The largest known prime number: 282589933-1

It's easy to stop breaking the 10th commandment! Break the 8th instead. 

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

After weeks, my question at microchip remains unapproved for post.

The largest known prime number: 282589933-1

It's easy to stop breaking the 10th commandment! Break the 8th instead. 

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

Torby wrote:

ATTiny 4313 IS on the supported list, but there is always some kind of "communication error" between the PC (not Mac) and the SNAP programmer.

SNAP is a nice looking unit, with some good ideas, but I wonder if the HS-USB might give issues on some PCs.

When they get the wrinkles sorted, it should work better than FS-USB debug links ?

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

Woo-Hoo.   I just installed MPLAB-X 5.20

 

SNAP works with AVR JTAG now.

SNAP works with Xmega PDI now.   But only by removing R48 from the SNAP pcb.   I tried with external pullups 3K, 2k, 1k without success.

SNAP is recognised as a CMSIS-DAP by Keil

SNAP is not recognised by AS7.0 at all

 

Perhaps there will be an update to AS7.0 which will recognise SNAP.   And make PicKit4 available automatically.

 

David.

Last Edited: Thu. May 23, 2019 - 01:53 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Really?

 

Maybe I'll play with it again. I got a new Atmel ICE so I could program chips.

The largest known prime number: 282589933-1

It's easy to stop breaking the 10th commandment! Break the 8th instead.