Hot!Invoking Programming via C#

New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2018/08/21 07:01:02
  • Location: 0
  • Status: offline
2018/08/21 13:57:25 (permalink)

Invoking Programming via C#

I am attempting to program a large quantity of PIC micro controllers by attaching a PICkit3 to a 3 axis table, and creating connection with the PIC with pogo-pins. But, since I can automate the movement of the 3 axis table to move to the next PIC at a certain point by using C#, I would also like to use the same C# program to invoke the programmer and program the device once its coordinates are reached. Has anyone tried to do anything like this so that a user does not have to click "program" for every device, they can just set the program to run and then come back when it is done?

4 Replies Related Threads

    Super Member
    • Total Posts : 3281
    • Reward points : 0
    • Joined: 2011/07/09 11:56:58
    • Location: PT/EU @ Third rock from the Sun
    • Status: offline
    Re: Invoking Programming via C# 2018/08/21 14:10:59 (permalink)
    5 (1)
    Maybe you can add a linear actuator to push the button on a Pickit3 configured in "programmer to go" mode.

    Best regards
    I'm here too!
    And it works better....
    Just a Member
    • Total Posts : 1073
    • Reward points : 0
    • Joined: 2005/03/16 14:32:56
    • Location: Melbourne, FL
    • Status: offline
    Re: Invoking Programming via C# 2018/08/21 14:20:11 (permalink)
    5 (3)
    or attach wires to the button pads for a software controlled switch.
    I have to say, this seems like an excessively complex and potentially error prone method of using in a "production line" a programmer that the manufacturer refuses to call a "production" programmer. Seems a lot cheaper and more reliable just to assemble the boards with chips preprogrammed from Microchip. And if you are concerned that the code might change, buy them preprogrammed with just a bootloader and use a serial download. Can certainly implement that in C#. I did.

    Go Navy! Beat Army!
    Super Member
    • Total Posts : 5019
    • Reward points : 0
    • Joined: 2014/02/23 14:23:23
    • Location: Northern Canada
    • Status: offline
    Re: Invoking Programming via C# 2018/08/21 20:11:47 (permalink)
    4 (1)
    You can invoke pk3cmd command line utility, which is installed along with IPE.
    post edited by NorthGuy - 2018/08/21 20:13:11
    Starting Member
    • Total Posts : 37
    • Reward points : 0
    • Joined: 2013/10/14 21:38:52
    • Location: 0
    • Status: offline
    Re: Invoking Programming via C# 2018/09/02 22:25:03 (permalink)
    I just you to use IPECMD executable and invoke the process from your C# application,
    More help available in MPLABX installed directory,  "X:\Program Files (x86)\Microchip\MPLABX\v5.05\docs\Readme for IPECMD.htm"
    ipecmd -p18f458 -tppk3 -fd:/yourHexFile.hex -m 
    post edited by tech24x7 - 2018/09/02 22:26:16
    Jump to:
    © 2018 APG vNext Commercial Version 4.5