importing C code

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
davet
Posts: 27
Joined: Mon Jun 11, 2012 11:08 am
Been thanked: 1 time
Contact:

importing C code

Post by davet »

Hi
I am wanting to import some C code but do not have a clue as to the syntax required for this. Is there any information about this? I have tried the Help but that is of no use. I need documentation for the C compiler that Flowcode 5 uses.
Thanks in anticipation.

Dave

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: importing C code

Post by JohnCrow »

Hi Dave

You can get the manual for the boost C compiler from the sourceboost website.

http://www.sourceboost.com/
1 in 10 people understand binary, the other one doesn't !

davet
Posts: 27
Joined: Mon Jun 11, 2012 11:08 am
Been thanked: 1 time
Contact:

Re: importing C code

Post by davet »

Thanks John!

davet
Posts: 27
Joined: Mon Jun 11, 2012 11:08 am
Been thanked: 1 time
Contact:

Re: importing C code

Post by davet »

Hi, have downloaded the manual from website but it does not read correctly Jpeg images of screen shots are ok but any text appears as a series of blocks and jumbled letters. Downloaded the free Boost C compiler went to "Help" tried to open the manuals there and same thing!!!!!!!!!!!
Sent emails to Boost - no reply.......
Any help appreciated.

Dave

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: importing C code

Post by medelec35 »

Hi Dave,
The manual can also be found within BoostC directory.
If 64 bit windows can be found in:
C:\Program Files (x86)\Flowcode\v5\Tools\boostc

Or 32bit windows:
C:\Program Files\Flowcode\v5\Tools\boostc

Martin
Martin

User avatar
JohnCrow
Valued Contributor
Valued Contributor
Posts: 1367
Joined: Wed Sep 19, 2007 1:21 pm
Location: Lincolnshire
Has thanked: 364 times
Been thanked: 716 times
Contact:

Re: importing C code

Post by JohnCrow »

Thanks Martin
I forgot about it was there :)
1 in 10 people understand binary, the other one doesn't !

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: importing C code

Post by medelec35 »

Your welcome bud.

I thought posting website of boostC was a good idea!
Martin

davet
Posts: 27
Joined: Mon Jun 11, 2012 11:08 am
Been thanked: 1 time
Contact:

Re: importing C code

Post by davet »

Thanks Martin, found it tried to print it out for easy reference but no luck, same problem as above - obviously protected in some way from making hard copies!!!!!!!

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: importing C code

Post by medelec35 »

I don't believe it is protected from printing.

I just tried with free foxit pdf reader:
http://www.foxitsoftware.com/Secure_PDF_Reader/
Since that's what I have currently got installed.

Printed a page out perfectly.

So it sounds like your set-up for printing PDF pages.

Martin
Martin

davet
Posts: 27
Joined: Mon Jun 11, 2012 11:08 am
Been thanked: 1 time
Contact:

Re: importing C code

Post by davet »

Yes my PDF software must be old, printed it out on another machine and OK!!
I am having difficulty now getting flowkit to work...

1/ when I try and program the chip with Flowkit inline and the slider switch set to "Prog" it will not program because it says "USB cable not connected" I thought the switch just by-passed the Flowkit?

2/when trying to step through the flowcode nothing happens until a form comes up telling me the ICD has failed to communicate with the target!

Have gone through the Flowkit manual step by step but I am obviously doing something wrong!

Thanks Martin

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: importing C code

Post by DavidA »

Hi Dave,

What hardware are you using as the target for Flowkit?

How are you connecting it this hardware?

davet
Posts: 27
Joined: Mon Jun 11, 2012 11:08 am
Been thanked: 1 time
Contact:

Re: importing C code

Post by davet »

Hi David,
I am using the EB006 with the flowkit plugged into port b. Does port b have to be set as an input so Flowkit can communicate with the EB006?
Sorry for the dumb questions, I have not done any programming or electronics for 4 years.
BW

Dave

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: importing C code

Post by Benj »

Hi Dave,

What version EB006 are you using? You can tell from the silk screen number printed on EB006-00-x where x is the version number.

Version 7 and onwards EB006 boards has the ICD functionality built in so the Flowkit is not required.

Version 6 and before EB006 boards must be unplugged from the USB to allow the Flowkit to communicate correctly.

davet
Posts: 27
Joined: Mon Jun 11, 2012 11:08 am
Been thanked: 1 time
Contact:

Re: importing C code

Post by davet »

Hi,

Iam using version 8.
When I am in ICD mode and try to step through the prog. up comes "ICD has failed to communicate with target".

BW

davet
Posts: 27
Joined: Mon Jun 11, 2012 11:08 am
Been thanked: 1 time
Contact:

Re: importing C code

Post by davet »

Sorted! Thanks for all help!

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: importing C code

Post by Benj »

Hi Dave,

You get it working in the end? :D What did you do differently?

davet
Posts: 27
Joined: Mon Jun 11, 2012 11:08 am
Been thanked: 1 time
Contact:

Re: importing C code

Post by davet »

Hi Benj

In my ignorance I did not reprogram the chip with the ICD checked!
Cheers!

Post Reply