FC 8.2 + PIC32MZ + USB HID
Posted: Thu Oct 17, 2019 9:03 pm
Hi guys (Ben),
I'm tryiung to get USB HID working on PIC32MZ1023EFE100 without luck.
I've followed the instructions on a Word Document (PIC32 USB Instructions.doc) from 2017 that I found on the Forum referring to Harmony 1.11 (which I found and downloaded - although current Harmony version is 3.x) and Flowcode 7.x (which at the moment its' Flowcode 8.2 I'm using), but compiling doesn't work and well, was just wondering how to get USB HID component to actually work on PIC32MZ and FC8...? Would you have some documentation about this?
Problem is that the Word document talks about FC7 and the FC8 folders are totally different than FC7...
How can I get this to actually work in FC8??
Cheers,
R
I'm tryiung to get USB HID working on PIC32MZ1023EFE100 without luck.
I've followed the instructions on a Word Document (PIC32 USB Instructions.doc) from 2017 that I found on the Forum referring to Harmony 1.11 (which I found and downloaded - although current Harmony version is 3.x) and Flowcode 7.x (which at the moment its' Flowcode 8.2 I'm using), but compiling doesn't work and well, was just wondering how to get USB HID component to actually work on PIC32MZ and FC8...? Would you have some documentation about this?
Problem is that the Word document talks about FC7 and the FC8 folders are totally different than FC7...
Code: Select all
C:\Program Files (x86)\Flowcode\Compilers\pic32\batch\PIC32compHID.bat "32MZ1024EFE100" "D:\Projects\CASHAR~1\Products\ELECTR~1\U22BEL~2\FC8\CONTRO~1\" "CONTROL_PCB_V1_TEST" "32MZ"
Project CONTROL_PCB_V1_TEST
Device 32MZ1024EFE100
Objects CONTROL_PCB_V1_TEST_32MZ1024EFE100
D:\Projects\CASHAR~1\Products\ELECTR~1\U22BEL~2\FC8\CONTRO~1>xc32-gcc -mprocessor=32MZ1024EFE100 -DMX_USBHS -ID:\Projects\CASHAR~1\Products\ELECTR~1\U22BEL~2\FC8\CONTRO~1\. -IC:\PROGRA~2\Flowcode\COMPIL~1\pic32\batch\..\..\..\CAL\PIC32BIT\USB\HID -IC:\PROGRA~2\Flowcode\COMPIL~1\pic32\batch\..\..\..\CAL\PIC32BIT\harmony -IC:\PROGRA~2\Flowcode\COMPIL~1\pic32\batch\..\..\..\CAL\PIC32BIT\harmony\framework -w -c -ffunction-sections -O1 -o "CONTROL_PCB_V1_TEST_32MZ1024EFE100\CONTROL_PCB_V1_TEST.o" "CONTROL_PCB_V1_TEST.c"
D:\Projects\CASHAR~1\Products\ELECTR~1\U22BEL~2\FC8\CONTRO~1>xc32-gcc -mprocessor=32MZ1024EFE100 -DMX_USBHS -ID:\Projects\CASHAR~1\Products\ELECTR~1\U22BEL~2\FC8\CONTRO~1\. -IC:\PROGRA~2\Flowcode\COMPIL~1\pic32\batch\..\..\..\CAL\PIC32BIT\USB\HID -IC:\PROGRA~2\Flowcode\COMPIL~1\pic32\batch\..\..\..\CAL\PIC32BIT\harmony -IC:\PROGRA~2\Flowcode\COMPIL~1\pic32\batch\..\..\..\CAL\PIC32BIT\harmony\framework -w -c -ffunction-sections -O1 "C:\PROGRA~2\Flowcode\COMPIL~1\pic32\batch\..\..\..\CAL\PIC32BIT\harmony\framework\usb\src\dynamic\usb_device.c" -o "CONTROL_PCB_V1_TEST_32MZ1024EFE100\usb_device.o"
xc32-gcc.exe: error: C:\PROGRA~2\Flowcode\COMPIL~1\pic32\batch\..\..\..\CAL\PIC32BIT\harmony\framework\usb\src\dynamic\usb_device.c: No such file or directory
xc32-gcc.exe: fatal error: no input files
compilation terminated.
Error(s) in build
Cheers,
R