Example: IPECMD="/opt/microchip/mplabx/v4.15/mplab_ipe/ipecmd.sh" So if you call ipecmd.sh instead of ipecmd.jar all is fine. This was caused by calling ipe.jar directly instead of using the already provided ipecmd.sh. WARNING: All illegal access operations will be denied in a future release WARNING: Use -illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: Please consider reporting this to the maintainers of WARNING: Illegal reflective access by (file:/opt/microchip/mplabx/v4.15/mplab_ipe/lib/boot.jar) to field WARNING: An illegal reflective access operation has occurred While Flashing it comes to serious Warnings aka: I am now on Debian Testing (Buster) New Installation of leads me in a little bit of trouble. Java -jar $IPECMD -TPPK3 -P$TARGET -M -F"$1"Ĭopy test-flash.sh (or under a better-fitting name) to any location, make it executable and enter the path into Geany as shown above.Īnyone who has installed the IPECMD in a different version and / or somewhere else must of course adapt the first line. TARGET = "$(echo $ CHIPLINE | sed 's /#chip//I' | sed 's / \ // g' | cut -d, -f1)"Įcho "using java -jar $IPECMD -TPPK3 -P$TARGET -M -F \" $1 \ "" GCBNAME = "$(echo $BASENAME | cut -f1 -d.)"īASICFILE = "$(dirname $1) / $GCBNAME.gcb"ĬHIPLINE = "$(grep -i '#chip' $BASICFILE)" IPECMD = "/opt/microchip/mplabx/V4.05/mplab_ipe/ipecmd.jar" # this will print out one or more lines, choose the one you want use # to set the correct Path to ipecmd.jar execute the following line: If you do use another Version read the first few next lines and execute the find command It assumes using PicKit3 and mplap_ipe V4.05, but surely will work with later Versions, too. One could even improve the Source to format the GCBASIC special Vocabularies, but I let it up for others. Since the FreeBasic compiler needs to be installed anyway to compile the native Great Cow BASIC compiler, it's already there, so it's not really a thing. It is a program written in Freebasic that does the reformat. Geany offers a universal interface for sending a selection to an external program. Of course, I will investigate reported errors as soon as possible.Ī third, not so critical point is reformatting the source code. It is still in an experimental stage, but seems to work reasonably well. The program test-flash.sh mentioned in the screenshot I knitted to find the #chip line and to give the Java program the PIC type. The third line I had as a first approach, here I always had to adjust the PIC type, which can be annoying if you want to work with two or more different models. gcb file is loaded and the tab is also active, because Geany has different tools for each file type. To be able to directly compile and flash with F8 and F9, the following entries are necessary. So when loading a Great Cow BASIC program syntax Highlighting is activated, as shown here complement the Freebasic entry. For your information, the syntax of Freebasic is practically identical to that of Great Cow BASIC, only the special commands like #chip are not highlighted, but I can get over that. Presumably one of the reasons is that the GCB SYN IDE is calling several tools through the interface, even native Windows has lost performance. It is not a big deal now, but for documentary purposes I would like to write down what settings are necessary to allow comfortable working.įirst of all, you can of course use the supplied GCB Syn IDE with the help of wine.įor me, however, this resulted in a considerable (factor 10-11) longer compile and flash time. Since I'm not the wine fan anyway, I've created a way for me with Geany, the Universal IDE.
0 Comments
Leave a Reply. |