Another test.
The error occurs as soon as I call up
USB_Serial1.
Target folder: C:\Users\Uwe\Documents\Matrix
Source name: C:\Users\Uwe\Documents\Matrix\CDCTest .fcfx
Title:
Description:
Device: PIC32.32MZ.32MZ2048EFH144
Generated by: Flowcode v10.1.2.40
Date: Wednesday, August 20, 2025 09:53:28
Users: 1
Registriert für: SpeedPIC32 (24146314)
Lizenzschlüssel:ZQ34CT
https://www.flowcode.co.uk
Using <cdcICD4> user settings for compiler
Start des Compilers...
C:\Program Files (x86)\Flowcode\Compilers\pic32\batch\PIC32compCDC.bat "32MZ2048EFH144" "C:\Users\Uwe\Documents\Matrix\" "CDCTest " "32MZ"
Project CDCTest
Device 32MZ2048EFH144
Objects CDCTest _32MZ2048EFH144
C:\Users\Uwe\Documents\Matrix>xc32-gcc -mprocessor=32MZ2048EFH144 -DMX_USBHS -IC:\Users\Uwe\Documents\Matrix\. -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 "CDCTest _32MZ2048EFH144\CDCTest .o" "CDCTest .c" -DMX_USBHS
CDCTest .c: In function '_IntHandlerUSBInstance0':
CDCTest .c:262:27: error: 'sysObj' undeclared (first use in this function)
DRV_USBHS_Tasks_ISR_USBDMA(sysObj.drvUSBObject);
^
CDCTest .c:262:27: note: each undeclared identifier is reported only once for each function it appears in
CDCTest .c: In function '_IntHandlerUSBInstance0_USBDMA':
CDCTest .c:266:34: error: 'sysObj' undeclared (first use in this function)
#ifdef MX_PIC32_MX
^
Error(s) in build
C:\Program Files (x86)\Flowcode\Compilers\pic32\batch\PIC32compCDC.bat Hat den Fehlercode 0x1 gemeldet
Autoclose turned off
PIC32 USB CDC Error
-
- Posts: 278
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 2:35 pm
- Location: Germany
- Has thanked: 37 times
- Been thanked: 17 times
-
- Matrix Staff
- Posts: 2080
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 642 times
- Been thanked: 697 times
Re: PIC32 USB CDC Error
Hello.
This is a duplicated post
If there is any news we will update the topic in the above link.
I am locking this topic post to avoid confusion.
This is a duplicated post
If there is any news we will update the topic in the above link.
I am locking this topic post to avoid confusion.
Martin