Search code examples
shellmicrocontrollermicrochipmplabdspic

How to upload a hex file to dsPIC33 from linux command line?


I want to write a script to upload the hex file from host computer to dsPIC33 and hence need a command line utility or API to do the same.

Till now I have been programming the chip with the MPLAB IPE with ICD4.

I tried to search for the same and found that people have done it with ipecmd utility, but could not find a package for it.


Solution

  • Answering my own question.

    The ipecmd.jar is the command line utility that can be used to flash the devices from command line.

    The documentation can be found in the MPLab installation directory. Something like

    mplabx/v5.05/docs/Readme%20for%20IPECMD.htm