Flowcode generated code

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Tuhina Deep
Posts: 8
Joined: Sat Jun 16, 2012 1:08 pm
Location: New Delhi,India
Has thanked: 4 times

Flowcode generated code

Post by Tuhina Deep »

Hi..

I was wondering that flowcode generated C code or assembly code can be used in other compiler or not? can i use the code in other compiler? it will run in other compiler or not? Please give me suggestion.

Thanks in advance

Tuhina Deep

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Flowcode generated code

Post by DavidA »

Flowcode generates C and assembler code where applicable.

Flowcode's C code can be used with Hi-Tech compiler and Boost C compilers.

To work with any other compiler would require a large amount of effort.

Tuhina Deep
Posts: 8
Joined: Sat Jun 16, 2012 1:08 pm
Location: New Delhi,India
Has thanked: 4 times

Re: Flowcode generated code

Post by Tuhina Deep »

Thank you Sir,

It can be used with MPLAB C 18 compiler or not? I am using Flowcode 4 for picmicros. The code generated by it can be used with MPLAB C 18 compiler?


Tuhina Deep

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: Flowcode generated code

Post by Enamul »

Hi,
To work with any other compiler would require a large amount of effort.
As David said earlier, it requires huge effort to compile there. But you can easily use that in Hi-Tech compiler which you can get 45 days no restriction version for free.
Here is info how to compile in Hi-Tech compiler..
http://www.matrixmultimedia.com/mmforum ... ech#p38337
Enamul
University of Nottingham
enamul4mm@gmail.com

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 generated code

Post by Benj »

Hello,

C18 and HiTech are fairly similar but there are differences. How good is your C knowledge? If your familiar with porting code and C in general then it shouldn't be an issue. If your not familiar then I wouldn't advise it.

Tuhina Deep
Posts: 8
Joined: Sat Jun 16, 2012 1:08 pm
Location: New Delhi,India
Has thanked: 4 times

Re: Flowcode generated code

Post by Tuhina Deep »

hi..

Please tell me how to use CAN in flowcode? how to write flowcode for any application by using CAN.Give me an example of flowcode using CAN.


Thanks in advance

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: Flowcode generated code

Post by Enamul »

Hi,
Which IC you are using for test? If you want to use internal can you need to have those IC which have internal can. If you want to use IC like 16f877a which don't have internal can you can try with matrix can board with the following examples..

I have written few code with internal can and also with external can for the beginners but those in my home pc..I will post later on..
Attachments
CAN_Example_01_Send.fcf
(6 KiB) Downloaded 262 times
CAN_Example_01_Receive.fcf
(6 KiB) Downloaded 260 times
Enamul
University of Nottingham
enamul4mm@gmail.com

Tuhina Deep
Posts: 8
Joined: Sat Jun 16, 2012 1:08 pm
Location: New Delhi,India
Has thanked: 4 times

Re: Flowcode generated code

Post by Tuhina Deep »

Hi Enamul,

I am using IC PIC 18f458, How to use CAN for this IC. I am beginner for using Flowcode,So i have some problems. Please help me out.

Thanks

Tuhina

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: Flowcode generated code

Post by Enamul »

Hi Tuhina,
PIC 18f458 has internal CAN that means you are going to use internal CAN. you must have MCP2551 IC in that case because even if you use PIC with internal CAN you need a CAN transceiver IC. If you have that IC or matrix CAN board please let me know. I will tell you how to use that.
Enamul
University of Nottingham
enamul4mm@gmail.com

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Flowcode generated code

Post by DavidA »

Tuhina,

Please sign up to the appropriate user forums if you are asking for help with Flowcode: http://www.matrixmultimedia.com/forum_upgrades.php

Post Reply