Search found 28 matches
- Mon Mar 31, 2014 8:02 pm
- Forum: Flowcode V6
- Topic: switch ReadyState() freezes
- Replies: 17
- Views: 7755
Re: switch ReadyState() freezes
I don't know if it helps you but it is also a mistake in the SWITCH ReadState macro. Switch0 is connect to Port A5 on a PIC16F676 device and is active high with 20ms deburning. In simulation, I got the value 1 back if I pressed the button. but in the device, I got 0b00010000 back ????? Turn the pola...
- Wed Mar 19, 2014 8:24 pm
- Forum: Flowcode V5
- Topic: EEPROM Type Definition in fcd for 16F676
- Replies: 4
- Views: 4579
Re: EEPROM Type Definition in fcd for 16F676
It works, thanks so much.
- Tue Mar 18, 2014 9:54 pm
- Forum: Flowcode V5
- Topic: EEPROM Type Definition in fcd for 16F676
- Replies: 4
- Views: 4579
Re: EEPROM Type Definition in fcd for 16F676
#endif #ifdef MX_EE_TYPE clear_bit(eecon1, EEPGD); <------- not valid for PIC 16F676 #endif #ifdef MX_EE_TYPE3 clear_bit(eecon1, EEPGD); <------- not valid for PIC 16F676 clear_bit(eecon1, CFGS); <------- not valid for PIC 16F676 #endif set_bit(eecon1, RD); data = MX_EEDATA;
- Tue Mar 18, 2014 9:52 pm
- Forum: Flowcode V5
- Topic: EEPROM Type Definition in fcd for 16F676
- Replies: 4
- Views: 4579
EEPROM Type Definition in fcd for 16F676
Hello, what is the right Definition of the EEPROM TYPE for the Pic 16F676 / 16F630? In the fcd is currently TYPE3 defined and i got a Long failure list during Compiling. File name: C:\Users\Johannes\Desktop\Flowcode Test\EEPROM Test.c Title: Description: Generated by: Flowcode v5.5.2.1 Date: Tuesday...
- Sat Apr 20, 2013 6:12 pm
- Forum: Flowcode V5
- Topic: extreme low speed compilation
- Replies: 3
- Views: 2540
Re: extreme low speed compilation
Thanks for the fast Support to all of you,
I will try it in the reported way and hope that i will find the braking program.
I will try it in the reported way and hope that i will find the braking program.
- Fri Apr 19, 2013 11:57 am
- Forum: Flowcode V5
- Topic: extreme low speed compilation
- Replies: 3
- Views: 2540
extreme low speed compilation
Hello, the Compiler Speed of the boostc Compiler is on my Workshop Computer (Intel Core Duo 2,8GHz / 4GB / WinXP) extreme low. One example, the workshop computer needs for a small program more than 45 minuets for the compilation. On my Workstation in the Office (Intel Core Quad 2,8GHz / 4GB / Win7 6...
- Fri Oct 12, 2012 8:56 am
- Forum: Deutsch Support-Forum
- Topic: ADC PIC18F46K80 keine Funktion
- Replies: 19
- Views: 21161
Re: ADC PIC18F46K80 keine Funktion
Na schau her, hatte es schon Sinn dass ich damals auch über die Stolperfalle gestolpert bin.
Danke fürs Feedback und viel Spaß noch damit.
VG
Danke fürs Feedback und viel Spaß noch damit.
VG
- Fri Oct 12, 2012 7:02 am
- Forum: Deutsch Support-Forum
- Topic: ADC PIC18F46K80 keine Funktion
- Replies: 19
- Views: 21161
Re: ADC PIC18F46K80 keine Funktion
Hallo Uwe, du must Bit6 (XINST) im Config1L auf 0 setzten um die erweiterte Instruktionen von den neuen 18F- Pics auszuschalten. Flowcode und BoostC kann es nicht und dadurch kommen falsche Sprungbefehle ab der RAM- Adresse 0x05F. Schau dir doch mal im c- File an wo deine sich ändernden Variablen ab...
- Thu Oct 11, 2012 7:15 pm
- Forum: Deutsch Support-Forum
- Topic: ADC PIC18F46K80 keine Funktion
- Replies: 19
- Views: 21161
Re: ADC PIC18F46K80 keine Funktion
Hallo Uwe, den Fehler macht aber nur der PIC selber, die Simulation in FlowCode ist fehlerfrei, oder? Ich hatte bei einem PIC18F25K22 auch das gleiche Problem mit überschreibenden Registern. Prüfe doch mal ob das XINST Bit an ist oder nicht. REGISTER 28-1: CONFIG1L: CONFIGURATION REGISTER 1 LOW (BYT...
- Tue Sep 04, 2012 8:06 pm
- Forum: Deutsch Support-Forum
- Topic: C Code und If Abfrage
- Replies: 2
- Views: 7877
Re: C Code und If Abfrage
Es arbeitet perfekt, vielen Dank dafür. Es hat mir geholfen das C etwas besser zu verstehen.
- Mon Sep 03, 2012 7:31 pm
- Forum: Deutsch Support-Forum
- Topic: C Code und If Abfrage
- Replies: 2
- Views: 7877
C Code und If Abfrage
Hallo, auf dem C- Code bin ich nicht so ganz fit und bekomme immer eine Fehlermeldung: Telemetrie_Sender_V1.c(3992): error: general error Telemetrie_Sender_V1.c(3992): error: failure Der entsprechende C- Code lautet: if(t5gcon,3=0); FCV_TIMER5_GATESTATUS=0; FCV_TIMER5_LOW=tmr5l; FCV_TIMER5_HIGH=tmr5...
- Wed Aug 15, 2012 7:09 pm
- Forum: Deutsch Support-Forum
- Topic: Fehler bei der Simulation von Compare§- Befehl
- Replies: 6
- Views: 10786
Re: Fehler bei der Simulation von Compare§- Befehl
Hallo,
Fehler ist auch in der V5.4 enthalten, nun wird der Compare- Befehl einfach übersprungen mit einer 0 als Rückmeldung.
Bitte Bug fixen!!!!!
Gruß
Hello,
Error is also included in the V5.4, now is the Compare command simply skipped with a 0 as answer.
Please fix the bug!!
kind regards
Fehler ist auch in der V5.4 enthalten, nun wird der Compare- Befehl einfach übersprungen mit einer 0 als Rückmeldung.
Bitte Bug fixen!!!!!
Gruß
Hello,
Error is also included in the V5.4, now is the Compare command simply skipped with a 0 as answer.
Please fix the bug!!
kind regards
- Thu Aug 09, 2012 6:39 pm
- Forum: Flowcode V5
- Topic: Wrong 18F25K22 FCD Timer Definition
- Replies: 11
- Views: 8568
Re: Wrong 18F25K22 FCD Timer Definition
Update, a new failure: orginal file: [TMR4] Name="TMR4" ...... EnableCode="st_bit(pie3, TMR4IE);\n" DisableCode="cr_bit(pie3, TMR4IE);\n" correct file: [TMR4] Name="TMR4" ..... EnableCode="st_bit(pie5, TMR4IE);\n" DisableCode="cr_bit(pie5, TMR4IE);\n" Now TMR4 works correct. Please update the releva...
- Tue Aug 07, 2012 3:04 pm
- Forum: Flowcode V5
- Topic: wrong simulation of ULong variable
- Replies: 2
- Views: 2459
wrong simulation of ULong variable
Hello,
one bug / feature more in V5.2, I think the simulation of the ULong variable is wrong and works like a Long type. In detail, the real value of the ULong variable could not go negative.
Please correct it.
kind regards,
Jojo
one bug / feature more in V5.2, I think the simulation of the ULong variable is wrong and works like a Long type. In detail, the real value of the ULong variable could not go negative.
Please correct it.
kind regards,
Jojo
- Mon Jul 23, 2012 2:43 pm
- Forum: Flowcode V5
- Topic: Wrong 18F25K22 FCD Timer Definition
- Replies: 11
- Views: 8568
Re: Wrong 18F25K22 FCD Timer Definition
hello, sorry for my remarks, but if you select the TMR5CS1 bit for the T5CKI Pin, you should disable them if you want to change the clock source. :wink: Otherwise you will get a wrong definition. Opt1="Clock Source Select" Opt1Cnt=3 Opt1_1="Internal clock (Fosc)" Opt1_1Val="st_bit(intcon, PEIE);\nst...
- Mon Jul 23, 2012 7:08 am
- Forum: Flowcode V5
- Topic: Wrong 18F25K22 FCD Timer Definition
- Replies: 11
- Views: 8568
Re: Wrong 18F25K22 FCD Timer Definition
Good morning, I don't think so, the Timer 1/3/5 of this PIC is only a 16bit Timer and the rollover of the timer is always 65536. So the simulation works fine and I can't find some problems during the operation of the PIC. I support this option because: When a read from the TMRxL register is requeste...
- Sun Jul 22, 2012 7:05 pm
- Forum: Flowcode V5
- Topic: Wrong 18F25K22 FCD Timer Definition
- Replies: 11
- Views: 8568
Re: Wrong 18F25K22 FCD Timer Definition
Hello, here a little bit more changes on the file: [TMR1] Name="TMR1" HandlerCode="#ifndef MX_INTHANDLER_pir1_TMR1IF\n#define MX_INTHANDLER_pir1_TMR1IF\nif (ts_bit(pir1, TMR1IF) && ts_bit(pie1, TMR1IE))\n{\n\t#ifdef USE_FLOWCODE_ICD\n\t\textern char ICD_Interrupt_Enable = 1;\n\t#endif\n\tFCM_%n();\n...
- Sun Jul 22, 2012 2:22 pm
- Forum: Flowcode V5
- Topic: Wrong 18F25K22 FCD Timer Definition
- Replies: 11
- Views: 8568
Wrong 18F25K22 FCD Timer Definition
Hello, the timer 1/3/5 of the PIC18F25K22 are absolute identical 16bit timers. But why is the definition of the timers settings in the FCD- file different? For example: [TMR1] .... Opt2="Prescaler Rate" Opt2Cnt=4 Opt2_1="1:1" Opt2_1Val="t1con = t1con & 0x0F;\n" Opt2_2="1:2" Opt2_2Val="t1con = (t1con...
- Wed Jul 18, 2012 8:15 pm
- Forum: Deutsch Support-Forum
- Topic: Fehler bei der Anzeiger der Interrupt Parameter
- Replies: 3
- Views: 7488
Re: Fehler bei der Anzeiger der Interrupt Parameter
Guten Abend Enamul, danke für dein Beispiel, mit einer Zählfunktion im INT- Unterprogramm kann man jeden Timer auf 16, 24 oder gar 32bit erweitern. Ich meinte jedoch die Hardware- Variante die über das Bit T08BIT im T0CON- Register eingestellt wird. In der FCD- Datei müsste eine weitere Option für d...
- Tue Jul 17, 2012 5:39 pm
- Forum: Deutsch Support-Forum
- Topic: Fehler bei der Anzeiger der Interrupt Parameter
- Replies: 3
- Views: 7488
Fehler bei der Anzeiger der Interrupt Parameter
bei dem PIC18F25K22 kann z.B. der TMR2 mit Fosc/ oder Fosc angesteuert werden. Es wird hier jedoch die Angabe der theoretischen Interrupt- Frequenz hier nicht verändert. Es wird immer mit Fosc/4 gerechnet. Weiter kann z.B. der TMR0 bei diesem PIC als 8bit oder 16bit Timer eingestellt werden, auch di...
- Mon Jul 09, 2012 3:34 pm
- Forum: Deutsch Support-Forum
- Topic: Fehler bei der Simulation von Compare§- Befehl
- Replies: 6
- Views: 10786
Re: Fehler bei der Simulation von Compare§- Befehl
Ok, leider schade da ich Flowcode Server zum Entwicklen einer komplexen RS232 Anwendung verwenden möchte. Der Compare§- Befehl ist da ein maßgebender Bestandteil. Dann hilft nur noch warten, oder? Gruß, Jojo Ok, Unfortunately, bad for me because I use Flowcode server to develop a complex application...
- Mon Jul 09, 2012 9:11 am
- Forum: Deutsch Support-Forum
- Topic: Fehler bei der Simulation von Compare§- Befehl
- Replies: 6
- Views: 10786
Re: Fehler bei der Simulation von Compare§- Befehl
Hello,
is it over the normal download link available or is it a patch file.
Can you send me the relevant link?
kind regards,
Jojo
is it over the normal download link available or is it a patch file.
Can you send me the relevant link?
kind regards,
Jojo
- Sun Jul 08, 2012 9:13 pm
- Forum: Deutsch Support-Forum
- Topic: Fehler bei der Simulation von Compare§- Befehl
- Replies: 6
- Views: 10786
Fehler bei der Simulation von Compare§- Befehl
Hallo,
leider funktioniert in der V5.2 der Compare§- Befehl in der Simulation nicht mehr, in der V5.1 ist er gegangen.
Ein Beispiel habe ich beigelegt und es ist wohl auch schon im englischen Forum angesprochen worden.
Gruß,
Jojo
leider funktioniert in der V5.2 der Compare§- Befehl in der Simulation nicht mehr, in der V5.1 ist er gegangen.
Ein Beispiel habe ich beigelegt und es ist wohl auch schon im englischen Forum angesprochen worden.
Gruß,
Jojo
- Fri Jul 06, 2012 1:31 pm
- Forum: Deutsch Support-Forum
- Topic: Support of PIC16(L)F1516/7/8/9 family
- Replies: 5
- Views: 11773
Re: Support of PIC16(L)F1516/7/8/9 family
Hello, are the required files already available now or do I still create these yourself? Because I'm trying to create the file yourself and have unfortunately a few problems in understanding the FCD files. Is there any detailed instructions on how to build the files are and which line is responsible...
- Fri Apr 20, 2012 9:39 am
- Forum: Deutsch Support-Forum
- Topic: Support of PIC16(L)F1516/7/8/9 family
- Replies: 5
- Views: 11773
Re: Support of PIC16(L)F1516/7/8/9 family
Is a time frame estimate or is the update only on the wish list?
Are you interrested to these files when I create my own?
Are you interrested to these files when I create my own?