PIC32 USB CDC No function after last update
-
- Posts: 261
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: PIC32 USB CDC No function after last update
Greetings SpeedPic32
- Attachments
-
- 13-09-2023 17-39-26.jpg (61.89 KiB) Viewed 8435 times
-
- 13-09-2023 17-37-00.jpg (62.11 KiB) Viewed 8435 times
-
- Posts: 261
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: PIC32 USB CDC No function after last update
Hello together
When the driver is in place, Win 10, 7 and XP recognise it as a Flowcode USB Serial device. The driver is installed and then works normally.
At the moment I can compile in FC9 and 10 without errors but no operating system recognises the device. I get the message Unknown device and error when requesting a device description.
Greetings SpeedPic32
When the driver is in place, Win 10, 7 and XP recognise it as a Flowcode USB Serial device. The driver is installed and then works normally.
At the moment I can compile in FC9 and 10 without errors but no operating system recognises the device. I get the message Unknown device and error when requesting a device description.
Greetings SpeedPic32
-
- Posts: 261
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: PIC32 USB CDC No function after last update
Hello together
I have noticed
in FC 9 I can recompile software I wrote before the update and the USB port works.
i can change the software, compile it and usb works. if i write something new usb does not work.
it would be nice if someone would take care of this for once
greetings SeedPic32
I have noticed
in FC 9 I can recompile software I wrote before the update and the USB port works.
i can change the software, compile it and usb works. if i write something new usb does not work.
it would be nice if someone would take care of this for once
greetings SeedPic32
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: PIC32 USB CDC No function after last update
Please post your working project (FCFX, C and driver files) and also a new project which does not work (again, FCFX, C and driver files) and we will try to discover the problem.
-
- Posts: 261
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: PIC32 USB CDC No function after last update
Hello Steve
Here is my data from FC9
Where can I find the driver or the batch file?
Here is my data from FC9
Where can I find the driver or the batch file?
- Attachments
-
- USBCDCTEST.fcfx
- (14.5 KiB) Downloaded 731 times
-
- USBCDCTEST.c
- (47.5 KiB) Downloaded 599 times
-
- Posts: 261
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: PIC32 USB CDC No function after last update
here these do not work.
- Attachments
-
- USBCDCTESTneu.fcfx
- (8.49 KiB) Downloaded 683 times
-
- USBCDCTESTneu.c
- (42.59 KiB) Downloaded 796 times
-
- Posts: 261
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: PIC32 USB CDC No function after last update
Replace txt with bat
- Attachments
-
- PIC32compCDC.txt
- (7.54 KiB) Downloaded 637 times
-
- Posts: 261
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: PIC32 USB CDC No function after last update
$(compilerpic32)batch\PIC32compCDC.bat
"$(chip)" "$(srcdir)" "$(target)" "$(family)"
"$(chip)" "$(srcdir)" "$(target)" "$(family)"
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: PIC32 USB CDC No function after last update
Thanks for the files.
I've compared both files and these are the differences between the 2 projects:
I've compared both files and these are the differences between the 2 projects:
- Config settings for the chip are very different
- The old one uses a delay which clears the watchdog automatically
-
- Posts: 261
- Joined: Thu Dec 10, 2020 2:35 pm
- Has thanked: 36 times
- Been thanked: 17 times
Re: PIC32 USB CDC No function after last update
Hello all
Steve Matrix was right.
It just didn't work with the alignment of the data anyway.
Now I had a good idea.
I took over the compiler options from version FC9 and now it works again.
Here is my data
Compiler location
$(compilerpic32)batch\PIC32compCDC.bat
Parameter
"$(chip)" "$(srcdir)" "$(target)" "$(family)"
Linker / assembler location
$(compilerpic32)bin\xc32-bin2hex.exe
Parameter
"$(srcdir)$(target).elf"
Programmer location
$(mplabxdir)mplab_platform\mplab_ipe\ipecmd.exe
Parameters
/P$(chip) /F"$(outdir)$(target).hex" /TPPK4 /M /OL
File Viewer Location
C:\Windows\Notepad.exe
Parameters
$(outdir)$(target).c
I hope it helps one or the other.
SpeedPic32
Steve Matrix was right.
It just didn't work with the alignment of the data anyway.
Now I had a good idea.
I took over the compiler options from version FC9 and now it works again.
Here is my data
Compiler location
$(compilerpic32)batch\PIC32compCDC.bat
Parameter
"$(chip)" "$(srcdir)" "$(target)" "$(family)"
Linker / assembler location
$(compilerpic32)bin\xc32-bin2hex.exe
Parameter
"$(srcdir)$(target).elf"
Programmer location
$(mplabxdir)mplab_platform\mplab_ipe\ipecmd.exe
Parameters
/P$(chip) /F"$(outdir)$(target).hex" /TPPK4 /M /OL
File Viewer Location
C:\Windows\Notepad.exe
Parameters
$(outdir)$(target).c
I hope it helps one or the other.
SpeedPic32