RishabhHardas
RishabhHardas

Reputation: 525

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.

Upvotes: 0

Views: 1964

Answers (2)

RishabhHardas
RishabhHardas

Reputation: 525

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

Upvotes: 0

Benny Mac
Benny Mac

Reputation: 46

ipecmd.sh is part of the MPLab-X IPE, typically found at /opt/microchip/mplabx/v*/mplab_ipe/ (where * is the version number). It's really just a wrapper around ipecmd.jar, though. The latest version is found here.

Upvotes: 2

Related Questions