Search found 211 matches

by Kenrix2
Mon Jun 11, 2018 8:20 am
Forum: Flowcode V8
Topic: Custom Interrupt Call.
Replies: 2
Views: 2457

Re: Custom Interrupt Call.

Take a close look at the line just below the little red dot. Missing something?
by Kenrix2
Mon May 28, 2018 6:26 am
Forum: Flowcode V8
Topic: FC8
Replies: 6
Views: 4970

Re: FC8

I had a different reaction to the release.

Simulating C code... this is awesome!

Where is the buy button?
by Kenrix2
Fri May 25, 2018 8:55 am
Forum: Flowcode V8
Topic: activating flowcode 8
Replies: 10
Views: 7279

Re: activating flowcode 8

Thank you DavidA for your fast response, literally a couple of minutes.

Activation successful.
by Kenrix2
Fri May 25, 2018 8:15 am
Forum: Flowcode V8
Topic: activating flowcode 8
Replies: 10
Views: 7279

Re: activating flowcode 8

I have the same problem.

Received a purchase successful email from the 3rd party that takes the payment but, no email from Matrixtsl with instructions on how to activate Flowcode 8. I also have a key from the purchase.

Medelec35's suggestion returns an error. Key not in data base.

What do I do now?
by Kenrix2
Wed May 09, 2018 4:02 am
Forum: Bug reports
Topic: PIC16F18326 PMW Timer 2 only available timer
Replies: 25
Views: 21737

Re: PIC16F18326 PMW Timer 2 only available timer

From the Device ID it looks like your using a 323 instead of the 326.

Timers 4 and 6 do not exist.
by Kenrix2
Sun Feb 04, 2018 7:53 pm
Forum: Flowcode V7
Topic: Speed not correct [solved]
Replies: 4
Views: 3541

Re: Speed not correct

Does this work?

Code: Select all

OSCCON=0b01110000;
by Kenrix2
Sat Jan 20, 2018 3:01 am
Forum: Bug reports
Topic: Erratic timer operation
Replies: 3
Views: 3113

Re: Erratic timer operation

There is nothing wrong with the chip's timers. This is a Flowcode bug.
by Kenrix2
Sat Jan 06, 2018 10:17 pm
Forum: General Programming
Topic: delay_ms compile error
Replies: 8
Views: 5624

Re: delay_ms compile error

The error is just before the delay function. That error is also breaking the delay function. What's just before the delay?

If your using C code, try Build/View C... and look around line 218 to spot the problem.
by Kenrix2
Mon Dec 04, 2017 1:42 am
Forum: Flowcode V7
Topic: IOC error
Replies: 7
Views: 4902

Re: IOC error

I think the answer to both questions is no. On all resets, port pins are configured as inputs (all tris bits are set). Flowcode also configures port pins to digital I/O on startup (all ansel registers are cleared). So, unless you specifically make B6 an output in your program, it will be an input. F...
by Kenrix2
Fri Dec 01, 2017 11:28 pm
Forum: Flowcode V7
Topic: IOC error
Replies: 7
Views: 4902

Re: IOC error

What is the value of the pulldown resistor on RB6?
by Kenrix2
Sun Nov 12, 2017 9:36 am
Forum: Flowcode V7
Topic: Simulating a ram array
Replies: 5
Views: 4280

Re: Simulating a ram array

Added the "Test and Debug" license. Made a change so the location and ram array values are side by side seperated by spaces. Much easier to read it this way.
It now looks like this:
Console ram array.png
(5.3 KiB) Downloaded 2126 times
Here is the new version.
by Kenrix2
Sun Nov 12, 2017 2:10 am
Forum: Flowcode V7
Topic: Simulating a ram array
Replies: 5
Views: 4280

Re: Simulating a ram array

Thanks for spotting my error.

Seems to work just great. I like it.
by Kenrix2
Sat Nov 11, 2017 8:49 pm
Forum: Flowcode V7
Topic: Simulating a ram array
Replies: 5
Views: 4280

Re: Simulating a ram array

Thanks for showing me that. Nice to see that it has scroll bars. The Console seems to be printing the command /n instead of actually creating a new line. Flowcode7 simplifies the use of larger arrays. Not having to deal with bank and page limitations is a real treat. Not sure if simulating them is d...
by Kenrix2
Fri Nov 10, 2017 11:34 pm
Forum: Flowcode V7
Topic: Simulating a ram array
Replies: 5
Views: 4280

Simulating a ram array

I am looking for a way to monitor all of the values in a ram array during simulation. After reading this post, http://www.matrixtsl.com/mmforums/viewtopic.php?f=63&t=19480, it appears the Console is available for the Standard version by adding the "Test and Debugging" license. Can the Console simula...
by Kenrix2
Thu Oct 26, 2017 8:37 pm
Forum: 8-Bit PIC
Topic: PLL not working
Replies: 2
Views: 2896

Re: PLL not working

Does this work?

Code: Select all

OSCCON=0b11110000;
OSCTUNE=0b01000000;
If you look at Figure 2-1, find the Clock Switch MUX. You can see that SCS<1:0> needs to be 00 for the 4xPLL to work.
by Kenrix2
Thu Jul 27, 2017 11:33 pm
Forum: Flowcode V6
Topic: PWM1 --- Causes Pulses
Replies: 6
Views: 5928

Re: PWM1 --- Causes Pulses

Maybe set the pin the piezo is on to output low at the beginning of your main? A pull down resistor might help too.
by Kenrix2
Sun Jul 23, 2017 12:06 am
Forum: Flowcode V7
Topic: Enabling A Register On A Pic
Replies: 4
Views: 5020

Re: Enabling A Register On A Pic

I made an experimental internal temperature macro but, it is written in V5.
http://www.matrixtsl.com/mmforums/viewt ... ure#p57003

Here it is converted to V7 but, I have not tested it. Maybe a starting point for you though. Good luck.
ChipTemp.FCM
(3.23 KiB) Downloaded 277 times
by Kenrix2
Mon Jul 17, 2017 2:33 am
Forum: Flowcode V7
Topic: advice on setting internal oscillator
Replies: 2
Views: 3482

Re: advice on setting internal oscillator

I don't see an option for 20MHz. How about 16MHz with no PLL or divisions? Step 1) Select HFINTOSC 32MHz and Ext OSC Off in Project Options/Configure. Step 2) Change the HFINTOSC from 32MHz to 16MHz by adding this in a C Code box: OSCFRQ=0b00000101; One way to check it is to enable Clockout in Confi...
by Kenrix2
Fri Jun 30, 2017 1:26 am
Forum: Poll Discussion
Topic: Connection point poll
Replies: 19
Views: 20933

Re: Connection point poll

I am having trouble understanding the issue with connection points. I wrote a program filled with as many connection points that I could fit on the device. I set the compiler optimizers to none. It works the same on the device as it does in simulation. Am I doing something wrong in my program? Conne...
by Kenrix2
Mon May 29, 2017 11:25 am
Forum: Bug reports
Topic: [WORKAROUND] 16F18877 port IO has something weird going on..
Replies: 5
Views: 5441

Re: 16F18877 port IO has something weird going on...

PORTx reads when it's ANSELx bits are set will always return a zero.
by Kenrix2
Sat Feb 18, 2017 3:27 am
Forum: Flowcode V7
Topic: PIC18F25K42
Replies: 2
Views: 3408

Re: PIC18F25K42

Thanks Benj. Just a heads up. There is a typo in an ignorable compiler warning text when setting up this micro for midrange compatible interrupts. It warns it will write a reset instruction at low priority interrupt vector 0x8 but, the compiler correctly writes it to 0x18. Interrupts work as expected.
by Kenrix2
Fri Feb 17, 2017 6:39 am
Forum: Flowcode V7
Topic: PIC18F25K42
Replies: 2
Views: 3408

PIC18F25K42

I just received the new PIC18F25K42 and it would be nice if there was a ".fcdx" for this micro. So many new features on this micro like DMA, buffered SPI, controlled current I/O's plus hardware averaging ADC.
by Kenrix2
Sat Nov 12, 2016 10:35 am
Forum: Flowcode V7
Topic: How interesting is the new PIC18 K40 series ?
Replies: 10
Views: 9369

Re: How interesting is the new PIC18 K40 series ?

Great job Benj. Thank you so much. Works perfect for me using the 27K40. I did expect ANSELA would be cleared in startup on this chip. Not related to Flowcode but, I had an issue when using a LUT. After reading the errata I added the following right below "BEGIN" and problem solved. NVMCON1bits.NVMR...
by Kenrix2
Thu Jul 14, 2016 10:41 pm
Forum: Flowcode V7
Topic: Pickit 3 FC7
Replies: 3
Views: 5594

Re: Pickit 3 FC7

Right now the wiki link posted above has outdated information. I followed the instructions from the following link and have had no issues using newer devices.
http://www.matrixtsl.com/mmforums/viewt ... ers#p74807
by Kenrix2
Tue May 24, 2016 7:09 am
Forum: Flowcode V6
Topic: PIC16F1779 is not supported
Replies: 3
Views: 3702

Re: PIC16F1779 is not supported

I use PWM connected to an RC filter and an opamp for a variable voltage output. http://www.matrixtsl.com/mmforums/viewt ... 2cc#p60161