Search found 19 matches

by pravat
Wed Jan 16, 2013 11:49 am
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

then i will wait for the flowcode which can handle interrupt macros with flowkit because in this case too the interrupt macros canot be debugged hence the overall behaviour of the processor can not be observed. :D
with regards
pravat
by pravat
Wed Jan 16, 2013 10:59 am
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hi benj
can flowcode5 with flowkit work properly for this type of application because i could not use flowcode4 with flowkit for this application.
by pravat
Fri Jul 01, 2011 6:20 am
Forum: C and ASM Programming
Topic: AVR Studio
Replies: 7
Views: 5337

Re: AVR Studio

Hi I found the solution from user forum i.e. THE FOLLOWING STEPS HAVE TO BE FOLLOWED FOR USING A C FILE GENERATED FROM FLOW CODE IN AVR STUDIO (1) create the project in avr studio and copy the c file generated by flowcode contents by note pad in the c file opened in the project of avr studio. (2)ope...
by pravat
Tue Jun 28, 2011 1:01 pm
Forum: C and ASM Programming
Topic: AVR Studio
Replies: 7
Views: 5337

Re: AVR Studio

Hi, I am using AVR STUDIO4 and FLOWCODE4 for AVR. The Flowkit is not working properly during debug session with Timer, especially when interrupt is being generated from two inputs to initialise and stop the timer so I want to test the program after generating the C program from FlowCode4 and then I ...
by pravat
Tue Jun 14, 2011 12:29 pm
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hello Benj
by di1 and di2 i mean digital input 1 and 2. My question is that can i enable timer0 interrupt by switch0(digital input1 high or low) and disable by switch1(digital input2 high or low) in flowcode and the same will run with flowkit.
with regards
pravat :?
by pravat
Tue Jun 14, 2011 6:19 am
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hi Benj, I have certain querries regarding programming timers (1) Can a timer based interrupt be enabled from di1 and disabled from di2? (2) Can a interrupt be used more than once in the program after disabling the first time. (3) if the answer is yes then is the handler code section to be modified ...
by pravat
Fri Jun 10, 2011 3:29 pm
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hello Benj,
I sent the file and its c code. please try to rectify this problem. also please tell me as to where can i find the avr-gcc-4.3.3 user mannual for download so that i could look into the problem myself.
with regards
pravat
by pravat
Fri Jun 10, 2011 11:30 am
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hello Benj, I am sorry to say that a simple file without macro also hangs. Iam also sending the C file as desired. I an using the original internalc.c and ATMEGA32.FCD and not the modified one which i used with timer0. The bigger trouble is that AVRC USED BY FLOW CODE IS NOT COMPATIBLE TO WINAVRC so...
by pravat
Fri Jun 10, 2011 9:33 am
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hello Benj, finally the pw was measured but timer0 could noy be used more than once so i decided to go for ordinary macro based counters for my project but unfortunately it is again giving the same problem rather it seems tha flowcode and flowkit are not suitable for timer and counter operation. The...
by pravat
Mon May 30, 2011 2:03 pm
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hello Benj, The program enclosed is the ultimate outcome of all efforts however I am not getting the stable LCD DISPLAY i.e. though the input square wave frequency,phase and amplitude are fixed but i am not getting a stable lcd read out, it keeps on changing. What can be the reason. Please help me i...
by pravat
Mon May 30, 2011 7:32 am
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hello Benj,
Thanks a lot. The program is compiling and responding however timer requires some fine tuning which i am looking into.
with regards
pravat :D
by pravat
Fri May 27, 2011 1:21 pm
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hello Benj
in continuation to my earlier reply i am also attaching ATMEGA32.FCD and internals.h for your convineance.
with regards
pravat :?
by pravat
Fri May 27, 2011 1:09 pm
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hello Benj,
Thankyou very much for helping me out. I am attaching all the required files as suggested. I will also upload ATMEGA32.FCD and internals.h in the next message.
with regards
pravat :?
by pravat
Fri May 27, 2011 11:44 am
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hello Benj, thanks.I have corrected internal.c as suggested but for the same prgram i am still unable to compile to chip due to compilation error. Please note that earlier internals.h was also modified for handling floating point as suggested in the forum and all the correction i have made is in int...
by pravat
Fri May 27, 2011 5:51 am
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hello Benj, Thanks for the reply, I did as suggested but in the present case I am not able to compile a simple program of pulse duration measurement with Timer0 alone. The pragram and error listing is here by attached. Please try to help me out so that I could use timer0 and timer1 in AVR ATMEGA32 A...
by pravat
Thu May 26, 2011 8:15 am
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Hi Benj, Thanks for the feedback I have to use FLOW KIT with interrupts as referred in the program so please tell me how to work around. More over I am using FLOWCODE4 for AVR. Please help me to solve this problem because to initiate any timer as counter i have to seek help of interrupt. If there is...
by pravat
Wed May 25, 2011 1:15 pm
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Dear Sir, I am posting a FlowCode4 AVR File for ATMEGA32. It is simulating alright but when loaded on the processor for debugging with FLOWKIT. It hangs after 4-5 steps. Mostly after Timer0 and TIMER1 INTERRUPTS are enabled. The job of this program is to sense AD6 AND THEN START TIMER0 AND TIMER1, A...
by pravat
Mon May 23, 2011 8:40 am
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

What will be the code to read timer0 for atmega32 ? I am using downscaled timer 1 and timer0 for pulse width measurement. I am also loading an attachment of Flowcode which I am developing for phase angle measurement, but it hangs during operation with Flowkit.Flowcode1.fcf_avr[/attachment]
by pravat
Fri May 20, 2011 5:46 am
Forum: Flowcode V2 & V3
Topic: pulse duration measurement with flowcode
Replies: 33
Views: 31393

Re: pulse duration measurement with flowcode

Will the same C code work for AVR