Search found 118 matches

by MarkW
Tue Jan 21, 2014 7:45 am
Forum: Flowcode V5
Topic: Baud Rate problem FC5 - 18F66K22
Replies: 8
Views: 5651

Baud Rate problem FC5 - 18F66K22

Hello Using 18F66K22 (internal osc 16mhz)with FC5....need to use baud rate of 115200. In RS232 panel settings i have set the "custom" baudrate to 115200. But, the baud rate is not correct. Checked by sending string from Uart1/2 to Hyperterminal. Only get garbled chars..... Tried same test with diffe...
by MarkW
Tue Nov 26, 2013 10:02 am
Forum: Flowcode V5
Topic: PortB output using mask problem
Replies: 2
Views: 2752

Re: PortB output using mask problem

Hi Martin

You are absolutely correct!.....Completely forgot about that. Bits for bits
and bytes for ports :roll:

Thank you for your complete and lengthy answer!

Mark
by MarkW
Mon Nov 25, 2013 1:30 pm
Forum: Flowcode V5
Topic: PortB output using mask problem
Replies: 2
Views: 2752

PortB output using mask problem

Hello I have a problem with the mask output function for Port B on a 18F66K22. I have selected RB1 to RB5 in the mask to output there only. If i run the program on the chip (Internal osc / 16mhz) it will not turn on/off the leds on that port. If i drive the port output in single bit mode then it wor...
by MarkW
Tue Dec 11, 2012 8:28 pm
Forum: Flowcode V4
Topic: Float to string problem
Replies: 8
Views: 5901

Re: Float to string problem

Hi Ben, That did the trick thanx :D My apologies for asking for rapid answer, had unusually tight deadline. This project is now complete, and will be moving onto FC V5...yay! Consider that another sale in the bag for MM :D For all those observing this thread, you may use this latest attached interna...
by MarkW
Mon Dec 10, 2012 3:36 pm
Forum: Flowcode V4
Topic: Float to string problem
Replies: 8
Views: 5901

Re: Float to string problem

Hi Ben

Any further progress on the fix for the corrupt 6th digit when doing
7 digit string?

If we can sort that out it will be champion :D

Thanx

Mark
by MarkW
Mon Dec 10, 2012 12:54 pm
Forum: Flowcode V4
Topic: Float to string problem
Replies: 8
Views: 5901

Re: Float to string problem

Hi Ben Big improvement! I can now get up to 6 whole digits.... however, i still need 7 to 8 digits....if i goto 1 million on the whole, it puts in odd char in digit 6...the zero following the 1 as in 1 millon I am actually testing on 18F2620 with 232 chip to hyperterm. Everything works great but see...
by MarkW
Mon Dec 10, 2012 12:15 pm
Forum: Flowcode V4
Topic: Float to string problem
Replies: 8
Views: 5901

Re: Float to string problem

Hi Ben

Simple float to str test program

Mark
by MarkW
Mon Dec 10, 2012 12:10 pm
Forum: Flowcode V4
Topic: Float to string problem
Replies: 8
Views: 5901

Re: Float to string problem

Hi Ben I had an idea the internals needed some surgery :) anyway, i did try with new internals file but it gives compile error.... Float_test3.c Starting preprocessor: c:\PROGRA~1\MATRIX~1\FLOWCO~2\boostc\pp.exe Float_test3.c -i c:\PROGRA~1\MATRIX~1\FLOWCO~2\boostc\include -d _PIC18F2610 -la -c2 -o ...
by MarkW
Mon Dec 10, 2012 9:00 am
Forum: Flowcode V4
Topic: Float to string problem
Replies: 8
Views: 5901

Float to string problem

Hi Ben and other guys Got a major problem. Using FC4 and just about finished my program/project....with a hiccup at 12th hour. The project calls for sending a string out the serial port that is generated from float calculations. I did see a post somewhere that the float to string is internally limit...
by MarkW
Sun Dec 09, 2012 3:20 pm
Forum: Flowcode V4
Topic: Compiler options
Replies: 2
Views: 3268

Re: Compiler options

Hi Martin Thanx for the link for the pic16/18 compiler options....seems like FC is doing this automatically. However, i think there is a bug with the float to string function. If the resultant float calculation is larger than integer, then the float to string result (sent as string to 232 port), is ...
by MarkW
Sun Dec 09, 2012 11:18 am
Forum: Flowcode V4
Topic: Compiler options
Replies: 2
Views: 3268

Compiler options

Hello Using FC4 with 18F device. Something i noticed which is not in any manual etc is that even though i have selected 18F device as the processor, the compiler options remain set as "pic16" type. Should it not be set to "pic18" type? Seems logical that there are are obvious differences with the tw...
by MarkW
Tue Dec 04, 2012 1:49 pm
Forum: Flowcode V4
Topic: Sending String to 232 question
Replies: 1
Views: 2987

Sending String to 232 question

Hello Using FC4....have string declared as 255 array. At some point in my program i pad the remaining elements of the string with null char (0x00). However when i send the string to the 232 component to print, i get all the other data except the remaining padded elements of 0x00. If i pad the remain...
by MarkW
Mon Nov 26, 2012 3:05 pm
Forum: Flowcode V4
Topic: Need Larger Array
Replies: 16
Views: 10922

Re: Need Larger Array

Hi Ben

OK...so it seems we are heading to get V5 :)

In the meanwhile, if you got something for string functions to work with V4 then great.

Thanx for the support

Mark
by MarkW
Mon Nov 26, 2012 11:20 am
Forum: Flowcode V4
Topic: Need Larger Array
Replies: 16
Views: 10922

Re: Need Larger Array

Hi Ben Considering your last answer on this subject, i have a few more questions pls: 1. In FC V4 i got the idx2 etc working with larger arrays no problem...however i am now using string functions etc in the program and as you mentioned in the previous post these are compiled for idx1. So therefore ...
by MarkW
Wed Nov 14, 2012 2:16 pm
Forum: Flowcode V4
Topic: Uart question in FC4
Replies: 2
Views: 2995

Re: Uart question in FC4

Hi Ben, Thanx for coming to the rescue again :) It makes sense what you saying, will give it a bash. I do know from previous experience on other compilers that "soft" TX is pretty much reliable....almost same as hardware TX. Its the "soft" RX that gets tricky (not using that at all for obvious reaso...
by MarkW
Wed Nov 14, 2012 12:59 pm
Forum: Flowcode V4
Topic: Uart question in FC4
Replies: 2
Views: 2995

Uart question in FC4

Hi guys I have a question about the uart macro in FC4, with respect to the hardware and "soft" uart options. The situation is i will be receiving and sending data on the hardware TX/RX, but also need another TX on some other i/o pin. So the question is, if i enable hardware uart for the normal TX/RX...
by MarkW
Tue Sep 25, 2012 2:20 pm
Forum: Flowcode V4
Topic: Need Larger Array
Replies: 16
Views: 10922

Re: Need Larger Array

Hi Ben,

That did the trick thanx!

Much appreciated.

Mark
by MarkW
Tue Sep 25, 2012 11:56 am
Forum: Flowcode V4
Topic: Need Larger Array
Replies: 16
Views: 10922

Re: Need Larger Array

Hi Ben, Great information there thanx. I have declared the one array as having 300 members, and with the new compiler options it gets so far as correctly doing the pre-processor part successfully, but when it gets to the linker part things fall apart. It seems to have an error reference to some I_St...
by MarkW
Thu Sep 20, 2012 2:38 pm
Forum: Flowcode V4
Topic: Need Larger Array
Replies: 16
Views: 10922

Re: Need Larger Array

Thanx Ben

Is it possible for you to test / look into, the possibility of this method working
with FC V4?

I am going to go FC V5 soon, just wanted to know if V4 can do this in the meantime?
( I tried the - idx 2 setting and not working on V4 it seems)

Thanx for the gr8 support

Mark
by MarkW
Wed Sep 19, 2012 7:31 pm
Forum: Flowcode V4
Topic: Need Larger Array
Replies: 16
Views: 10922

Re: Need Larger Array

Nice one Ben,

I tried changing the parameters on FC4...does not work. Would it work on FC4?
Is FC5 using same BoostC revision?

Anyway, drinks on the house to ya :D
by MarkW
Wed Sep 19, 2012 1:19 pm
Forum: Flowcode V4
Topic: Need Larger Array
Replies: 16
Views: 10922

Re: Need Larger Array

Hi Ben Actually from what i can see, the Mikro compilers allow it to be that easy :) Another mate of mine uses the CCS pic compiler and he says that the compiler automatically handles the memory paging. Does FC V5 have the same constraints? I am considering going to V5........ In the meantime, i set...
by MarkW
Thu Sep 13, 2012 12:10 pm
Forum: Flowcode V4
Topic: Need Larger Array
Replies: 16
Views: 10922

Re: Need Larger Array

Hi Ben

looking at datasheet now, i realise this to be the case. Your suggestion will fit the bill :D
Thanx for your advice once again!

Mark
by MarkW
Thu Sep 13, 2012 10:19 am
Forum: Flowcode V4
Topic: Need Larger Array
Replies: 16
Views: 10922

Need Larger Array

Hello Using 18F2620 which has about 4k static memory. I need about 2k size array , but the variable can only hold 256 members (error at compile time). Is there any way to extend the array size declared? I imagine the array is managed in FC with 8bit value.....16bit would have been ideal :( Thanx in ...
by MarkW
Wed Sep 12, 2012 9:57 pm
Forum: Flowcode V4
Topic: Interrupt Macro
Replies: 2
Views: 3009

Re: Interrupt Macro

Hi Enamul

Thanx for confirming this about interrupt flags etc....

I suspected that smething like this was been done, otherwise the interrupt would be re-cursive all the time.

Thanx

Mark
by MarkW
Wed Sep 12, 2012 10:34 am
Forum: Flowcode V4
Topic: Interrupt Macro
Replies: 2
Views: 3009

Interrupt Macro

Hello Using 18F2620 to capture 8bit data on port using strobe on INT0. Does the FC interrupt macro clear the interrupt flag automatically when entering the ISR (interrupt service routine)? Also, does it automatically re-enable the INT0 when exiting the ISR? Reason, i ask is that using interrupts bef...