Flowcode v7 component USB probleme compilation

Forum de support pour les locuteurs de la langue française qui souhaitent écrire dans leur langue maternelle.

Moderator: Benj

Post Reply
tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Flowcode v7 component USB probleme compilation

Post by tech »

Bonjour,

Voici mon probleme, j'utilise un PIC18F2455 et le component USB Serial et voici l'erreur de compilation :?

Merci de votre aide..


Device: PIC.18F.18F2455
Generated by: Flowcode v7.3.0.5
Date: Tuesday, February 25, 2020 15:36:38
Users: 1
Registered to: chrisgrenier
Licence key: RMUJ0G
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe --chip=18F2455 "USB Serial.c" --MSGDISABLE=359,1273,1388
Microchip MPLAB XC8 C Compiler (Free Mode) V1.41
Build date: Jan 24 2017
Part Support Version: 1.41
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration

Employing 18F2455 errata work-arounds:
* Corrupted fast interrupt shadow registers
USB Serial.c: myisr()
121: USBDeviceTasks();
^ (361) function declared implicit int (warning)
.

0: (499) undefined symbol:
_USBDeviceTasks(USB Serial.obj)
(908) exit status = 1
(908) exit status = 1

C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe reported error code 1



FINISHED
Attachments
USB Serial.fcfx
(7.99 KiB) Downloaded 253 times

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Flowcode v7 component USB probleme compilation

Post by tech »

Bonjour,

Desole je n'ai pas envoyer le bon fichier et l'erreur, les voici!.

Merci

Microchip MPLAB XC8 C Compiler (Free Mode) V1.41
Build date: Jan 24 2017
Part Support Version: 1.41
Copyright (C) 2017 Microchip Technology Inc.
License type: Node Configuration

Employing 18F2455 errata work-arounds:
* Corrupted fast interrupt shadow registers
USB Serial.c: FCD_056e1_USB_Serial1__ReadByte()
666: return (FCR_RETVAL);
^ (345) unreachable code (warning)
C:\PROGRA~2\Flowcode 7\COMPIL~1\pic\include\../../../CAL/PIC/USB/usb_device.c: 295: non-reentrant function "_USBDeviceInit" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~2\Flowcode 7\COMPIL~1\pic\include\../../../CAL/PIC/USB/usb_device.c: 1013: non-reentrant function "_USBTransferOnePacket" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~2\Flowcode 7\COMPIL~1\pic\sources\common\Umul16.c: 15: non-reentrant function "___wmul" appears in multiple call graphs and has been duplicated by the compiler
C:\PROGRA~2\Flowcode 7\COMPIL~1\pic\sources\common\memset.c: 8: non-reentrant function "_memset" appears in multiple call graphs and has been duplicated by the compiler
. . . .


Memory Summary:
Program space used 19B4h ( 6580) of 6000h bytes ( 26.8%)
Data space used 1C4h ( 452) of 800h bytes ( 22.1%)
Configuration bits used 7h ( 7) of 7h words (100.0%)
EEPROM space used 0h ( 0) of 100h bytes ( 0.0%)
ID Location space used 0h ( 0) of 8h bytes ( 0.0%)
Data stack space used 0h ( 0) of 2C0h bytes ( 0.0%)


You have compiled in FREE mode.
Using Omniscient Code Generation that is available in PRO mode,
you could have produced up to 60% smaller and 400% faster code.
See http://www.microchip.com/MPLABXCcompilers for more information.


Launching the linker/assembler...
C:\Program Files (x86)\Flowcode 7\tools\DoNothing\DoNothing.exe


FINISHED
Attachments
USB Serial.fcfx
(9.03 KiB) Downloaded 262 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Flowcode v7 component USB probleme compilation

Post by Benj »

Bonjour,

Votre deuxième article ne contient aucune erreur de compilation et les avertissements générés sont normaux. Le programme ne fonctionne-t-il pas sur l'appareil? Je ferais le test flash d'une seconde juste pour vérifier la santé mentale, mais vos paramètres de configuration semblent corrects pour moi.

Hello,

Your second post has no compilation errors and the warnings produced are normal. Is the program not running on the device? I would do the 1 second flash test just as a sanity check but your configuration settings look to be ok to me.

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Flowcode v7 component USB probleme compilation

Post by tech »

Bonjour Benj,

Je vais vérifier voir si mon programme recompile des erreurs!

Je vous reviens le plutôt possible.

Merci

Chris

Post Reply