Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Pickit 2 (pk2cmd) command

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
User avatar
whynot
Posts: 47
Joined: 2021-10-01 06:17
Has thanked: 13 times

Pickit 2 (pk2cmd) command

#1 Post by whynot »

Hi Everyone

I wish you all Happy New Year!!

I have an issue with my PicKit 2 programmer.
I installed pk2cmd software but I need to use all command as a root.Is it possible to give permission to my user.
Best regards.

Code: Select all

$ pk2cmd -?V

Executable Version:    1.21.00
Device File Version:   1.62.14
OS Firmware Version:   PICkit 2 not found


Operation Succeeded
with sudo

Code: Select all

$ sudo pk2cmd -?V

Executable Version:    1.21.00
Device File Version:   1.62.14
OS Firmware Version:   2.32.00

Aki
Global Moderator
Global Moderator
Posts: 3083
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 76 times
Been thanked: 418 times

Re: Pickit 2 (pk2cmd) command

#2 Post by Aki »

Hello,
whynot wrote: 2024-01-02 12:56 I installed pk2cmd software but I need to use all command as a root.Is it possible to give permission to my user.
It may be useful to understand the extent to which root user privileges are required. They are probably needed to access the programmer's device name in the /dev directory or some file with limited permissions.

You have many alternative solutions; for example:
1) you can use the sudo command (you need to configure it) adding your user to the sudoers group
2) you can add your user to the group associated with the device under /dev
3) change permissions of the /dev device to allow access to non privileged users

Its "readme" file (https://github.com/psmay/pk2cmd/blob/ma ... nux2-6.txt) reports:
[..] The method to run pk2cmd as a normal user (not root) depends on your
particular Linux distribution. Please consult your Linux distribution
documentation or use the support option as detailed in Section 12 of this
documentation if you can not get it to work.
[..]
----------------------------------------------------------------------------
12. Customer Support
----------------------------------------------------------------------------

This unsupported software is provided for the convenience of Microchip
customers and solely for use with Microchip products. This software and all
accompanying documentation is provided "as is" and may be downloaded and
used at your own risk.

Microchip does not offer any support related to the use of this software or
information.

You may be able to obtain assistance from other users of the software on the
Microchip web forums at:
http://forum.microchip.com

Suggested forums for posting about this software are the following:

[Development Tools] "Linux, Open Source Projects and Other Topics"
http://forum.microchip.com/tt.aspx?forumid=182

[Development Tools] "Programmers (MPLAB PM3, PICSTART Plus, PICkit 2)"
http://forum.microchip.com/tt.aspx?forumid=15

Additional help may be obtained from the Pickit Developers mailing list:
pickit-devel@googlegroups.com
Hope this helps.

---
note:
A quick internet search (first hit) led me to a git repository about this software with the following quote:
Notice

THE CODE IN THIS REPOSITORY IS NOT FREE SOFTWARE; it is distributed under a highly restrictive, non-free license (see below). Do not copy, branch, or fork this repository unless you have agreed to this license.
[..]

Therefore, this software is not free software and it is not in Debian repository. The discussion is moved to "Off-Topic" sub-forum.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply