-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PICKit 5 support #1367
Comments
I wasn't aware that the PICkit5 has already been released! @xedbg how similar is this to the PICkit4? Is there still a "PIC" and an "AVR" mode? If it "speaks" the same EDBG protocol as the SNAP/PK4, it shouldn't be too tricky to add Avrdude support, which would be really cool to have in the following, 7.2 release! |
@MCUdude - The PICkit5 to my knowledge supports only the native "PIC" mode, and has implemented AVR (and ARM) support in that mode using a system of byte-code scripts which are drawn from XML within the tool-pack. This means that it is only supported in MPLAB (and not Studio, or any other CMSIS-DAP-enabled third-party IDE) and even if the protocol were to be published, would unfortunately require a non-trivial amount of work to get it into avrdude. |
Thanks for the info @xedbg! Do you know if the PICkit4 will be discontinued soon?
From our perspective, that's a real bummer. And the fact that it's not supported by Studio tells me that for an AVR developer, the PICkit4 is for now a better choice. And yes, implementing this (new or EDBG derived?) protocol requires a substantial amount of work even if the protocol were to be published. However, if/when the protocol is released, I hope there will be Avrdude support for it in the future. With all the new features added to Avrdude terminal mode recently, it has not turned into a very potent CLI tool that can be used for way more than just flashing binaries.
Excellent, I hope this feature doesn't get removed then. |
I don't disagree with your view @MCUdude. I can't comment on the PICkit4 supply situation - there have been many EOLed products in recent times due to component sourcing issues though... |
Microchip.com shows zero stock for PICKit 4, but I just checked Mouser Singapore and they show 3624 in stock. PICKit 5 has not reached here in Singapore yet. |
Merged into #1367 |
FYI |
The PICkit4 is going EOL? That's bad news for us... Let's hope we'll see PICkit5 support Avrdude in the future. I'll argue that Avrdude is the best CLI programmer for AVR devices, and it would be a shame if the next generation of programmers wouldn't be supported. |
Is there a path for AVRDUDE to support PICKit4/5? @xedbg mentioned a closed protocol that is likely to be non-trivial. Both of which I consider a serious drawback of the programmer. |
@stefanrueger PICkit4 is already supported by Avrdude, but it is the ICE4, ICD5, and PICkit5 that are not supported (not even by Microchip Studio) due to the different protocol. I don't think there is any public documentation regarding the new protocol, so there's not much we "dudes" can do yet. Bottom line: I think everyone would benefit from extended support for the new Microchip programmers; especially Microchip themselves! |
It is said future version of Microchip Studio will support PICkit 5. |
That's good to know! Then maybe, maybe there's a chance someone from the Microchip/Atmel division can help out in the future. |
Microchip has released PICKit 5 as an upgrade to PICKit 4. At US$94.99 it seems to be a decent tool to work with Microchip MCUs incuding AVRs.
https://www.microchip.com/en-us/development-tool/PG164150
The text was updated successfully, but these errors were encountered: