Search found 56 matches
- Thu Dec 18, 2014 1:46 pm
- Forum: Flowcode V5
- Topic: UART Hardware Interrupts and circular buffers
- Replies: 2
- Views: 3820
Re: UART Hardware Interrupts and circular buffers
Thank you for your quick response. I am actually using a highly modified Zigbee component and finding that because of the workload of the uP, it is missing a lot of data arriving on the Zigbee. I wanted to use interrupts and a circular buffer to avoid missing data. The Zigbee is attached to UART2 on...
- Thu Dec 18, 2014 10:57 am
- Forum: Flowcode V5
- Topic: UART Hardware Interrupts and circular buffers
- Replies: 2
- Views: 3820
UART Hardware Interrupts and circular buffers
Can anyone point me in the right direction on implementing a UART hardware receive interrupt and loading the received byte into a circular buffer please?
I use Flowcode version V5.5.2.1
Any help would be greatly appreciated.
Many thanks.
I use Flowcode version V5.5.2.1
Any help would be greatly appreciated.
Many thanks.
- Fri Sep 13, 2013 11:22 am
- Forum: Flowcode V5
- Topic: SourceBoost License - RESOLVED
- Replies: 3
- Views: 4061
Re: SourceBoost License - RESOLVED
Uninstalling and reinstalling FC seems to resolve the issue. 

- Fri Sep 13, 2013 10:18 am
- Forum: Flowcode V5
- Topic: SourceBoost License - RESOLVED
- Replies: 3
- Views: 4061
Re: SourceBoost License
Hi Ben, Just tried that and still get the same issue: File name: C:\Users\owner\Desktop\Wireless Control\18F66K22 Modules\Zigbee_API_CTL_18F66K22V2.c Title: Description: Generated by: Flowcode v5.5.2.1 Date: Friday, September 13, 2013 10:15:01 Licence: Professional Registered to: Kermann/Sefi Licenc...
- Fri Sep 13, 2013 9:43 am
- Forum: Flowcode V5
- Topic: SourceBoost License - RESOLVED
- Replies: 3
- Views: 4061
SourceBoost License - RESOLVED
I have been a user of FC for many years and currently have version 5.5.2.1 (30.01.2013). Trying to compile a program I receive the following error message: License restricted by the following files: Zigbee_API_CTL_18F66K22V2.objRecompile the code with a less restrictive compiler license! License exc...
- Tue Apr 23, 2013 6:55 pm
- Forum: Flowcode V5
- Topic: Zigbee Module Bug Report
- Replies: 0
- Views: 1712
Zigbee Module Bug Report
Hello Everyone, I have been working on this code for some time now. The Scan_Network macro takes a parameter that dictates the way it functions. If a 0 is passed in then the macro attempts to save the Node Names as stored in the "NI" field on the Zigbee and if a 1 is passed in then the 64 ...
- Tue Apr 02, 2013 12:45 pm
- Forum: Flowcode V5
- Topic: LCD_VERB_ZIG-Unknown Identifiier
- Replies: 3
- Views: 3246
Re: LCD_VERB_ZIG-Unknown Identifiier
OK, I have managed to resolve this but it needs to be reported as a bug fix. in the [Defines] section of this component the Global Variable LCD_VERB_ZIG is defined as: MX_UINT8 %a_LCD_VERB_ZIG = 0; This needs to be changed to: MX_UINT8 LCD_VERB_ZIG = 0; This is probably the easiest fix for this as t...
- Tue Apr 02, 2013 10:58 am
- Forum: Flowcode V5
- Topic: LCD_VERB_ZIG-Unknown Identifiier
- Replies: 3
- Views: 3246
LCD_VERB_ZIG-Unknown Identifiier
Hello everyone, Using FC 5.5.2.1 I have a project that compiled and linked OK before. have made some changes to it using the latest version of FC and now get the following compilation error: KW2-18F66K22.c(2955:6): error: unknown identifier 'LCD_VERB_ZIG' in the Ext properties of the Zigbee componen...
- Sat Mar 23, 2013 2:15 pm
- Forum: Flowcode V5
- Topic: MX_STRING
- Replies: 2
- Views: 2323
Re: MX_STRING
Jonny,
Thank you for your quick response. Much clearer now. I thought I was going mad
many thanks
Sefi
Thank you for your quick response. Much clearer now. I thought I was going mad

many thanks
Sefi
- Sat Mar 23, 2013 1:44 pm
- Forum: Flowcode V5
- Topic: MX_STRING
- Replies: 2
- Views: 2323
MX_STRING
When using datatype MX_STRING in a custom function, Flowcode adds an additional parameter in the function declaration immediately after this variable. Why is this? As an example: In a custom component, I have a function with the following declaration: void TFT_Do_something( MX_STRING Text) { /*Macro...
- Fri Dec 14, 2012 2:08 pm
- Forum: Flowcode V4
- Topic: PIC18F26K22 EUSART 2 not working
- Replies: 6
- Views: 5661
Re: PIC18F26K22 EUSART 2 not working
Hi Leo, I have looked at the generated code and it seems that the UART port definitions are correct being ports C & B with pins 6 and 7 for transmit and receive. However, the RS232 port definitions show PortA pin 0 as TX and RX which is very odd. The RS232 is actually in the CAL layer and its po...
- Fri Dec 14, 2012 10:59 am
- Forum: Flowcode V4
- Topic: PIC18F26K22 EUSART 2 not working
- Replies: 6
- Views: 5661
Re: PIC18F26K22 EUSART 2 not working
Hi Leo, Are you using the EB006 development board and the ICSP programming pins to program the chip? If that is the case then you will need to move the ICSP jumper to the USB side after programming the chip to make pins 6 & 7 of port B reconnect with the output. I suspect this is what your probl...
- Sat Dec 08, 2012 1:26 pm
- Forum: Flowcode V5
- Topic: Setting UART channel to use with Zigbee module
- Replies: 2
- Views: 2416
Re: Setting UART channel to use with Zigbee module
The solution is fairly easy within FCv4.0 but in V5 with the addition of the CAL layer I can't work out where this should be done. So if anyone can help I'd be grateful.
many thanks
Sefi
many thanks
Sefi
- Sat Dec 08, 2012 10:56 am
- Forum: Flowcode V5
- Topic: Setting UART channel to use with Zigbee module
- Replies: 2
- Views: 2416
Re: Setting UART channel to use with Zigbee module
Worked out how to do it. Please ignore.
It involves changing or customising the code. It would be nice to have this as a menu item. Maybe MM will add this to the wish list.
It involves changing or customising the code. It would be nice to have this as a menu item. Maybe MM will add this to the wish list.
- Sat Dec 08, 2012 9:22 am
- Forum: Flowcode V5
- Topic: Setting UART channel to use with Zigbee module
- Replies: 2
- Views: 2416
Setting UART channel to use with Zigbee module
Morning all,
How do you set the UART channel to use with the Zigbee module? Looking at the Ext Properties of the module I can't see where one would choose the UART channel.
many thanks
Sefi
How do you set the UART channel to use with the Zigbee module? Looking at the Ext Properties of the module I can't see where one would choose the UART channel.
many thanks
Sefi
- Sat Nov 24, 2012 3:20 pm
- Forum: Flowcode V5
- Topic: Flowcode V5.4 Crash *** Bug Alert ***
- Replies: 4
- Views: 3756
Re: Flowcode V5.4 Crash *** Bug Alert ***
Hi Enamul, Thanks for looking into this. I have attached a very simple Custom Component with only one macro. Please do the following to replicate the situation: 1- Open a new project with whatever PIC type you like. 2- Add the attached custom component to your project ** All OK so far - The componen...
- Sat Nov 24, 2012 11:45 am
- Forum: Flowcode V5
- Topic: Flowcode V5.4 Crash *** Bug Alert ***
- Replies: 4
- Views: 3756
Flowcode V5.4 Crash *** Bug Alert ***
I have found a bug which I wanted to bring to your attention. When creating Custom Components, in the MacroParameters definitions section, the keyword "Count" is case sensitive which in itself is not an issue. However if you inadvertently enter "count" in place of "Count&quo...
- Mon Oct 22, 2012 6:57 pm
- Forum: Flowcode V5
- Topic: Compilation error
- Replies: 9
- Views: 6058
Re: Compilation error
Jonny,
A huge thank you. Absolutely brilliant. That fixed it.
Sefi
A huge thank you. Absolutely brilliant. That fixed it.

Sefi
- Mon Oct 22, 2012 6:17 pm
- Forum: Flowcode V5
- Topic: Compilation error
- Replies: 9
- Views: 6058
Re: Compilation error
Jonny, the error is on line 371 which is the last of the Macro Functions declarations. The interesting thing is that if I exclude the last subroutine TFT_Char by setting the macro numbers to 14 in the custom components file, then it all works and the LCD functions correctly. There must be some issue...
- Mon Oct 22, 2012 6:10 pm
- Forum: Flowcode V5
- Topic: Compilation error
- Replies: 9
- Views: 6058
Re: Compilation error
Thanks Jonny and Martin,
I have attached the C file for your perusal.
Thank you for taking the time to look at it.
I have attached the C file for your perusal.
Thank you for taking the time to look at it.
- Mon Oct 22, 2012 4:57 pm
- Forum: Flowcode V5
- Topic: Compilation error
- Replies: 9
- Views: 6058
Re: Compilation error
I have now split the array holding the bitmap definitions of the characters into 3 separate arrays of 256 bytes each. There is a restriction by the compiler which says you cant have arrays bigger than 256 bytes and "apparently" this can be overcome by adding the following directive to the ...
- Mon Oct 22, 2012 4:50 pm
- Forum: Flowcode V5
- Topic: Compilation error
- Replies: 9
- Views: 6058
Re: Compilation error
Thanks Jonny,
many thanks for taking a look at this.
Sefi
many thanks for taking a look at this.
Sefi
- Mon Oct 22, 2012 3:38 pm
- Forum: Flowcode V5
- Topic: Compilation error
- Replies: 9
- Views: 6058
Compilation error
Hello everyone, I get a compilation error on the attached custom component. The interesting thing is that if I exclude the last macro by setting the Macronames, Count to 14 it works but including the last macro (TFT_Char) I get the following error: Flowcode1.c(460): error: missing right paren Flowco...
- Sat Oct 20, 2012 1:05 pm
- Forum: Flowcode V5
- Topic: Zigbee Module - Customise Code
- Replies: 1
- Views: 2704
Zigbee Module - Customise Code
I wonder if anyone can help with this issue: in the zigbee module Custom Code section, the receive_Char(nTimeout) Macro, the macro appears to be empty, yet when you look at the component file the following line of code is present. return %a_UART_Receive(nTimeout); Why is the code not appearing in th...
- Tue Oct 16, 2012 9:21 am
- Forum: Flowcode V5
- Topic: Zigbee Module
- Replies: 4
- Views: 3508
Re: Zigbee Module
Thank John for your response. I may be totally wrong on this but my understanding is that Zigbee is a software standard and as such sits above the communications layer which is what the Zigbee chip provides. The MCU through the initialisation phase then programs the chip to behave in a certain way, ...