16 Bit Compiler
Posted: Fri Jun 14, 2024 10:22 am
Hi Ben and Team,
I am not sure if I am doing something daft or if this is a bug, but I can't get the 16 Bit PIC compiler to work. This is the first time I have tried a 16 Bit PIC so I thought I would simply get a 1 second pulse working to give me a starting point. When I try and compile I get:
------------------------------------------
https://www.flowcode.co.uk
Using <PICkit2 PK2CMD External Power> inbuilt settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC16\batchfiles\pic16_C30_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\" "Myriad Mic Live V1_0" "C:\Test\" "24FJ128GB202"
C:\Test>REM CRC: 54CD51B8F484283E91B3AD9DE6F4F50C418D34178E0D3D0BD2659E1DA9D69F58D3529BB9468CFC85641793EB31F94A5F16CBA8333F125C7188ED8742865A1BBCF23BFF3064C25A11BAFA61B701B8D046E2B847C06A341BA1A924146F47BB51131AFA1B63045FF8EFD8DA408700E5719BD2897C22C80F0B985EDF8CE67A1404D62B8878703E3665631EAF018A0B6018ACC8FF364DB19D83FB389861B26F27604A1F36255EB2E4245255911F067119BEF7D5F89C133B93261A29D848A5DAD12E38FF9E5CFBC45304482C3050DA273BE4EEDBE038345E976FF7F0C03E6C1723E33C3CC5736D0D2DAB0D0DA6C43ED30373AA133F965729382C18
C:\Test>REM REVISION: 2.0
C:\Test>REM GUID: 7821ABE5-9E21-4744-81B7-3FF600B75DB7
C:\Test>REM DATE: 25\03\2024
C:\Test>REM DIR: FCD\PIC16\batchfiles\pic16_C30_comp.bat
C:\Test>xc16-gcc -c -mcpu="24FJ128GB202" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\support\h" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\batchfiles\" -std=gnu99 "Myriad Mic Live V1_0".c -o "Myriad Mic Live V1_0".o
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
coff-cc1.exe: fatal error: Myriad Mic Live V1_0.c: Permission denied
compilation terminated.
Error returned from [xc16-gcc.exe]
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC16\batchfiles\pic16_C30_comp.bat reported error code 0x1
Autoclose turned off
FINISHED
-------------------------------------------------
I have attached the program as well. I have tried a restart, I am reading this as a complier licence problem, but I think I have seen this with the 8 bit PICs and it's then complied fine, so I am questioning that being the case. Any ideas please?
Ultimately I want to use the USB-Midi component!!
Many Thanks.
Simon
I am not sure if I am doing something daft or if this is a bug, but I can't get the 16 Bit PIC compiler to work. This is the first time I have tried a 16 Bit PIC so I thought I would simply get a 1 second pulse working to give me a starting point. When I try and compile I get:
------------------------------------------
https://www.flowcode.co.uk
Using <PICkit2 PK2CMD External Power> inbuilt settings for compiler
Launching the compiler...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC16\batchfiles\pic16_C30_comp.bat "C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\" "Myriad Mic Live V1_0" "C:\Test\" "24FJ128GB202"
C:\Test>REM CRC: 54CD51B8F484283E91B3AD9DE6F4F50C418D34178E0D3D0BD2659E1DA9D69F58D3529BB9468CFC85641793EB31F94A5F16CBA8333F125C7188ED8742865A1BBCF23BFF3064C25A11BAFA61B701B8D046E2B847C06A341BA1A924146F47BB51131AFA1B63045FF8EFD8DA408700E5719BD2897C22C80F0B985EDF8CE67A1404D62B8878703E3665631EAF018A0B6018ACC8FF364DB19D83FB389861B26F27604A1F36255EB2E4245255911F067119BEF7D5F89C133B93261A29D848A5DAD12E38FF9E5CFBC45304482C3050DA273BE4EEDBE038345E976FF7F0C03E6C1723E33C3CC5736D0D2DAB0D0DA6C43ED30373AA133F965729382C18
C:\Test>REM REVISION: 2.0
C:\Test>REM GUID: 7821ABE5-9E21-4744-81B7-3FF600B75DB7
C:\Test>REM DATE: 25\03\2024
C:\Test>REM DIR: FCD\PIC16\batchfiles\pic16_C30_comp.bat
C:\Test>xc16-gcc -c -mcpu="24FJ128GB202" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\support\h" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\" -I"C:\Program Files (x86)\Flowcode\Common\Compilers\pic16\batchfiles\" -std=gnu99 "Myriad Mic Live V1_0".c -o "Myriad Mic Live V1_0".o
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
coff-cc1.exe: fatal error: Myriad Mic Live V1_0.c: Permission denied
compilation terminated.
Error returned from [xc16-gcc.exe]
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC16\batchfiles\pic16_C30_comp.bat reported error code 0x1
Autoclose turned off
FINISHED
-------------------------------------------------
I have attached the program as well. I have tried a restart, I am reading this as a complier licence problem, but I think I have seen this with the 8 bit PICs and it's then complied fine, so I am questioning that being the case. Any ideas please?
Ultimately I want to use the USB-Midi component!!
Many Thanks.
Simon