dsPIC development under Linux

The packages below are compiled and tested under Fedora Core 4.

The pic30 binutils and gcc are basically the microchip sources, with patches added to make it compile under Linux and with an x86_64 fix. In order to create hex files from ELF (or COFF) binaries, Microchip provides a proprietary tool. To generate hex files, I've included the ihex emulation in pic30-elf-objcopy, and hacked it to generate correct addresses.

Programming the actual device may be done with Homer Reid's dspicprg utility. I did a couple of changes:

Due to license restrictions, the dsPIC header files and libraries cannot be distributed. You have to install the Microchip distribution under Windows, tar/bzip2 the Microchip installation directory, and then build the nosrc.rpm.

Fedora RPMs

File Size Description
dspicprg-0.2-1.src.rpm 21706 dsPIC programming utility, sources
dspicprg-0.2-1.i386.rpm 61797 dsPIC programming utility, i386 binaries
dspicprg-debuginfo-0.2-1.i386.rpm 41624 dsPIC programming utility, i386 debug symbols and sources
pic30-binutils-2.00-1.src.rpm 11837267 dsPIC binutils, sources
pic30-binutils-2.00-1.i386.rpm 2704947 dsPIC binutils, i386 binaries
pic30-binutils-debuginfo-2.00-1.i386.rpm 7581055 dsPIC binutils, i386 debug symbols and sources
pic30-gcc-2.00-1.src.rpm 27666923 dsPIC gcc, sources
pic30-gcc-2.00-1.i386.rpm 1542556 dsPIC gcc, i386 binaries
pic30-gcc-debuginfo-2.00-1.i386.rpm 5541228 dsPIC gcc, i386 debug symbols and sources
pic30-libs-1.32-1.nosrc.rpm 2445 dsPIC libraries, package template

Thomas Sailer