Not a Question but a hint.
I'm using now Geany with sligth modification, like Syntax Highlighting set to Freebasic.
The most interesting thing was to discover a Solution how to Flash without using the MPE GUI.
The Commandline for Flashing is:
java -jar /opt/microchip/mplabx/v3.65/mplab_ipe/ipecmd.jar -TSBUR160601693 -P18F25K22 -M -F"%d/%e.hex"
The Bold Values have to be set individually.
Interresting is that I was not able to use the canonical Names, only Serial Number worked.
Hope it helps other Linux users.
Last edit: bed 2017-08-20
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
An little experimantal Improvement.
For flash I do now use this one
IPECMD="/opt/microchip/mplabx/v3.65/mplab_ipe/ipecmd.jar"
# simple test for Typo
if [ -e "$IPECMD" ]
then
# finding the filename
BASENAME="$(basename $1)"
GCBNAME="$(echo $BASENAME|cut -f1 -d.)"
#echo "Basic Source=$GCBNAME.gcb"
BASICFILE="$(dirname $1)/$GCBNAME.gcb"
CHIPLINE="$(grep -i '#chip ' $BASICFILE)"
TARGET="$(echo $CHIPLINE|sed 's/#chip//I' |sed 's/ \+//g'|cut -d, -f1)"
echo "Flashing Target:$TARGET"
echo "using java -jar $IPECMD -TPPK3 -P$TARGET -M -F\"$1\""
java -jar $IPECMD -TPPK3 -P$TARGET -M -F"$1"
else
echo "$IPECMD was not found"
fi
save it somewhere as picflash.sh and insert it as the Commandline for Flashing
When I did use this a little longe I update the FAQ for this or make a dedicated Page for setting up.
Last edit: bed 2017-12-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not a Question but a hint.
I'm using now Geany with sligth modification, like Syntax Highlighting set to Freebasic.
The most interesting thing was to discover a Solution how to Flash without using the MPE GUI.
The Commandline for Flashing is:
java -jar /opt/microchip/mplabx/v3.65/mplab_ipe/ipecmd.jar -TSBUR160601693 -P18F25K22 -M -F"%d/%e.hex"
The Bold Values have to be set individually.
Interresting is that I was not able to use the canonical Names, only Serial Number worked.
Hope it helps other Linux users.
Last edit: bed 2017-08-20
Screenshot
Meanwhile I managed the -T issue, typically PEBCAK problem.
-TPPK3 works also. do not use Space between -T and PPK3
You need to put this in the FAQ! :-)
Definitly ... Done ;-)
An little experimantal Improvement.
For flash I do now use this one
save it somewhere as picflash.sh and insert it as the Commandline for Flashing
When I did use this a little longe I update the FAQ for this or make a dedicated Page for setting up.
Last edit: bed 2017-12-03
For a more in deep setup of Geany see here:
http://gcbasic.sourceforge.net/Typesetter/index.php/Geany-as-IDE-for-Linux