Search found 14086 matches

by Benj
Fri Jan 04, 2008 3:53 pm
Forum: Flowcode V2 & V3
Topic: Timer1
Replies: 22
Views: 8629

Hello Ondra Browse down to the [Interrupts] section of the FCD, change the line Count=3 to Count=4 and then add the following line to the end of the section. 4=TMR1 Then add the following section of code to the end of the FCD file [TMR1] ;NOTE: this osc is enabled and turned on as part of the Opt1 c...
by Benj
Fri Jan 04, 2008 10:42 am
Forum: Flowcode V2 & V3
Topic: Help wanted I2C
Replies: 5
Views: 3208

Hello

Here is an example program that shows how to read a byte from a typical I2C device.

http://www.matrixmultimedia.com/softwar ... e_Byte.fcf

It also shows how to manipulate the address to start the read or write transaction.
by Benj
Thu Jan 03, 2008 1:23 pm
Forum: Flowcode V2 & V3
Topic: Configuration Bits
Replies: 10
Views: 3719

Hello Ron

Yes the configuration settings get embedded into the hex file. As long as your programmer is capable of using this then there should be no problem.
by Benj
Thu Jan 03, 2008 12:35 pm
Forum: C and ASM Programming
Topic: set the B0 after the power reset
Replies: 1
Views: 2083

Hello Saran The best you can do is to do the following at the start of your program. Write to the TrisB register to configure bit 0 as an output. trisb = 0x00; Write to the PortB register to output a 1 to the pin. portb = 0x01; You cannot have the pin set to 1 as standard on power on because all I/O...
by Benj
Thu Jan 03, 2008 10:21 am
Forum: Flowcode V2 & V3
Topic: Configuration Bits
Replies: 10
Views: 3719

If you do not have this screen then downloading the latest version of PPP should solve the problem for you.
by Benj
Thu Jan 03, 2008 10:18 am
Forum: Flowcode V2 & V3
Topic: Configuration Bits
Replies: 10
Views: 3719

Hello Ron

When you click Chip -> Configure you should get the following screen.

Image
by Benj
Wed Jan 02, 2008 6:21 pm
Forum: Flowcode V2 & V3
Topic: Configuration Bits
Replies: 10
Views: 3719

Hello Ron I see what you mean now. What you have to do is the following. In Flowcode click on Chip -> Configure -> Switch to expert. This will bring up the configuration options for your selected target. Choose the configuration that you require and then click ok. Flowcode will save the configuratio...
by Benj
Wed Jan 02, 2008 2:04 pm
Forum: Flowcode V2 & V3
Topic: Configuration Bits
Replies: 10
Views: 3719

Hello Ron

Please refer to page 251 onwards of the PIC18F2620 datasheet.
by Benj
Mon Dec 31, 2007 10:53 am
Forum: E-blocks
Topic: debugging using the HP-488-00-03
Replies: 3
Views: 2840

Hello

Yes this is correct. We also sell the ICD2 kit or you can purchase it directly from Microchip direct.
by Benj
Mon Dec 31, 2007 10:49 am
Forum: Flowcode V2 & V3
Topic: More Analog Questions from a Newbie....
Replies: 1
Views: 1384

Hello Ron

Are you using the latest version of Flowcode. I will email you with the latest FCD file. That should solve your problem.
by Benj
Mon Dec 31, 2007 10:47 am
Forum: C and ASM Programming
Topic: sample source codes in assembly for 16f88
Replies: 1
Views: 2283

Hello

Have you tried googling "16F88 Assembler" or "16F88 project_name source code"
by Benj
Mon Dec 31, 2007 10:43 am
Forum: Flowcode V2 & V3
Topic: BTG _option_reg, 0
Replies: 2
Views: 1637

Hello Bert There is a BoostC manual in the Flowcode V3/BoostC directory. This should provide some help. Do you have to use assembler. Eg here is some C code to do the same function. if (test_bit(OPTION_REG , 0)) clear_bit (OPTION_REG , 0); else set_bit (OPTION_REG , 0)...
by Benj
Wed Dec 26, 2007 7:06 pm
Forum: Flowcode V2 & V3
Topic: RS-232 Component Macro
Replies: 1
Views: 1482

Hello Ron

The timeout variable goes into the dialogue box in the RS232 read component macro. Simply type 100 into the box for a delay of 100ms.
by Benj
Wed Dec 26, 2007 7:04 pm
Forum: Flowcode V2 & V3
Topic: RS232 Component Macro
Replies: 1
Views: 1483

Hello Ron

Yes you are spot on. The timeout value is in milliseconds and you can just use a constant numeric value rather then a variable if that is easier.
by Benj
Wed Dec 26, 2007 7:03 pm
Forum: C and ASM Programming
Topic: initialization for 16f88
Replies: 1
Views: 2153

Hello

If you are using our hardware then the config line can be left out of your program and PPP can be used to configure the chip.
by Benj
Wed Dec 26, 2007 7:02 pm
Forum: Flowcode V2 & V3
Topic: ADC component Porblem??? Not sure or is it me
Replies: 7
Views: 2913

Hello Ron Not sure I can spot what problem you are having. To fill the memory I simply did hundreds of cut & paste of the Sample ADC then ReadAsIt, all consecutively. Do you know if this would cause a problem with the program? No this should not cause a problem. ADC inputs are set to tri state s...
by Benj
Wed Dec 26, 2007 6:59 pm
Forum: E-blocks
Topic: debugging using the HP-488-00-03
Replies: 3
Views: 2840

Hello

The J20 is used to assign the programming mode to the USB or the ICD2. If you set the Jumper to ICD2 then you can program and debug the PICmicro via MPLAB.
by Benj
Thu Dec 13, 2007 5:05 pm
Forum: Components (Other)
Topic: Connecting a alphanumeric LCD to Flowcode
Replies: 71
Views: 40288

Connecting a alphanumeric LCD to Flowcode

Flowcode controls alphanumeric LCDs by sending the data in 4 bit chunks instead of all 8 bits. It has been designed like this in an effort to save 4 I/O bits for other functions. So if you are designing hardware then you should connect your LCD as follows. 1 - Ground 2 - +5V 3 - Contrast pin (Centre...
by Benj
Wed Dec 12, 2007 6:12 pm
Forum: Flowcode V2 & V3
Topic: Download Flowcode
Replies: 1
Views: 1393

Hello Gnu

Yes you can install Flowcode onto your new machine without buying another copy. The only problem will be if you try to run both copies at once.
by Benj
Wed Dec 12, 2007 10:23 am
Forum: Flowcode V2 & V3
Topic: SPI V1.4 problem
Replies: 14
Views: 4553

Sorry about this Polanco.

Please could you email me your fcf file to ben@matrixmultimedia.co.uk so I can have look what is going wrong.
by Benj
Tue Dec 11, 2007 5:59 pm
Forum: General Programming
Topic: need help on encryption and decryption
Replies: 1
Views: 3112

Hello A very basic form of encryption could be to swap the nibbles in a byte. Eg 00001111 becomes 11110000 This method can be used up to a point - i.e. you can use more then one conversion. Eg 010101010 becomes 01101001 etc As long as you know how you scrambled the data then you can repeat the proce...
by Benj
Tue Dec 11, 2007 5:53 pm
Forum: Flowcode V2 & V3
Topic: SPI V1.4 problem
Replies: 14
Views: 4553

Hello Polanco Sorry about that. Here is the link to the full install. http://www.matrixmultimedia.com/software/FlowcodeV3%20Install.exe You will have to perform an uninstall of your previous version of Flowcode before installing the latest version. You will not have to re-enter your registration det...
by Benj
Tue Dec 11, 2007 4:58 pm
Forum: Flowcode V2 & V3
Topic: SPI V1.4 problem
Replies: 14
Views: 4553

Hello Polanco Here is the link to the update. http://www.matrixmultimedia.com/software/Flowcode%20Patch%20v3.2.2.msp It appears that the information on the Flowcode download page may be incorrect. When did you last perform the upgrade. The easiest way to tell which version you have is to run Flowcod...
by Benj
Tue Dec 11, 2007 3:57 pm
Forum: Flowcode V2 & V3
Topic: SPI V1.4 problem
Replies: 14
Views: 4553

Hello Polanco The latest version of Flowcode is 3.3.4.44. Would you mind updating to the latest version and see if the problem still remains. Is the problem present on both the 16F877 and the 16F917? If the problem is still there after you have updated then please could you email me your fcf file to...
by Benj
Tue Dec 11, 2007 1:34 pm
Forum: Flowcode V2 & V3
Topic: SPI V1.4 problem
Replies: 14
Views: 4553

Hello Polanco

What are you trying to control via the SPI?
Which PICmicro are you using?
Which version of Flowcode are you using?