FC 10 PIC 32 is now OK. FC 11 is not working yet.
Target folder: C:\Users\Uwe\Documents\FLOWCODE_USB
Source name: C:\Users\Uwe\Documents\FLOWCODE_USB\PIC32_USB_Serial.fcfx
Title: New Embedded Project
Description:
Device: PIC32.32MZ.32MZ1024EFM144
Generated by: Flowcode v11.0.0.8
Date: Wednesday, November 19, 2025 14:11:29
Users: 1
Registriert für: SpeedPIC32 (24146314)
Lizenzschlüssel:MP62C5
https://www.flowcode.co.uk
Using <cdcusb> user settings for compiler
Start des Compilers...
C:\Program Files (x86)\Flowcode\Compilers\pic32\batch\PIC32compCDC.bat „32MZ1024EFM144“ „C:\Users\Uwe\Documents\FLOWCODE_USB\“ „PIC32_USB_Serial“ „32MZ“
Project "PIC32_USB_Serial"
Device "32MZ1024EFM144"
Objects "PIC32_USB_Serial"_"32MZ1024EFM144"
C:\Users\Uwe\Documents\FLOWCODE_USB>xc32-gcc -mprocessor="32MZ1024EFM144" -I"C:\Users\Uwe\Documents\FLOWCODE_USB\". -IC:\ProgramData\MatrixTSL\FlowcodeV10\CAL\PIC32BIT\USB\CDC -IC:\microchip\harmony\v1_11 -IC:\microchip\harmony\v1_11\framework -w -c -ffunction-sections -O1 -o ""PIC32_USB_Serial"_"32MZ1024EFM144"\"PIC32_USB_Serial".o" ""PIC32_USB_Serial".c"
xc32-gcc.exe: error: �PIC32_USB_Serial�.c: No such file or directory
xc32-gcc.exe: fatal error: no input files
compilation terminated.
Error(s) in build
C:\Program Files (x86)\Flowcode\Compilers\pic32\batch\PIC32compCDC.bat Hat den Fehlercode 0x1 gemeldet
Autoclose turned off
BEENDET
USB CDC Error
-
SpeedPIC32
- Posts: 310
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 2:35 pm
- Location: Germany
- Has thanked: 49 times
- Been thanked: 19 times
-
SpeedPIC32
- Posts: 310
- Joined: Thu Dec 10, 2020 2:35 pm
- Location: Germany
- Has thanked: 49 times
- Been thanked: 19 times
-
Steve-Matrix
- Matrix Staff
- Posts: 1644
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 229 times
- Been thanked: 390 times
Re: USB CDC Error
To get v11 working with the PIC32, you probably need to replicate the "Build...Compiler Options" settings from v10.
I'm not sure how to get PIC18 devices working with CDC.
I'm not sure how to get PIC18 devices working with CDC.
-
BenR
- Matrix Staff
- Posts: 2003
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 525 times
- Been thanked: 715 times
Re: USB CDC Error
Hello,
This is news to me, what specifically isn't working? Do you have examples or Forum topics where you are detailing the problems?FC 10 PIC 18 and FC 11 PIC 18 are also not working yet.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
SpeedPIC32
- Posts: 310
- Joined: Thu Dec 10, 2020 2:35 pm
- Location: Germany
- Has thanked: 49 times
- Been thanked: 19 times
Re: USB CDC Error
Hello Benr,
I meant that the USB CDC for PIC 16 18 does not work with FC10 and 11.
For your information: https://github.com/johnnydrazzi/USB-Stack
I meant that the USB CDC for PIC 16 18 does not work with FC10 and 11.
For your information: https://github.com/johnnydrazzi/USB-Stack
-
BenR
- Matrix Staff
- Posts: 2003
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 525 times
- Been thanked: 715 times
Re: USB CDC Error
Hello,
USB Serial works a treat on 8-bit PIC devices using v10 and v11. I've just tested it using our old ECIO hardware and it's working great.
The only thing you have to ensure is the clock speed which specifically needs to be at 48MHz.
USB Serial works a treat on 8-bit PIC devices using v10 and v11. I've just tested it using our old ECIO hardware and it's working great.
The only thing you have to ensure is the clock speed which specifically needs to be at 48MHz.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
SpeedPIC32
- Posts: 310
- Joined: Thu Dec 10, 2020 2:35 pm
- Location: Germany
- Has thanked: 49 times
- Been thanked: 19 times
Re: USB CDC Error
FC11
Target folder: C:\Users\Uwe\Documents\FLOWCODE_USB
Source name: C:\Users\Uwe\Documents\FLOWCODE_USB\PIC8_USB_Serial.fcfx
Title: New Embedded Project
Description:
Device: PIC.18F.ECIO-40
Generated by: Flowcode v11.0.0.8
Date: Wednesday, November 19, 2025 19:04:40
Users: 1
Registriert für: SpeedPIC32 (24146314)
Lizenzschlüssel:MP62C5
https://www.flowcode.co.uk
Using <CDC> user settings for compiler
Start des Compilers...
C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Compilers\picv2\" "ECIO-40" "C:\Users\Uwe\Documents\FLOWCODE_USB\" "PIC8_USB_Serial"
C:\Users\Uwe\Documents\FLOWCODE_USB>REM CRC: 90CF26913586BBA787FE92D553771933222DCF72B25FEB4608E17FBD060500D8A6D7AF8357042D9E8B5C2E833010A32BE2214988CBC1BB00301ECF6745983589A9CE866D3EBD48DE4910375451077F45562AF2F62E9AB6760C3CAEE8E7DA6987B08235BD4F165DE350CACCEB0B5A8E521002EAF3D15174CD20633AD186EC562DBEEF6112EA5AA5CF5041CCE14E8D252BC416ECB8EC7761E4FD518969900F56C6C8F36CE7BEFFD91E73F563CBE7F64B8A69F01B3F3C0F45102C3050DA273BE4EE464087EABAE4073CCE8590A2034B265B899B535CCC0630944A53779878588293DF04F96FE36F6B2B
C:\Users\Uwe\Documents\FLOWCODE_USB>REM REVISION: 5.0
C:\Users\Uwe\Documents\FLOWCODE_USB>REM GUID: 50CB4B58-ED9C-4591-8D65-A87DE810E8CC
C:\Users\Uwe\Documents\FLOWCODE_USB>REM DATE: 12\06\2025
C:\Users\Uwe\Documents\FLOWCODE_USB>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat
C:\Users\Uwe\Documents\FLOWCODE_USB>"C:\Program Files (x86)\Flowcode\Compilers\picv2\bin\xc8.exe" --chip=ECIO-40 "PIC8_USB_Serial.c" --double=32 --float=32 --msgdisable=359,1273,1388
C:\Program Files (x86)\Flowcode\Compilers\picv2\pic\bin\picc --chip=ECIO-40 PIC8_USB_Serial.c --double=32 --float=32 --msgdisable=359,1273,1388
(141) can't open chip info file "(null)": Invalid argument
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch\pic_xc8_comp.bat Hat den Fehlercode 0x1 gemeldet
Autoclose turned off
BEENDET
FC 10
Target folder: C:\Users\Uwe\Documents\FLOWCODE_USB
Source name: C:\Users\Uwe\Documents\FLOWCODE_USB\PIC8_USB_Serial.fcfx
Title: New Embedded Project
Description:
Device: PIC.18F.ECIO-40
Generated by: Flowcode v10.1.2.40
Date: Wednesday, November 19, 2025 19:18:32
Users: 1
Registriert für: SpeedPIC32 (24146314)
Lizenzschlüssel:ZQ34CT
https://www.flowcode.co.uk
Using <> user settings for compiler
Start des Compilers...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat "ECIO-40" "C:\Users\Uwe\Documents\FLOWCODE_USB\" "PIC8_USB_Serial" "18F"
C:\Users\Uwe\Documents\FLOWCODE_USB>REM CRC: 90CF26913586BBA787FE92D553771933222DCF72B25FEB4608E17FBD060500D8A6D7AF8357042D9E8B5C2E833010A32BE2214988CBC1BB00301ECF6745983589A9CE866D3EBD48DE4910375451077F45562AF2F62E9AB6760C3CAEE8E7DA6987B08235BD4F165DE350CACCEB0B5A8E521002EAF3D15174CD20633AD186EC562DBEEF6112EA5AA5CF5041CCE14E8D252BC416ECB8EC7761E4FD518969900F56C6C8F36CE7BEFFD91E73F563CBE7F64B8A69F01B3F3C0F45102C3050DA273BE4EE464087EABAE4073CCE8590A2034B265B899B535CCC0630944A53779878588293DF04F96FE36F6B2B
C:\Users\Uwe\Documents\FLOWCODE_USB>REM REVISION: 5.0
C:\Users\Uwe\Documents\FLOWCODE_USB>REM GUID: 50CB4B58-ED9C-4591-8D65-A87DE810E8CC
C:\Users\Uwe\Documents\FLOWCODE_USB>REM DATE: 12\06\2025
C:\Users\Uwe\Documents\FLOWCODE_USB>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat
Das System kann den angegebenen Pfad nicht finden.
C:\Users\Uwe\Documents\FLOWCODE_USB>"ECIO-40bin\xc8.exe" --chip=C:\Users\Uwe\Documents\FLOWCODE_USB\ "18F.c" --double=32 --float=32 --msgdisable=359,1273,1388
Das System kann den angegebenen Pfad nicht finden.
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat Hat den Fehlercode 0x1 gemeldet
Autoclose turned off
BEENDET
Target folder: C:\Users\Uwe\Documents\FLOWCODE_USB
Source name: C:\Users\Uwe\Documents\FLOWCODE_USB\PIC8_USB_Serial.fcfx
Title: New Embedded Project
Description:
Device: PIC.18F.ECIO-40
Generated by: Flowcode v11.0.0.8
Date: Wednesday, November 19, 2025 19:04:40
Users: 1
Registriert für: SpeedPIC32 (24146314)
Lizenzschlüssel:MP62C5
https://www.flowcode.co.uk
Using <CDC> user settings for compiler
Start des Compilers...
C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch\pic_xc8_comp.bat "C:\Program Files (x86)\Flowcode\Compilers\picv2\" "ECIO-40" "C:\Users\Uwe\Documents\FLOWCODE_USB\" "PIC8_USB_Serial"
C:\Users\Uwe\Documents\FLOWCODE_USB>REM CRC: 90CF26913586BBA787FE92D553771933222DCF72B25FEB4608E17FBD060500D8A6D7AF8357042D9E8B5C2E833010A32BE2214988CBC1BB00301ECF6745983589A9CE866D3EBD48DE4910375451077F45562AF2F62E9AB6760C3CAEE8E7DA6987B08235BD4F165DE350CACCEB0B5A8E521002EAF3D15174CD20633AD186EC562DBEEF6112EA5AA5CF5041CCE14E8D252BC416ECB8EC7761E4FD518969900F56C6C8F36CE7BEFFD91E73F563CBE7F64B8A69F01B3F3C0F45102C3050DA273BE4EE464087EABAE4073CCE8590A2034B265B899B535CCC0630944A53779878588293DF04F96FE36F6B2B
C:\Users\Uwe\Documents\FLOWCODE_USB>REM REVISION: 5.0
C:\Users\Uwe\Documents\FLOWCODE_USB>REM GUID: 50CB4B58-ED9C-4591-8D65-A87DE810E8CC
C:\Users\Uwe\Documents\FLOWCODE_USB>REM DATE: 12\06\2025
C:\Users\Uwe\Documents\FLOWCODE_USB>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat
C:\Users\Uwe\Documents\FLOWCODE_USB>"C:\Program Files (x86)\Flowcode\Compilers\picv2\bin\xc8.exe" --chip=ECIO-40 "PIC8_USB_Serial.c" --double=32 --float=32 --msgdisable=359,1273,1388
C:\Program Files (x86)\Flowcode\Compilers\picv2\pic\bin\picc --chip=ECIO-40 PIC8_USB_Serial.c --double=32 --float=32 --msgdisable=359,1273,1388
(141) can't open chip info file "(null)": Invalid argument
(908) exit status = 1
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV11\FCD\PIC\batch\pic_xc8_comp.bat Hat den Fehlercode 0x1 gemeldet
Autoclose turned off
BEENDET
FC 10
Target folder: C:\Users\Uwe\Documents\FLOWCODE_USB
Source name: C:\Users\Uwe\Documents\FLOWCODE_USB\PIC8_USB_Serial.fcfx
Title: New Embedded Project
Description:
Device: PIC.18F.ECIO-40
Generated by: Flowcode v10.1.2.40
Date: Wednesday, November 19, 2025 19:18:32
Users: 1
Registriert für: SpeedPIC32 (24146314)
Lizenzschlüssel:ZQ34CT
https://www.flowcode.co.uk
Using <> user settings for compiler
Start des Compilers...
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat "ECIO-40" "C:\Users\Uwe\Documents\FLOWCODE_USB\" "PIC8_USB_Serial" "18F"
C:\Users\Uwe\Documents\FLOWCODE_USB>REM CRC: 90CF26913586BBA787FE92D553771933222DCF72B25FEB4608E17FBD060500D8A6D7AF8357042D9E8B5C2E833010A32BE2214988CBC1BB00301ECF6745983589A9CE866D3EBD48DE4910375451077F45562AF2F62E9AB6760C3CAEE8E7DA6987B08235BD4F165DE350CACCEB0B5A8E521002EAF3D15174CD20633AD186EC562DBEEF6112EA5AA5CF5041CCE14E8D252BC416ECB8EC7761E4FD518969900F56C6C8F36CE7BEFFD91E73F563CBE7F64B8A69F01B3F3C0F45102C3050DA273BE4EE464087EABAE4073CCE8590A2034B265B899B535CCC0630944A53779878588293DF04F96FE36F6B2B
C:\Users\Uwe\Documents\FLOWCODE_USB>REM REVISION: 5.0
C:\Users\Uwe\Documents\FLOWCODE_USB>REM GUID: 50CB4B58-ED9C-4591-8D65-A87DE810E8CC
C:\Users\Uwe\Documents\FLOWCODE_USB>REM DATE: 12\06\2025
C:\Users\Uwe\Documents\FLOWCODE_USB>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat
Das System kann den angegebenen Pfad nicht finden.
C:\Users\Uwe\Documents\FLOWCODE_USB>"ECIO-40bin\xc8.exe" --chip=C:\Users\Uwe\Documents\FLOWCODE_USB\ "18F.c" --double=32 --float=32 --msgdisable=359,1273,1388
Das System kann den angegebenen Pfad nicht finden.
Error returned from [xc8.exe]
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat Hat den Fehlercode 0x1 gemeldet
Autoclose turned off
BEENDET
-
Steve-Matrix
- Matrix Staff
- Posts: 1644
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 229 times
- Been thanked: 390 times
Re: USB CDC Error
I just tried v11 with the default "Compiler Options" settings and up-to-date library files and it compiles without error for me. It looks like your FCD file for the ECIO40 has been modified or your Compiler Settings are wrong because that device should override the compiler settings.
If it helps, my v11 project and compiler messages are attached.
If it helps, my v11 project and compiler messages are attached.
- Attachments
-
- usb_serial_ecio40.msg.txt
- (2.84 KiB) Downloaded 3 times
-
- usb_serial_ecio40.fcfx
- (8.38 KiB) Downloaded 3 times
-
SpeedPIC32
- Posts: 310
- Joined: Thu Dec 10, 2020 2:35 pm
- Location: Germany
- Has thanked: 49 times
- Been thanked: 19 times
Re: USB CDC Error
Hello
I have got all versions in FC10 and FC11, with 8-bit and 32-bit PICs, USB CDC up and running.
Many thanks to everyone involved.
I had incorrect characters in the compiler settings, apparently 2 times ' ' instead of " it just looks the same. I had used copy and paste with a text programme and ended up with a space somewhere in the folder path and the wrong characters.
Thanks again
SpeedPIC32
I have got all versions in FC10 and FC11, with 8-bit and 32-bit PICs, USB CDC up and running.
Many thanks to everyone involved.
I had incorrect characters in the compiler settings, apparently 2 times ' ' instead of " it just looks the same. I had used copy and paste with a text programme and ended up with a space somewhere in the folder path and the wrong characters.
Thanks again
SpeedPIC32
-
Steve-Matrix
- Matrix Staff
- Posts: 1644
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 229 times
- Been thanked: 390 times