搜索
bottom↓
回复: 2

PIC编程器疑问

[复制链接]

出0入4汤圆

发表于 2010-5-12 15:28:28 | 显示全部楼层 |阅读模式
请问PIC有哪一款编程器可以通过指令来对IC编程,类试AVR的STK500、JTAGICE mkII,可以通过DOS的命令来编程。

出0入4汤圆

 楼主| 发表于 2010-5-12 16:11:35 | 显示全部楼层
找到这个

                           PM3 COMMAND LINE HELP
Options              Description                              Default
----------------------------------------------------------------------------
#                    Communication Ports 1 thru 5 supported.  1
                     Com ports 1-4 indicates RS232, Com Port
                     5 indicates USB.
A                    VddApp                                   Device Specific
B<Operation><path>   Environment Operation                    None
                     Operation L: = Load Environment,
                                  All paths = full file
                                  path. All paths located
                                  on the PM3Card must be
                                  preceeded by a 'P' All
                                  Paths on the computer
                                  must be preceeded by a
                                  'C'
                     Operation S: = Save Environment,
                                  All paths = full environment
                                  path. All paths located
                                  on the PM3Card must be
                                  preceeded by a 'P' All
                                  Paths on the computer
                                  must be preceeded by a
                                  'C'
                     Operation D: = Delete Environment,
                                  All paths = full file
                                  path. All paths located
                                  on the PM3Card must be
                                  preceeded by a 'P' All
                                  Paths on the computer
                                  must be preceeded by a
                                  'C'
                     Operation C: = Copy Environment,
                                  path = full file path to
                                  the environment file of
                                  the environemnt to be copied,
                                  followed by the path to
                                  the destination directory.
                                  The two paths must be
                                  separated by an asterisk
                                  (*), and each path must
                                  be preceded by either 'C'
                                  if the path is on the
                                  computer or 'P' if the
                                  path is on the PM3.
                      Operation V: = View Environment,
                                  path = full file path to
                                  the environment file of
                                  the environemnt to be viewed.
                                  All paths located
                                  on the PM3Card must be
                                  preceeded by a 'P' All
                                  Paths on the computer
                                  must be preceeded by a
                                  'C'
C                    Blank Check Device                       Do not Blank Check
D<file>              OSSuite File Selection                   None
E                    Erase Flash Device                       Do Not Erase
F<file>              Hex File Selection                       None
G<Type><range/path>  Read functions                           None
                     Type F: = read into hex file,
                             path = full file path,
                             range is not used
                     Types P,E,I,C: = ouput read of Program,
                             EEPROM, ID and/or Configuration
                             Memory to the screen. P and E
                             must be followed by an address
                             range in the form of x-y where
                             x is the start address and y is
                             the end address both in hex,
                             path is not used
K                    Display Hex File Checksum                Do Not Display
L                    Low voltage programming                  Not Selected
M<memory region>     Program Device                           Do Not Program
                     memory regions:
                         P = Program memory
                         E = EEPROM
                         I = ID memory
                         C = Configuration memory
                         If no region is entered, the entire
                         device will be programmed.
N                    Vdd Min                                  Device Specific
P<part>              Part Selection. Example: 16f877          None
Q                    Quiet Mode, no screen output             Quiet mode off
R<on> <off>          Safe/Restricted Mode                     None
S<file>              SQTP File Selection                      None
T                    Vdd Nominal.                             Device Specific
V                    Vpp                                      Device Specific
W                    Externally power target                  Power from PM3
X                    Vdd Max                                  Device Specific
Y<memory region>     Verify Device                            Do Not Verify
                         P = Program memory
                         E = EEPROM
                         I = ID memory
                         C = Configuration memory
                         If no region is entered, the entire
                         device will be verified.
?                    Help Screen                              Not Shown

     Each option must be immediately preceeded by a switch, Which can
     be either a dash <-> or a slash </> and options must be separated
     by a single space.

     Example:   PM3CMD /1 /P16F877 /Fc:\mycode /M
                               or
                PM3CMD -1 -P16F877 -Fc:\mycode -M

     Any option immediately followed by a question mark will envoke
     a more detailed description of how to use that option.

     Commands and their parameters are not case sensitive. Commands will
     be processed according to command order of precedence, not the order
     in which they appear on the command line. To see a list of the command
     order of precedence type -?? on the command line.

     The program will return an exit code upon completion which will
     indicate either successful completion, or describe the reason for
     failure. To view the list of exit codes and their descriptions,
     type -?E on the command line.

     Version 02.20.00

     Copyright (C) Microchip Technology Inc. 2005 

出0入0汤圆

发表于 2010-5-14 08:26:03 | 显示全部楼层
mark,我也需要用命令行的来编程,容易实现自动化工作。
回帖提示: 反政府言论将被立即封锁ID 在按“提交”前,请自问一下:我这样表达会给举报吗,会给自己惹麻烦吗? 另外:尽量不要使用Mark、顶等没有意义的回复。不得大量使用大字体和彩色字。【本论坛不允许直接上传手机拍摄图片,浪费大家下载带宽和论坛服务器空间,请压缩后(图片小于1兆)才上传。压缩方法可以在微信里面发给自己(不要勾选“原图),然后下载,就能得到压缩后的图片】。另外,手机版只能上传图片,要上传附件需要切换到电脑版(不需要使用电脑,手机上切换到电脑版就行,页面底部)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|Archiver|amobbs.com 阿莫电子技术论坛 ( 粤ICP备2022115958号, 版权所有:东莞阿莫电子贸易商行 创办于2004年 (公安交互式论坛备案:44190002001997 ) )

GMT+8, 2024-5-9 20:21

© Since 2004 www.amobbs.com, 原www.ourdev.cn, 原www.ouravr.com

快速回复 返回顶部 返回列表