Search found 759 matches

by JonnyW
Thu Jan 26, 2012 4:17 pm
Forum: Flowcode V4
Topic: V5 upgrade issues
Replies: 13
Views: 7422

Re: V5 upgrade issues

Hi. I have looked through the code and all instances of 'MX_UART_RTS_PORT_2' look to be pretty secure. These are in the components so in order to investigate this further we would need to know which components you have added. Is it possible for you to post your FCF file? If the content is sensitive,...
by JonnyW
Thu Jan 26, 2012 10:12 am
Forum: General Programming
Topic: First flowcode program
Replies: 9
Views: 6662

Re: First flowcode program

If it means anything when you open the window to config the chip the first line is missing and has to be added manually. Hi David. Yes, if Flowcode thinks the setting is not set then it will omit the line rather than show a meaningless value. This bug will unfortunately affect chips seemingly at ra...
by JonnyW
Wed Jan 25, 2012 8:47 pm
Forum: Flowcode V4
Topic: V5 upgrade issues
Replies: 13
Views: 7422

Re: V5 upgrade issues

Hi. We will look into the v5 forum issue tomorrow, as you should be aable to log on if you have registered v5 (as far as I know). The 5 errors you have are: PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(748): Illegal redefinition of symbol: MX_UART_RTS_PORT_2 PebbleLCD_Pic_IPRev1V4b_ethernetLCD.c(930): Ille...
by JonnyW
Wed Jan 25, 2012 2:23 pm
Forum: General Programming
Topic: use of trigonometric function in flowcode 4.3
Replies: 4
Views: 4621

Re: use of trigonometric function in flowcode 4.3

Hello. Its a shame you can not use fixed-point values for your lookup, as this would by far be the easiest solution! (This would work with an accuracy of about 0.00025 for a 12-bit lookup table, or 0.004 for an 8 bit table). Assuming 'ang' is a temporary variable needed for the calculation, you just...
by JonnyW
Wed Jan 25, 2012 1:34 pm
Forum: Flowcode V4
Topic: V5 opening V4.5 Charts....
Replies: 4
Views: 2875

Re: V5 opening V4.5 Charts....

Hi. You should be able to upgrade projects from v4.5 to v5 pretty seamlessly. Most of our in-house testing has been done using existing v4 programs.

Bear in mind that files saved in v5 will not be able to be opened in v4, but a backup will automatically be made on upgrade anyway.

Cheers,

Jonny
by JonnyW
Wed Jan 25, 2012 11:11 am
Forum: General Programming
Topic: use of trigonometric function in flowcode 4.3
Replies: 4
Views: 4621

Re: use of trigonometric function in flowcode 4.3

Hello. Due to the limited space and floating-point support in 8-bit pics, these functions are not supported by Flowcode v4.3. Your best bet is to use lookup-tables and maybe 8 or 12 bit fixed point for trig, depending on how accurate you need to be. There is a good lookup table tutorial here: http:/...
by JonnyW
Wed Jan 25, 2012 11:05 am
Forum: General Programming
Topic: First flowcode program
Replies: 9
Views: 6662

Re: First flowcode program

Hi. To let you know, the problem was in reading the settings specifically from PPP - this uses the registry to return settings and some of these reads were failing. This will be fixed in the next release. If you have added the settings manually (without PPP) and this still fails, this is a separate ...
by JonnyW
Tue Jan 24, 2012 11:50 pm
Forum: Flowcode V5 Issues
Topic: Configuration settings not saved on a few target devices
Replies: 4
Views: 4249

Re: Bugs in Flowcode V5 First Release

After a V5 user reported issue with Flowchart not saving configuration settings: http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=7&t=10094#p31711 After modifying 18F452 with new fixed configuration settings I also checked rest of 18FXX2 series, and same bug. Other target devices also don't...
by JonnyW
Tue Jan 24, 2012 11:40 pm
Forum: General Programming
Topic: First flowcode program
Replies: 9
Views: 6662

Re: First flowcode program

Hello. Looking at the hex file it appears that the config words are there, but some of them are masked off - CONFIG1H is 0xFF (instead of 0x27 according to PPP). This is the same in the generated C code. I'm sure Martins fix will get you sorted. However, if you need to change these settings manually...
by JonnyW
Tue Jan 24, 2012 6:06 pm
Forum: Flowcode V4
Topic: V5 Upgrade ?
Replies: 69
Views: 38610

Re: V5 Upgrade ?

As an additional point, you can use the 'initialise' field of a variable to set this up how you would like, so for Blue set 'initial value' to "Blue". You could even go further and set these as constants. To do this, remove the references in the file for Blue = "Blue", set them as the initial value ...
by JonnyW
Sun Jan 22, 2012 10:39 pm
Forum: Flowcode V4
Topic: A little bug in V5
Replies: 14
Views: 9817

Re: A little bug in V5

Yes. The Flowcode simulation works on a grammar which defines which order to eveluate the operators in, like the C compiler. I thought I had all the operators in the same order as C but maybe not for AND. I'll check this on Monday. As you say, the workaround is easy, but I hope this does not effect ...
by JonnyW
Sun Jan 22, 2012 10:37 pm
Forum: Flowcode V4
Topic: V5 Upgrade ?
Replies: 69
Views: 38610

Re: V5 Upgrade ?

Ah, thats a relief! You had me worried for a moment there!
by JonnyW
Sun Jan 22, 2012 10:35 pm
Forum: Flowcode V4
Topic: Macro Icon Toolbar
Replies: 4
Views: 3353

Re: Macro Icon Toolbar

Hi. Im surprised it doesnt, but I cant ever remember testing the layout save with this toolbar. I'll make a note and look into it Monday, I'm sure it can be done.

Cheers,

Jonny
by JonnyW
Sun Jan 22, 2012 2:58 am
Forum: Flowcode V4
Topic: V5 Upgrade ?
Replies: 69
Views: 38610

Re: V5 Upgrade ?

Hello. I dont know why it wont let you do this. Can you post the error message or a screenshot? This lets me add '1' fine for this.
rs232.PNG
Parameter shot
(17.6 KiB) Downloaded 5729 times
Jonny
by JonnyW
Fri Jan 20, 2012 9:02 pm
Forum: Flowcode V4
Topic: V5 Upgrade ?
Replies: 69
Views: 38610

Re: V5 Upgrade ?

Hello. One of the changes in v5 is we have tried to make the underlying code more portable via a Chip Adaption Layer (CAL). This means there are more functions available and you should only need a fraction of these. This is the reason for the increase in unreferenced functions warnings from the Boos...
by JonnyW
Fri Jan 20, 2012 2:38 pm
Forum: Flowcode V4
Topic: V5 Upgrade ?
Replies: 69
Views: 38610

Re: V5 Upgrade ?

Hello. Yes, there is no short-cut to show a single line - you have to drag the bottom line of that annotation upwards to the size you want it to be.

Jonny
by JonnyW
Fri Jan 20, 2012 11:55 am
Forum: Flowcode V4
Topic: V5 Upgrade ?
Replies: 69
Views: 38610

Re: V5 Upgrade ?

With the mouse you can change the size and the position of the bubble for a better read..... Also, just as a short hand, holding down shift and double clicking on the annotation bubble will make it maximum size, so all the text is shown, and reducing the size of the annotation down to its smallest ...
by JonnyW
Thu Jan 19, 2012 12:03 pm
Forum: Flowcode V4
Topic: A little bug in V5
Replies: 14
Views: 9817

Re: A little bug in V5

Hello. I would like to write a lcd screen UINT, ULONG, and Long variables. You can write signed long integers to a string using the ToString$(variable) function. You can then write this string to the LCD. Create a calculation and type: buffer = ToString$(variable) Where buffer is a string and variab...
by JonnyW
Wed Jan 18, 2012 10:05 pm
Forum: Flowcode V4
Topic: Illegal symbol name
Replies: 7
Views: 6261

Re: Illegal symbol name

Hi Mac. No problems. Keep us posted on any issues you find - it is expected that there are some minor issues with the initial release but nothing major that should halt work. Most v4 flowcharts should load and work in v5 no problems but there are always corner cases we have not tested or did not exp...
by JonnyW
Wed Jan 18, 2012 9:26 pm
Forum: Flowcode V4
Topic: Programm not workin anymore since Flowcodeupdate to 4.5
Replies: 19
Views: 8690

Re: Programm not workin anymore since Flowcodeupdate to 4.5

Hello. Would it be possible for you to post the .c code generated from your v4.3 file as well? We can diff these files to see what has changed then and maybe this gives us a clue to the problem.

Cheers,

Jonny
by JonnyW
Wed Jan 18, 2012 9:22 pm
Forum: Flowcode V4
Topic: Illegal symbol name
Replies: 7
Views: 6261

Re: Illegal symbol name

Hi. I'm sure someone will be able to add an official fix for this tomorrow, but if you need to get on with your work and this is holding things up: Navigate to the folder with the Flowcode5_PIC.exe in it (C:\Program Files\Flowcode\v5, I think) From there, open the CAL\PIC\PIC_CAL_ADC.c file in a tex...
by JonnyW
Wed Jan 18, 2012 9:13 pm
Forum: Flowcode V4
Topic: Illegal symbol name
Replies: 7
Views: 6261

Re: Illegal symbol name

The .c code file that has been generated will be good as well.

EDIT: Actually, just noticed where the error is: PIC_CAL_ADC.c Dont worry about the C code (unless its handy), this can be looked into without this.

Jonny
by JonnyW
Wed Jan 18, 2012 9:12 pm
Forum: Flowcode V4
Topic: V5 Upgrade ?
Replies: 69
Views: 38610

Re: V5 Upgrade / support

Hello.
nmindana wrote:I presume you would start a new forum for V5 users or will the present forum continue ?
Yeah I believe the plan is to set up a forum for v5, which we will build up as more people upgrade to or buy v5. For now if you direct any issues to the v4 forums this will be OK.

Jonny
by JonnyW
Wed Jan 18, 2012 8:27 pm
Forum: Flowcode V4
Topic: V5 Upgrade ?
Replies: 69
Views: 38610

Re: V5 Upgrade ?

Hi Jorgen. Hope not too many bugs in it. So do we! If I want to open an existing project made in ver.4 should I import or simply open an existing XX.FCF You can do either. If it is a pic project, just opening the existing FCF is fine. v5 should be backwards compatable with v4 and below. I hope you l...
by JonnyW
Sun Jan 15, 2012 12:32 pm
Forum: Flowcode V4
Topic: return code
Replies: 9
Views: 5369

Re: return code

Hi Brandon. The issue is something in BoostC, unfortunately (FCv5 is due out early next week but will use the same BoostC version). I tried this on my Windows PC here and got exactly the same results - unfortunately my PC is only used for coding so is pretty humble and takes quite a while for this t...