USB SLAVE AND CHIP 184550

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
Roy
Flowcode V4 User
Posts: 17
Joined: Thu Jul 30, 2009 9:13 am
Location: New Zealand
Been thanked: 1 time

USB SLAVE AND CHIP 184550

Post 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

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: USB SLAVE AND CHIP 184550

Post 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,

Roy
Flowcode V4 User
Posts: 17
Joined: Thu Jul 30, 2009 9:13 am
Location: New Zealand
Been thanked: 1 time

Re: USB SLAVE AND CHIP 184550

Post by Roy »

Thks i manage to compile the 3 byte example and send it to the pic.
Regards
Roy

Post Reply