is FC5 full of bugs

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
User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

is FC5 full of bugs

Post by greentech »

FC5 is full of bugs, output to port D doesnt work, Using dsp comp. adc aint compiling. i read there is an error in UART. Why it is so scrambled. FC4 is still stable but less options.

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: is FC5 full of bugs

Post by JonnyW »

Good evening.

We do make every attempt to get a clean and bug free system. If there are errors that have been reported it is a good chance that they will have been fixed by now. Some inevitably do get by though.

If there are any specific issues please report them here (in more detail - port D on what chip, where did you read about the UART issue, etc)? and we will try to sort your issues out.

With any major release there are always new issues and the more mature a product gets the more stable it becomes. Please remember that some features of FCv5 (such as DSP) are new for FCv5, so it is difficult to compare this to v4.

We are always glad of any constructive feedback regarding Flowcode but you are, however, free to use whichever version you wish.

In answer to your posted question I would say no - Flowcode v5 is not full of bugs but like any large system there will be some. If you post details about specific problems we will try to find a solution for you.

Cheers,

Jonny

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: is FC5 full of bugs

Post by greentech »

Here are some of the issues that u might wanna fix.
ADC if read as int the output to port D doesnt work for me.
ADC if used with 20 MHZ crystal setting it doesnt work for me. Same code with same crystal setting work just fine when complied with fcv4.5
regarding USART ill locate the post i read on MMX forums and update u.

I do understand about bugs, but if you QC your system thoroughly before releasing it will bring some positive effects. As it looks more professional.
I hope ull be able to help me fix these for now.
Thanks.

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: is FC5 full of bugs

Post by greentech »

usinf 16f877a, please read this topic ive posted screen captures here.

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: is FC5 full of bugs

Post by JonnyW »

Hi. Thanks, I'll ask our CAL expert to take a look at the ADC issues.

QC is always an issue for us - with hundreds of chips all with subtle differences we do have a lot of tests to do! Bear with us if testing does not pick up everything.

Jonny

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: is FC5 full of bugs

Post by greentech »

i do understand, you guyz are doing an amzing job whatsoever. I wish u and all MMX team a very shining future. Please update me on adc asap.

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: is FC5 full of bugs

Post by Benj »

Hello,

The ADC in v4 basically guessed at what conversion speed settings were available and the setting you gave wasn't necessarily the actual setting. In v5 we moved the ADC control parameters into the FCD definition file and this allows us to correctly populate the list of settings so that they are 100% correct for the target device your using. This could explain the differences your experiencing between the v4 and v5 programs?

Does the ADC work correctly if you change some of the ADC component properties. For testing set the pre-charge to 200 and try the RC conversion speed.

Regarding the Int problem, please could you specify further.

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: is FC5 full of bugs

Post by greentech »

and how can i do that? Can u explain please

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: is FC5 full of bugs

Post by greentech »

The adc works fine if i read as voltage at FRC. 20MHz HS setting.
But read as int, byte creates problems. I dont get whats going wrong?

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: is FC5 full of bugs

Post by Benj »

Hello,
and how can i do that? Can u explain please
Go into the ADC component Ext Properties window, set the Acq time to 200 cycles and the conversion speed to FRC.
The adc works fine if i read as voltage at FRC. 20MHz HS setting.
But read as int, byte creates problems. I dont get whats going wrong?
The read as float and read as voltage functions are based on the standard read as byte and read as int functions so if these were not working then nothing would be working. Maybe attach a simple program which shows the issue and explain exactly what you mean by "creates problems".

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: is FC5 full of bugs

Post by greentech »

this is what i get when read as int or byte.
Attachments
report to MM.jpg
(242.32 KiB) Downloaded 2353 times

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: is FC5 full of bugs

Post by Benj »

Please can you post your Flowcode project FCF file so I can see what the program is doing.

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: is FC5 full of bugs

Post by greentech »

Sorry i was away for few days.
Benj after changing aquisition time from 40 to 200 program works fine now.

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: is FC5 full of bugs

Post by greentech »

hey there, there is a strange problem i am facing.
as you know that 40 program cycle wasnt working well. Now it is working fine on 40 cyc without a problem. i dont understand whats going on. Might b a naughty ginnie in uC.

Post Reply