Page 1 of 1

importing C code

Posted: Tue Jun 12, 2012 3:40 pm
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

Re: importing C code

Posted: Tue Jun 12, 2012 9:28 pm
by JohnCrow
Hi Dave

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

http://www.sourceboost.com/

Re: importing C code

Posted: Wed Jun 13, 2012 9:50 am
by davet
Thanks John!

Re: importing C code

Posted: Wed Jun 13, 2012 4:23 pm
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

Re: importing C code

Posted: Wed Jun 13, 2012 9:33 pm
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

Re: importing C code

Posted: Wed Jun 13, 2012 9:38 pm
by JohnCrow
Thanks Martin
I forgot about it was there :)

Re: importing C code

Posted: Wed Jun 13, 2012 9:41 pm
by medelec35
Your welcome bud.

I thought posting website of boostC was a good idea!

Re: importing C code

Posted: Thu Jun 14, 2012 10:04 am
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!!!!!!!

Re: importing C code

Posted: Thu Jun 14, 2012 11:29 am
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

Re: importing C code

Posted: Thu Jun 14, 2012 12:31 pm
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

Re: importing C code

Posted: Thu Jun 14, 2012 4:01 pm
by DavidA
Hi Dave,

What hardware are you using as the target for Flowkit?

How are you connecting it this hardware?

Re: importing C code

Posted: Fri Jun 15, 2012 9:55 am
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

Re: importing C code

Posted: Fri Jun 15, 2012 10:43 am
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.

Re: importing C code

Posted: Fri Jun 15, 2012 10:57 am
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

Re: importing C code

Posted: Fri Jun 15, 2012 2:35 pm
by davet
Sorted! Thanks for all help!

Re: importing C code

Posted: Fri Jun 15, 2012 4:46 pm
by Benj
Hi Dave,

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

Re: importing C code

Posted: Fri Jun 15, 2012 6:55 pm
by davet
Hi Benj

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