Search found 75 matches

by howard123
Thu Oct 26, 2017 2:51 pm
Forum: 8-Bit PIC
Topic: PLL not working
Replies: 2
Views: 2965

PLL not working

Hello all I have a PIC18F46K22 running on the internal high frequency oscillator and producing 16MHz. I would like to increase the speed, using the PLL, up to a maximum speed of 64MHz but am not having success in doing this. I have set the PLL Enable (PLLCFG) in the Configuration as well as combinat...
by howard123
Sat Sep 09, 2017 9:56 am
Forum: Feature requests
Topic: User interface ideas
Replies: 6
Views: 7760

User interface ideas

Hello all Here are a few ideas that you may care to consider and implement in Flowcode regarding the user interface. I have included a few minor glitches which possibly have been mentioned before by others. 1. Notes field. I find that when developing something I keep a word processing program on han...
by howard123
Tue Sep 05, 2017 2:26 pm
Forum: Bug reports
Topic: I2C causes processor to hang {Solved}
Replies: 2
Views: 3008

Re: I2C causes processor to hang

Thanks Ben
This has worked
regards
Howard
by howard123
Sun Sep 03, 2017 2:25 pm
Forum: Bug reports
Topic: I2C causes processor to hang {Solved}
Replies: 2
Views: 3008

I2C causes processor to hang {Solved}

Hello All Hope you can help me with this problem. I have a PIC18F46K22 connected to a DS3231 RTC using I2C communicating over hardware channel 2. I am not able to read from the RTC without causing my processor to hang. This is caused by the SDA line being held low - there is no NAK generation. LA te...
by howard123
Thu Aug 17, 2017 3:23 pm
Forum: Bug reports
Topic: Port B not working
Replies: 7
Views: 5104

Re: Port B not working

Hi Ben
Many thanks this has worked :D
by howard123
Thu Aug 17, 2017 10:50 am
Forum: Bug reports
Topic: Port B not working
Replies: 7
Views: 5104

Re: Port B not working

Hi Ben and thanks for the speedy response once again. Unfortunately that did not work for me. My apologies as my example was more illustrative than functional so here is something more robust. I have used a byte wide input rather than bits and compared Port A to Port B. In test1 raising any Port B p...
by howard123
Mon Aug 14, 2017 12:56 pm
Forum: Bug reports
Topic: Port B not working
Replies: 7
Views: 5104

Re: Port B not working

Hi Ben and Martin I had installed those updates some time ago. There is no compiler error message. I am using a PicKit 3 to target the device and this uses RB6 and RB7 for its communications. This works fine and later, with the programmer disconnected, RB7, RB6, RB5, RB4, RB3, RB2, RB1 and RB0 work ...
by howard123
Mon Aug 14, 2017 11:20 am
Forum: Bug reports
Topic: Port B not working
Replies: 7
Views: 5104

Port B not working

Hi all

Writing of bits to any of the B port pins is not recognized. Writing to ports A or C is fine.

This is on my target hardware which is a PIC16F18855.

Any ideas?

Thanks
Howard
FC7.2.1.4
by howard123
Wed May 03, 2017 10:33 am
Forum: Flowcode V7
Topic: delay function problem
Replies: 3
Views: 4419

Re: delay function problem

Thanks I understand now
regards
howard
by howard123
Sun Apr 30, 2017 2:20 pm
Forum: Flowcode V7
Topic: delay function problem
Replies: 3
Views: 4419

delay function problem

Hello all Not sure if this should be in the bug report but I am having strange behaviour when using the delay function in conjunction with a UART. As you can see from the flowcode image a 4mS delay is placed between UART sends but on the logic analyser image, measuring target hardware, it is actuall...
by howard123
Tue Mar 14, 2017 10:46 am
Forum: Bug reports
Topic: 7.2.0.5 problem
Replies: 3
Views: 3380

Re: 7.2.0.5 problem

Hello again

Hmmm perhaps there is a TCP transport issue here. Could you tell me what the checksum of the 7.2.0.5 file is please.

thanks
Howard
by howard123
Mon Mar 13, 2017 11:31 am
Forum: Bug reports
Topic: 7.2.0.5 problem
Replies: 3
Views: 3380

7.2.0.5 problem

Hello guys I have installed FC7.2.0.5 and have got some unusual happenings. My project had worked using 7.1.1.0 (with some LUT CAL file addition) on my target chip which is a PIC24FV16KA304. After installing the new program I have received an error message from the assembler/linker. Suspecting that ...
by howard123
Mon Mar 06, 2017 1:33 pm
Forum: Flowcode V7
Topic: Does not compile with I2C component
Replies: 3
Views: 3130

Re: Does not compile with I2C component

Thanks Ben that has worked. Just with a heads up in mind of your pending release - I now get IRQ warnings which I can not remember getting before. Seems unrelated to me but may be useful for you to know; Main 03.c: In function '_T1Interrupt': elf-cc1.exe: warning: _T1Interrupt PSV model not specifie...
by howard123
Sun Mar 05, 2017 6:05 pm
Forum: Flowcode V7
Topic: Does not compile with I2C component
Replies: 3
Views: 3130

Does not compile with I2C component

Hello Everyone I am using a PIC24FV16KA304 and, after adding a few I2C things, am getting the following error when compiling; In file included from C:\Program Files (x86)\Flowcode 7\CAL\includes.c:246:0, from Main 03.c:412: C:\Program Files (x86)\Flowcode 7\CAL\/PIC16BIT\PIC16BIT_CAL_I2C.c: In funct...
by howard123
Mon Feb 27, 2017 10:32 am
Forum: Flowcode V7
Topic: LUT only works in simulation
Replies: 7
Views: 6825

Re: LUT only works in simulation

Thanks Ben that works perfectly
cheers
Howard
by howard123
Thu Feb 09, 2017 3:50 pm
Forum: Flowcode V7
Topic: LUT only works in simulation
Replies: 7
Views: 6825

Re: LUT only works in simulation

Thanks that has worked.
It has used a considerable amount of program store - 4290 bytes. Are the LUT integers being declared as UINT32?
thanks
by howard123
Wed Feb 08, 2017 5:16 pm
Forum: Flowcode V7
Topic: PH sensing project
Replies: 3
Views: 3723

Re: PH sensing project

hello
I think one problem it that you are reading 12 bits into a byte. The two values from the probe can be bytes but the resultant value of your calculation should be an int. You will have to shift one of the bytes 8 bits to the left. I think the MSB comes out first.
good luck
by howard123
Wed Feb 08, 2017 4:45 pm
Forum: Flowcode V7
Topic: LUT only works in simulation
Replies: 7
Views: 6825

Re: LUT only works in simulation

Thanks The first method worked. No more truncation messages and hence a fast compile. The second method, which would be more convenient, did not work. Would you mind having a look at what I have done and correct as necessary. Hope you can fix this sometime. :D regards Howard LUT test high res 02.fcfx
by howard123
Sat Feb 04, 2017 4:44 pm
Forum: Flowcode V7
Topic: LUT only works in simulation
Replies: 7
Views: 6825

LUT only works in simulation

Hello I am using a 24FV16KA304 device with FC7 and am not able to get my look-up table to work on hardware. It does work perfectly however in simulation. I have stored about 1100 numbers in the range 1727 to 29271 using the LUT macro. There is a compiler warning stating that these values are truncat...
by howard123
Tue Jan 17, 2017 3:39 pm
Forum: Flowcode V7
Topic: undeclared error
Replies: 1
Views: 2199

undeclared error

Hi
I have a PIC 24FV16KA304. I just have a C block in main containing “osccon=0b0001000110100000; // set internal clock to 16 meg” with no other code and am getting an error - 'osccon' undeclared(first use of this function)

This did work in FC6 as I remember.

Any ideas
thanks
by howard123
Thu Jul 21, 2016 11:08 am
Forum: Flowcode V7
Topic: ICD3 and FC7
Replies: 6
Views: 5516

Re: ICD3 and FC7

Hi. Could it possibly be that your path has 'V3.30' and you have V3.35 installed.
by howard123
Thu Jul 14, 2016 12:02 pm
Forum: Flowcode V7
Topic: Pickit 3 FC7
Replies: 3
Views: 5669

Pickit 3 FC7

Hello
Anyone successfully used PICkit3 with FC7 and the new compiler.
PICkit3 works with my MPLAB IPE 3.35 so just wanted to make sure there are no issues beforehand.
thanks guys
by howard123
Thu Oct 30, 2014 10:42 am
Forum: Flowcode V6
Topic: Look up table out of bounds
Replies: 9
Views: 5931

Re: Look up table out of bounds

Hi Jac Thanks for your detailed and interesting insight on this. I have done as you suggested and have got it to work in simulation using 16 bit words. I tried to target it to my 8 bit chip and got a message that the device ROM does not support more than 8 bits. I reread your explanation and now und...
by howard123
Sun Sep 28, 2014 1:54 pm
Forum: Flowcode V6
Topic: Look up table out of bounds
Replies: 9
Views: 5931

Re: Look up table out of bounds

Thanks Jac.

For my integer LUT problem here is a working solution. I am quite embarrassed.... :wink:

Thanks again guys.
by howard123
Sat Sep 27, 2014 10:17 am
Forum: Flowcode V6
Topic: Look up table out of bounds
Replies: 9
Views: 5931

Re: Look up table out of bounds

Small update I have tested the component LUT but putting an array of 100 elements in it and compiling. I then increased the amount of elements by 2 (integers of 1000) and again compiled. The first result had RAM at 493 bytes and ROM at 2854 bytes. The second test had RAM at 493 bytes and ROM at 2856...