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.