MPLAB Snap

Go To Last Post
121 posts / 0 new

Pages

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

The current Microchip web site 404 offer :

...

 

50% off

Coupon Code: 404Discount

 

[BUY IT NOW button]

https://www.microchipdirect.com/product/search/all/mplab%20snap

via 404 | Microchip Technology

 

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

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

The coupons SPOOKY68 and 404Discount are not cumulative! I wanted Snaps with 100% discountcheeky

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

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

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

Microchip MPLAB PICkit 4/SNAP Cable Selection and Installation | Tag-Connect

...

Our soon to be launched new family of 8-pin TC2040 cables and solutions will support SAM, AVR, and MIPS. For more information or to be added to our notification list please ...

...

 

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

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

MPLAB Snap | Welcome to Microchip Technology | Microchip Technology Inc.

...

 

30% Off

Coupon Code

TP2023

Expires : 30-Sep-2020

 

...

 

More Info 

 

...

via Dev Tool Deals | Microchip Technology

 

edit 2-Sep'20 :

In Stock: 140

In Stock: 100

edit 12-Sep'20 :

In Stock: 82

edit 14-Sep'20 :

In Stock: 73

edit 16-Sep'20 :

In Stock: 44

edit 22-Sep'20 :

In Stock: 21

edit 23-Sep'20 :

In Stock: 19

edit 25-Sep'20 :

In Stock: 16

edit 29-Sep'20 :

Out of Stock

edit 30-Sep'20 :

In Stock: 2

 

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

Last Edited: Thu. Oct 1, 2020 - 12:14 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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

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

stock is low

 

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

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

Has anyone been able to get the CDC UART to work? Apparently, this is a feature that's available when the SNAP is in AVR mode. A serial port shows does up on my computer, but there are no data on pin 7 or 8 when I'm sending data from the serial monitor.

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

Are you using the DTR signaling?

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

Not that I'm aware of? I was currently using the Arduino serial monitor. I know it's "dumb", but it pretty much always works. Does the SNAP require handshaking to function as a USB-UART bridge?

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

I think the same guidelines apply as for nEDBG/PKOB nano - the IO lines are tristate until a terminal connects and asserts DTR (user guide explains this).  Some terminals do this, some have a checkbox that needs checking.

Of course also remember to connect VTG as reference for those level shifters.

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

Of course also remember to connect VTG as reference for those level shifters.

This was the issue, thank you!

 

I took the time to update the SNAP firmware too. Damn what a stupidly complicated process. I first had to download MPLAB X (Why isn't this possible in AS7), then (according to a writeup @jeruud did here a while ago), create a PIC project, Install XC8, and then press a circulating arrow symbol in GUI. What happened to atfw.exe?

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

MCUdude wrote:
Damn what a stupidly complicated process

Totally agree :/

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

Release Notes for MPLAB® Snap
In-Circuit Debugger & Device (Non-Production) Programmer

MPLAB® X IDE v5.45

__firmware__

 

October 15, 2020

 

...

 

9       Virtual COM Port for AVR Devices

The Virtual COM Port is a general-purpose USB serial bridge between a host PC and a target AVR device.

The AVR-mode CDC implementation on the MPLAB PICkit4/SNAP Virtual COM port supports:

·Baud rates in the range 1200 bps to 500kbps

·Only 8-bit character format

·No hardware flow control

·One or two stop-bits

IMPORTANT NOTE: Connecting to the Virtual COM port from a terminal emulator will enable pins 7 and 8 on the MPLAB PICkit4/Snap header as TX and RX pins. This functionality is independent of the debugger functionality. You must ensure that you do not use CDC at the same time as a debug interface which also needs those pins, for example JTAG or SWD.

 

...

Pinouts for Interfaces | MPLAB Snap In-Circuit Debugger User's Guide

 

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

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

good day!

 

cat from avrdude.conf

snap_updi = MPLAB(R) SNAP in UPDI mode

question's...

 

UPDI - the debug mode (yes/no?)
SPI  - can't with snap? for command line programming

 

- linux x32/64, older & new... :o)
- avrdude 6.3-2021.01.17

 

if I'm wrong, correct this and do not criticize :o)

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

cat from avrdude.conf

snap_updi = MPLAB(R) SNAP in UPDI mode

UPDI - the debug mode (yes/no?)

 

Yes.  Well, UPDI is both upload AND debug, for the chips that support it.

 

SPI  - can't with snap? for command line programming

I would guess that "all" of the UPDI programmers are using the same JTAG2UPDI protocols as the JTAGICE3, so it's really easy to add such programmers to avrdude.conf, because you just alias some new USB ID to the JTAGICE3 protocols.
ISP may not be as easy :-(  (although there is a "type  = "jtagice3_isp";" used by the assorted XPlained Mini boards and such.  Maybe someone just hasn't done it.)

 

- linux x32/64, older & new... :o)
- avrdude 6.3-2021.01.17

None of the avrdude.conf files I can find mention SNAP at all, including Arduino (which has patches) and the CVS sources for avrdude itself.  Where did you get yours?

 

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

Maybe someone just hasn't done it.)

work is in full swing: o)

Where did you get yours?

facchinm/avrdude

 

+

 

i need to connect atmega328 ISP to SNAP through avrdude
apparently, it's impossible?

 

if I'm wrong, correct this and do not criticize :o)

Last Edited: Tue. Jan 19, 2021 - 04:27 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

sunjob wrote:

Maybe someone just hasn't done it.)

work is in full swing: o)

 

avrdude

 

i need to connect atmega328 ISP to SNAP through avrdude
apparently, it's impossible?

 

 

I've been using the SNAP and the PICkit4 as ISP programmers using this very fork of Avrdude. Works perfectly!

All you have to do is add the SNAP and PICkit4 to the avrdude.conf file, like I've done here: MiniCore avrdude.conf

Last Edited: Sun. Jan 17, 2021 - 10:48 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
programmer
   id    = "pickit4_isp";
   desc  = "MPLAB(R) PICkit 4 in ISP mode";
   type  = "jtagice3_isp";
   connection_type = usb;
   usbpid = 0x2177;
;

programmer
   id    = "snap_isp";
   desc  = "MPLAB(R) SNAP in ISP mode";
   type  = "jtagice3_isp";
   connection_type = usb;
   usbpid = 0x217F, 0x2180, 0x2181;
;

thank

if I'm wrong, correct this and do not criticize :o)

Last Edited: Sun. Jan 17, 2021 - 11:04 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

edit : oops ... already in post #118

westfw wrote:
None of the avrdude.conf files I can find mention SNAP at all, including Arduino (which has patches) ...
https://github.com/facchinm/avrdude/blob/mainline/avrdude.conf.in#L1258

in GitHub - facchinm/avrdude: mainline avrdude imported from svn://svn.savannah.nongnu.org/avrdude/trunk

 

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

Last Edited: Tue. Jan 19, 2021 - 12:24 AM

Pages