Search found 118 matches

by MarkW
Thu May 11, 2017 8:29 pm
Forum: Flowcode V6
Topic: Strange ADC behaviour
Replies: 3
Views: 4418

Re: Strange ADC behaviour

Hi Medelec

OK i see what i did wrong :roll:

I was not clearing the digits displayed if it
was 4 digits

Thank you!

Mark
by MarkW
Thu May 11, 2017 6:13 pm
Forum: Flowcode V6
Topic: Strange ADC behaviour
Replies: 3
Views: 4418

Strange ADC behaviour

Hello Using a 16F690 @ 1Mhz....simple read ADC0 port and display on LCD (2.5V +Vref)....flowcode 6 All settings / osccon correct But when i do a simulation or real test....when turning the pot at some point i get figures that go over max ADC value of 1023 even in the simulation (4000 / 5000 etc etc)...
by MarkW
Mon May 09, 2016 4:49 pm
Forum: Flowcode V6
Topic: Interrupts not working
Replies: 9
Views: 6943

Re: Interrupts not working

Hi Leigh Thanx for taking a look....appreciate But, i am not sure what the typo is, as intcon2 is only about enabling pullups and the method of interrupt triggers (rising/falling edges), nothing about enabling interrupts themselves.... REGISTER 9-2: INTCON2: INTERRUPT CONTROL 2 REGISTER R/W-1 R/W-1 ...
by MarkW
Fri May 06, 2016 12:05 pm
Forum: Flowcode V6
Topic: Interrupts not working
Replies: 9
Views: 6943

Re: Interrupts not working

Hi Ben,

Can you please provide some solution to this interrupt problem?
This issue is still not resolved :(
by MarkW
Thu Apr 28, 2016 8:33 am
Forum: Flowcode V6
Topic: Interrupts not working
Replies: 9
Views: 6943

Re: Interrupts not working

Hi Ben, I see now that there is another SPI item in the search part, that seems to not have the CS options, thanx for the headsup Back to the interrupt issue, can you not see anything yet as to whats going on? I know its a crummy thing to tack down but i would like to see whats going on.... Thanx Mark
by MarkW
Wed Apr 27, 2016 8:02 am
Forum: Flowcode V6
Topic: Interrupts not working
Replies: 9
Views: 6943

Re: Interrupts not working

Hi Ben,

It might also be an idea in future releases of V6 to have the option of
selecting no chip selects for the SPI properties, currently i need to assign
the fram etc cs to an unused port...bit clumsy.
by MarkW
Wed Apr 27, 2016 7:57 am
Forum: Flowcode V6
Topic: Interrupts not working
Replies: 9
Views: 6943

Re: Interrupts not working

Hi Ben, I am totally sure about the internal osc settings etc....i use exactly the same on another larger program on a device....the led flasher is my standard sanity check. Also at 9600 that baud rate is very manageable at 16mhz clock rate. i did discover that if i put the int enable icon into a ma...
by MarkW
Tue Apr 26, 2016 8:55 am
Forum: Flowcode V6
Topic: Interrupts not working
Replies: 9
Views: 6943

Re: Interrupts not working

Hi Ben,

Can you perhaps lend a hand with this issue?
by MarkW
Sun Apr 24, 2016 1:17 pm
Forum: Flowcode V6
Topic: Interrupts not working
Replies: 9
Views: 6943

Interrupts not working

Hello, I did a post some time back about interrupts not working and i thought it was fixed....but alas it seems not so. I have attached sample file, which simply turns uart1/2 interrupts on and echoes the chars back out the same ports....not working. Using latest FC6 vers6.1.3.2 Processor is 18F25K2...
by MarkW
Wed Apr 06, 2016 10:42 pm
Forum: Flowcode V6
Topic: Upgrade Patch Issue
Replies: 12
Views: 9007

Re: Upgrade Patch Issue

Hi Martin, Well it seems all is OK now, the CS thing was an issue....that was sharp shooting my friend 8) sometimes one cannot see the forest for the trees Going to goto the latest vers of FC now, see if it all holds together Thank you for your help! (Someone give this man a drink on the house!) Mark
by MarkW
Wed Apr 06, 2016 7:13 pm
Forum: Flowcode V6
Topic: Upgrade Patch Issue
Replies: 12
Views: 9007

Re: Upgrade Patch Issue

Hi Martin, Fixed the problem, it was to do with another DLL that was corrupted by the new installation or something, i downloaded a patch that sorts windows out....thanx. Busy testing the SPI / Uart issue now....according to your advice about CS interfere with the uart2 Should i still use the patch ...
by MarkW
Wed Apr 06, 2016 2:52 pm
Forum: Flowcode V6
Topic: Upgrade Patch Issue
Replies: 12
Views: 9007

Re: Upgrade Patch Issue

Hi Martin, Been trying to test the pin assignment thing to not have the SPI interfere with Uart2, and had to re-install FC6 for another reason.... now, i get this message when i try compile the same test program: missing or corrupted tdf.dll file Reading mapping of:PIC18F25K22 failed failure C:\Prog...
by MarkW
Sun Apr 03, 2016 1:35 pm
Forum: Flowcode V6
Topic: Upgrade Patch Issue
Replies: 12
Views: 9007

Re: Upgrade Patch Issue

Hi Ben, Eventually got round to making up a little routine to demonstrate the bug i have in FC6 The attached fcfx file is based on FC6.1.2.0 , i rolled back the latest upgrade to the version the test file is based on. So when SPI is initialized, uart1 still works, but uart2 does not respond to inter...
by MarkW
Mon Feb 22, 2016 6:02 pm
Forum: Flowcode V6
Topic: Upgrade Patch Issue
Replies: 12
Views: 9007

Re: Upgrade Patch Issue

Hi Ben,

OK i will put some example stuff together to compare...

I truly like FC as it makes things easier to put together and
it must have been heaps of work to make what it is!
And i understand that one cannot cater for every single
hidden funny...still amazing product :)
by MarkW
Mon Feb 22, 2016 2:57 pm
Forum: Flowcode V6
Topic: Upgrade Patch Issue
Replies: 12
Views: 9007

Re: Upgrade Patch Issue

Hi Ben, I double checked everything, baud rates etc etc....no go. I actually put some routines into FC5 and everything works fine. Actually there is more serious stuff going on as well, before the patch if i did SPI initialization, the uart1 and uart2 would stop working, and even with the SPI init i...
by MarkW
Mon Feb 22, 2016 10:40 am
Forum: Flowcode V6
Topic: Upgrade Patch Issue
Replies: 12
Views: 9007

Upgrade Patch Issue

Hello,

Just did patch to latest version (FC6), and now after initializing the uart2 port
on my 18F25K22, it hangs when i try send a string out the port....
Was working before the patch...no code change

Help?

Thanx

Mark
by MarkW
Mon Feb 08, 2016 8:49 am
Forum: Flowcode V6
Topic: RS232 Interrupt not working
Replies: 1
Views: 2047

RS232 Interrupt not working

Hello, Running FC6 on 18F25K22 I can receive a string (polled), but when i set the comport(0) to process an interrupt, it does not work. The port has been initialised, 9600 baud...and the int routine simply captures a char and sends it out on comport(1) which is the 2nd port on the micro.... Strange...
by MarkW
Fri Jan 29, 2016 11:13 am
Forum: Flowcode V6
Topic: String Array Max Size
Replies: 8
Views: 5569

Re: String Array Max Size

Hi Ben,

Any help to declare larger string array in V6?

Thanx

Mark
by MarkW
Thu Jan 28, 2016 4:30 pm
Forum: Flowcode V6
Topic: String Array Max Size
Replies: 8
Views: 5569

String Array Max Size

Hello,

Is it possible to declare a larger than 255 member size for a string? There was this
issue in V4/5 but it seems to have migrated to V6 as well....

Other compilers have no issue to dimesion a large array, only limited by ram
on the particular chip being used.

Bit disappointed :-(

Thanx

Mark
by MarkW
Fri Jan 15, 2016 12:05 pm
Forum: Flowcode V6
Topic: SPI Properties
Replies: 6
Views: 4568

Re: SPI Properties

Hi Jac (Kersing),

That worked! Thank you very much....it seems it is sometimes bit
difficult to interpret the waveforms correctly and as such i will
need to study these setting more intently in future
And thank you for taking the time and effort to look at the datasheet
etc...

Many thanx

Mark
by MarkW
Thu Jan 14, 2016 7:48 pm
Forum: Flowcode V6
Topic: SPI Properties
Replies: 6
Views: 4568

Re: SPI Properties

Hi Jac, Hmmm, no i think everyone is not reading my messages properly... I am referring to the sample point...it needs a setting of "begin" or in other words "rising edge" ...of the clock signal This involves a SPI read operation, when the data is SAMPLED Currently, the only settings for sample poin...
by MarkW
Thu Jan 14, 2016 7:11 pm
Forum: Flowcode V6
Topic: SPI Properties
Replies: 6
Views: 4568

Re: SPI Properties

Hi Ben,

I think you are referring to the clock phase....but i need to change
sample point.
The only options are middle or end for sample point, but i need
to have a 3rd option which is a "begin" or rising edge of clock, of which there is
no option....
by MarkW
Thu Jan 14, 2016 6:51 pm
Forum: Flowcode V6
Topic: SPI Properties
Replies: 6
Views: 4568

SPI Properties

How can one change the SPI timing property that deals with the "sample point" setting? Currently, there are only two options: sample at END or MIDDLE The device i am using ADXL345 accelerometer calls for sampling the data at the trailing edge of the clock... You can edit the properties of the sample...
by MarkW
Thu Jan 14, 2016 1:09 pm
Forum: Flowcode V6
Topic: Serial Static Memory 23LCV1024
Replies: 2
Views: 2703

Re: Serial Static Memory 23LCV1024

Thanx Ben,

Seems pretty straight forward enough :D
by MarkW
Wed Jan 13, 2016 5:32 pm
Forum: General Programming
Topic: How to use mLoader
Replies: 3
Views: 7380

Re: How to use mLoader

Thanx Ben and etsdriver.... I had idea it was not an actual bootloader :wink: i have a bootloader but its bit delinquent on the comm ports, so when it hands over to the main program the FC program is it working properly on the comm ports.... I should try fix the problem and stick with it because it ...