Hi Benj,
I've done some tests. A timer increment (Timer0, Timer1, Timer2) with output to an LED array works without problems.
An output of a loop increment or timer increment on PWM leads to the error message with the crash of FC6.
Search found 200 matches
- Tue Feb 25, 2014 9:45 pm
- Forum: Flowcode V6
- Topic: Problems importing und run FC5 files into FC6
- Replies: 3
- Views: 2715
- Mon Feb 24, 2014 4:20 pm
- Forum: Flowcode V6
- Topic: Problems importing und run FC5 files into FC6
- Replies: 3
- Views: 2715
Re: Problems importing und run FC5 files into FC6
Hi Benj, thanks for the quick reply. How should I enable the component, if I just copy the file into the component directory, I can not select the switcharray on inputs. The problem with the crash also occurs if I just use a loop increment insteed of the timer. I need the program for a shuttle train...
- Sun Feb 23, 2014 6:50 pm
- Forum: Flowcode V6
- Topic: Problems importing und run FC5 files into FC6
- Replies: 3
- Views: 2715
Problems importing und run FC5 files into FC6
Hi, I upgraded recently to version 6 and wanted to import a V5 project. Then after some time also works, but come when compiling three errors that were not in V5. Once I need a macro within a timer interrupt repeatedly enabled / disabled, this will appear as a compiler warning. Then I have 3 switch ...
- Wed Jul 31, 2013 4:28 pm
- Forum: General Programming
- Topic: I2C between 2 PIC-Micros
- Replies: 21
- Views: 23490
Re: I2C between 2 PIC-Micros
Hi, I used in the tests a number of different delays in order to implement the transfer. I think that it depends also on the clock frequency that the timer can run shorter. I used 2 PIC18F2680 with 4MHz clock frequency and the settings in the macros easily. Maybe shorten the settings for the timer a...
- Fri Jul 26, 2013 12:40 pm
- Forum: General Programming
- Topic: I2C between 2 PIC-Micros
- Replies: 21
- Views: 23490
Re: I2C between 2 PIC-Micros
Hi Creative25, I think that the two controllers are functional, as both have a master synchronous serial port. You only need to define master and slave fix, a multi-master environment does not work with these macros. It's best to load the progam change the processor type and compile everything. If c...
- Tue Feb 05, 2013 11:11 am
- Forum: General Programming
- Topic: I2C between 2 PIC-Micros
- Replies: 21
- Views: 23490
Re: I2C between 2 PIC-Micros
Hi Cobra, I2C is best understood when you read the I2C charts of the controller. There specified exactly how the process is done. The interrupt will remain inactive until the transfer has been completed (I2C stop). The Tmp variable is added for 2 reasons: for the buffer to empty and to prevent timin...
- Fri Feb 03, 2012 2:47 pm
- Forum: Flowcode V5
- Topic: Problem to write internal EEprom
- Replies: 6
- Views: 5405
Re: Problem to write internal EEprom
Thanks for the quick response! I'll wait for the batch.
Tiny
Tiny
- Fri Feb 03, 2012 11:15 am
- Forum: Flowcode V5
- Topic: Problem to write internal EEprom
- Replies: 6
- Views: 5405
Problem to write internal EEprom
Hello to the team,
I use Flowcode V5 and work with PIC16F88, PIC16F876 and PIC 18F2680. Now I have the problem that I can't write the controller internal EEPROM. In the simulation at each memory address the value is 0. Can someone help me please?
Greetings, Tiny
I use Flowcode V5 and work with PIC16F88, PIC16F876 and PIC 18F2680. Now I have the problem that I can't write the controller internal EEPROM. In the simulation at each memory address the value is 0. Can someone help me please?
Greetings, Tiny
- Sat Nov 12, 2011 11:02 pm
- Forum: Flowcode V4
- Topic: Tell us about your projects...
- Replies: 29
- Views: 61682
Re: Tell us about your projects...
My first project was a shuttle train for a garden railway. Of the electronics to the layout itself created. Then the programming code with flow routines for PWM controllers, switches and control Mehrzugkontrolle, everything works perfectly. Flowcode is a joy to work. I enclose the flowcode project a...
- Mon Jan 10, 2011 11:56 am
- Forum: Flowcode V4
- Topic: Questions to variables and VNet
- Replies: 2
- Views: 2198
Re: Questions to variables and VNet
Hello Benj,
Thanks for your quick response!
I already use global variables and arrays, but I wanted to leave the variables in the macros that are used there.
I2C VNet would have been nice but not absolutely necessary.
Regards
Christina
Thanks for your quick response!
I already use global variables and arrays, but I wanted to leave the variables in the macros that are used there.
I2C VNet would have been nice but not absolutely necessary.
Regards
Christina
- Mon Jan 10, 2011 10:43 am
- Forum: Flowcode V4
- Topic: Questions to variables and VNet
- Replies: 2
- Views: 2198
Questions to variables and VNet
Hello, I have 2 questions.
1: If it is possible to define more than 10 variables in a macro?
2: why can not establish a VNet I2C connection?
I work with Flowcode 4.3 and need for my project more than 30 macros and in some macros more than 10 variables.
Regards, Christina
1: If it is possible to define more than 10 variables in a macro?
2: why can not establish a VNet I2C connection?
I work with Flowcode 4.3 and need for my project more than 30 macros and in some macros more than 10 variables.
Regards, Christina
- Mon Apr 26, 2010 7:21 pm
- Forum: Flowcode V4
- Topic: error load
- Replies: 4
- Views: 3204
Re: error load
Looks like the problem after the update on 4.3 if "override language" is not active. There I had the same error messages,
tiny
tiny
- Sun Apr 18, 2010 6:56 pm
- Forum: Flowcode V4
- Topic: Very very strange problem on 18F1320. The µC
- Replies: 6
- Views: 3946
Re: Very very strange problem on 18F1320. The µC
Hi Mathy, I have built up an easy circuit with timer 0 and timer 1 and have tested in each case for PIC16F876 and PIC18F2680. Also functions with repeated one program easily. Then I have changed your program on a PIC18F2680 and have programmed several times alternately with the timer program, also w...
- Fri Apr 16, 2010 5:45 pm
- Forum: Flowcode V4
- Topic: Very very strange problem on 18F1320. The µC
- Replies: 6
- Views: 3946
Re: Very very strange problem on 18F1320. The µC
OK, I had a timer problem also with timer 1 under Flowcode 3, defined as own Interrupt. There the same problem appeared and at that time I have found no solution. I had changed the program routine on timer 0 and had built up the macro with several routines. Maybe can help here Benj or Steve.
- Thu Apr 15, 2010 7:30 pm
- Forum: Flowcode V4
- Topic: Windows7
- Replies: 4
- Views: 2896
Re: Windows7
Flowcode 3 and Flowcode 4 work under Windows 7 absolutely easily.
tiny
tiny
- Thu Apr 15, 2010 4:33 pm
- Forum: Flowcode V4
- Topic: Very very strange problem on 18F1320. The µC
- Replies: 6
- Views: 3946
Re: Very very strange problem on 18F1320. The µC
On the Konfiguration page the Master Clear is disabled. This configuration brings the problem, that you can one time program the chip, the second programming faild. Set the Master Clear to enabled and I think this works fine.
tiny
tiny
- Tue Mar 30, 2010 9:26 am
- Forum: Flowcode V4
- Topic: Errors after update to Flowcode 4.3
- Replies: 25
- Views: 14881
Re: Errors after update to Flowcode 4.3
Thank you Steve, the tip works well!
- Mon Mar 29, 2010 6:46 pm
- Forum: Flowcode V4
- Topic: Errors after update to Flowcode 4.3
- Replies: 25
- Views: 14881
Re: Errors after update to Flowcode 4.3
I have deinstalled the version 4.3 and installed the version 4.2 newly. Safeguarding FCD files changed perhaps before. I can continue to work on my projects with that.
- Mon Mar 29, 2010 4:33 pm
- Forum: Flowcode V4
- Topic: Errors after update to Flowcode 4.3
- Replies: 25
- Views: 14881
Re: Errors after update to Flowcode 4.3
Is it possible that these problem at the OCX files lies? The registry entry CurrentLanguage is empty also at the version 4.2 and there is no problem there.
- Mon Mar 29, 2010 4:01 pm
- Forum: Flowcode V4
- Topic: Errors after update to Flowcode 4.3
- Replies: 25
- Views: 14881
Re: Errors after update to Flowcode 4.3
I work with Win 7, 32 Bit, registry value CurrentLanguage is empty, registry value CurrentProfile is FlowcodeV4. I have any projects with LEDs, Switches, ADC, PWM.
- Fri Mar 26, 2010 8:53 pm
- Forum: Flowcode V4
- Topic: Errors after update to Flowcode 4.3
- Replies: 25
- Views: 14881
Errors after update to Flowcode 4.3
I have installed the update to flowcode 4.3, now I can't load my projects was created with Flowcode 4.2, there are always error messages. In a new project, very many components function no longer.
Please help.
Tiny
Please help.
Tiny
- Mon Feb 15, 2010 12:27 pm
- Forum: General Programming
- Topic: I2C between 2 PIC-Micros
- Replies: 21
- Views: 23490
I2C between 2 PIC-Micros
If somebody has interest, I have created a Master-Slave communication between 2 PIC-Micros. Configured for PIC18F2680, goes for all PICs with HW-I2C.
- Wed Aug 19, 2009 6:42 pm
- Forum: General Programming
- Topic: I2C Slave with PIC
- Replies: 2
- Views: 3290
Re: I2C Slave with PIC
Hello Benj, thanks for your reply. I have programmed more than 20 years ago in assembler language. I have already got the files from Microchip. I hope that I come with c-code and asm-code and the registers of the MCU to a result.
- Mon Aug 17, 2009 9:15 am
- Forum: General Programming
- Topic: I2C Slave with PIC
- Replies: 2
- Views: 3290
I2C Slave with PIC
Hi, have any an idea, how i can programming an PIC as I2C Slave? I need one Master and 5 Slaves. I use PIC16F876 and PIC18F2680, for CAN over SPI I have not enough Pins free. Please help!!!
- Wed Jul 08, 2009 6:21 pm
- Forum: General Programming
- Topic: CAN-Bus with PIC 18F2680
- Replies: 1
- Views: 2832
CAN-Bus with PIC 18F2680
I use PIC Micro 18F2680 with CAN-Ports. I need a connection between 4 PICs. Now I have programmed a simple CAN communication with Flowcode 4, but on the CAN port come no signal, the signal comes on SPI port and the program routine hang in CAN Init for a long time. Is the CAN function in Flowcode onl...