Scott Zielinski | 9 Feb 16:47

Re: [PIC] PICKIT 3 command line programming

On 2/9/2010 8:22 AM, Scott wrote:
> On Tue, Feb 9, 2010 at 9:04 AM, Mark E. Skeels
> <mskeels <at> competitionelectronics.com>  wrote:
>    
>> Has anyone had a successful experience with the PICKIT 3 command line
>> utility pk3cmd.exe?
>>
>> ???
>>
>>      
> Yes. I've created a .bat script to program an 18F2510 at 5V.
>
> It's one line:
>
> PK3CMD -P18F2510 -FserialC.hex -V5.000 -M -Y
>
> I forget what the M and Y switches are (perhaps I should comment the script).
>
> You need the drivers for the PK3 installed on the machine.
>
> -Scott
>    
Options              Description                              Default
----------------------------------------------------------------------------
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 erased & programmed.
                          If a region is entered, no erase
                          is performed and only the given
                          region is programmed.
                          All programmed regions are verified.
              (serial EEPROM memory is 'P')
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.
                          (Serial EEPROM memory is 'P')

Scott

--

-- 
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist


Gmane