Page 1 of 1

USB SLAVE AND CHIP 184550

Posted: Tue Aug 11, 2009 9:35 am
by Roy
if i put a slave usb component macro to flowcode, just 1 macro i get the following message, wheteher it is my flowcode ot he examples supplied.
CHIP 18F4550


File name: C:\Smokehouse\microchip\flowcode\Flowcode_V4_Examples\Examples\Components\USB Slave\USB Slave Demo 3-Byte.c
Generated by: Flowcode v4.0.0.53
Date: Monday, August 10, 2009 12:35:06
Licence: Professional
Registered to: Roy Johnston


http://www.matrixmultimedia.com


Launching the compiler...
C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\boostc.pic18.flowcode.exe -v -t PIC18F4550 "USB Slave Demo 3-Byte.c"
BoostC Optimizing C Compiler Version 6.95 (for PIC18 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2009 Pavel Baranov
Copyright(C) 2004-2009 David Hobday

Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC18 max code size:Unlimited, max RAM banks:Unlimited


USB Slave Demo 3-Byte.c
Starting preprocessor: "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\pp.exe" "C:\Smokehouse\microchip\flowcode\Flowcode_V4_Examples\Examples\Components\USB Slave\USB Slave Demo 3-Byte.c" -i "C:\Program Files\Matrix Multimedia\Flowcode V4\BoostC\include" -d _PIC18F4550 -la -c2 -o "C:\Smokehouse\microchip\flowcode\Flowcode_V4_Examples\Examples\Components\USB Slave\USB Slave Demo 3-Byte.pp" -v -d _BOOSTC -d _PIC18

C:\Smokehouse\microchip\flowcode\Flowcode_V4_Examples\Examples\Components\USB Slave\USB Slave Demo 3-Byte.c(195): Illegal redefinition of symbol: _PIC18F4550

1 errors detected
Error: preprocessing error

failure

Return code = 1

Flowcode was unable to compile the flowchart's C code due to the following errors:


If your flowchart contains C code, please review this carefully. If your flowchart contains no C-code or you have thoroughly reviewed the code, contact Technical Support.

FINISHED

Re: USB SLAVE AND CHIP 184550

Posted: Tue Aug 11, 2009 3:52 pm
by Benj
Hello

Please refer to this FAQ topic for getting the USB components and examples running on Flowcode V4.0.

http://www.matrixmultimedia.com/support ... .php?t=553

I have tested the component here using the 18F4550 and the code is compiling correctly.

If you are still having problems compiling then please let me know,

Re: USB SLAVE AND CHIP 184550

Posted: Wed Aug 12, 2009 4:47 am
by Roy
Thks i manage to compile the 3 byte example and send it to the pic.