Search found 13 matches

by GSteuerwald
Sat Aug 23, 2014 9:06 pm
Forum: Flowcode V6
Topic: FC V6 for AVR: Configuration of USB-programmer usbasp
Replies: 7
Views: 8177

Re: FC V6 for AVR: Configuration of USB-programmer usbasp

Hello Dazz,

now it works, thank you very much. I really appreciate this good support - even at the weekend. :D

Also many thanks to Ben and I hope the usbasp-batchfile avrc_asp6.bat will be integrated in the next version.


Best regards from Mannheim / Germany
Gerhard Steuerwald
by GSteuerwald
Fri Aug 22, 2014 9:50 pm
Forum: Flowcode V6
Topic: FC V6 for AVR: Configuration of USB-programmer usbasp
Replies: 7
Views: 8177

Re: FC V6 for AVR: Configuration of USB-programmer usbasp

Hello Ben,
no success so far.
I have compared the procedures of V6 and V5, but I can not find the reason for the failure message of V6. Maybe there is further problem.
I hope you can find something from the attached document.

Thanks and best regards
Gerhard Steuerwald
by GSteuerwald
Thu Aug 21, 2014 10:52 pm
Forum: Flowcode V6
Topic: FC V6 for AVR: Configuration of USB-programmer usbasp
Replies: 7
Views: 8177

Re: FC V6 for AVR: Configuration of USB-programmer usbasp

Hello Ben,
Thanks for helping again.
Here are the V5-parameters: AVRDUDE %a %t "%D\%f.hex" "%f.hex" %cfg %c0 %c1 %c2 %c3
Location: C:\Program Files\Flowcode(AVR)\v5\Tools\MX_bats\avrc_asp.bat
In addition I have attached a screenshot of the programmer screen.
Hope that is the information you need ...
by GSteuerwald
Wed Aug 20, 2014 10:49 pm
Forum: Flowcode V6
Topic: FC V6 for AVR: Configuration of USB-programmer usbasp
Replies: 7
Views: 8177

FC V6 for AVR: Configuration of USB-programmer usbasp

Hi,
in FC4 and 5 I used the mentioned USB-programmer usbasp sucessfully. I got the according batchfile avrc_asp.bat (some years ago) from Sean King. The location in FC4 and 5 was: ...\Tools\MX_bats\avrc_asp.bat
Now in FC6 the directory MX-bats is missing in my installation and thus I have put avrc ...
by GSteuerwald
Thu Sep 06, 2012 10:37 pm
Forum: Flowcode V5 Issues
Topic: V5 for AVR: PWM does not work
Replies: 18
Views: 28033

Re: V5 for AVR: PWM does not work

Hi,
I have continued investigations on PWM functionality:
1. ATMega 32: I have tested some other (3) chips
Result: Same behaviour as decribed above
- Additional code necessary for error free compilation
#define COM0A0 COM00
#define COM0A1 COM01
#define OCR0A OCR0
- PWM channel 1 (of3) does not work ...
by GSteuerwald
Wed Aug 29, 2012 10:24 pm
Forum: Flowcode V5 Issues
Topic: V5 for AVR: PWM does not work
Replies: 18
Views: 28033

Re: V5 for AVR: PWM does not work

Hi again,
Declare register in CAPS is ok, but channel 1 keeps refuseing to work, output signal keeps zero. Ch 2 & 3 are ok as before.

You wrote "But Channel 1 is multiplexed with analog comparator which I guess enable after AVR reset. So I believe to use that channel you need to disable analog ...
by GSteuerwald
Wed Aug 29, 2012 9:10 am
Forum: Flowcode V5 Issues
Topic: V5 for AVR: PWM does not work
Replies: 18
Views: 28033

Re: V5 for AVR: PWM does not work

Hi Enamul,
Thanks for the explanation and the proposal to find out the strange behaviour of Channel 1>> OC0 (PORTB3) PIN4.
I have tried your FC with the following result.

Error message:
File name: E:\STEUERWALD-AVR-CONTROLLER\FLOWCODE-Programmierung\Testprogramme\PWM\AVR-3PWM Enamul.c
Title ...
by GSteuerwald
Tue Aug 28, 2012 9:00 pm
Forum: Flowcode V5 Issues
Topic: V5 for AVR: PWM does not work
Replies: 18
Views: 28033

Re: V5 for AVR: PWM does not work

Hi,
Thanks for this hint. From point of definition B3 is correct, but I do not get a PWM signal. I measure a pulse with constant width of approx. 10 ms (I have defined a period of approx. 8 ms).
I have checked with another ATMega, same result with another pulse width.

Regards
GSteuerwald
by GSteuerwald
Mon Aug 27, 2012 11:56 pm
Forum: Flowcode V5 Issues
Topic: V5 for AVR: PWM does not work
Replies: 18
Views: 28033

Re: V5 for AVR: PWM does not work

Problem is solved! :D

I used the PWM channel 1 but this channel does not produce an output signal in my hardware system ATMega 32.
So I tried PWM channel 2 and 3 and both are working.

PWM channel 2 -> PD5 (OC1A)
PWM channel 3 -> PD4 (OC1B)

Maybe somebody knows why PWM channel 1 doesn´t work in ...
by GSteuerwald
Sun Aug 26, 2012 7:42 pm
Forum: Flowcode V5 Issues
Topic: V5 for AVR: PWM does not work
Replies: 18
Views: 28033

Re: V5 for AVR: PWM does not work

Hi again,
First of all many thanks to Enamul who made it possible that I have now access to the V5-forum so that I can answer to this issue. :D
Back to my problem:
With supplementary code the code shows no error and also download to chip went ok without errors.
But: My hardware doesn´t produce a ...
by GSteuerwald
Thu Aug 23, 2012 9:43 pm
Forum: Flowcode V5 Issues
Topic: V5 for AVR: PWM does not work
Replies: 18
Views: 28033

Re: V5 for AVR: PWM does not work

Sorry,
the latest one was the now attached file.
by GSteuerwald
Thu Aug 23, 2012 9:39 pm
Forum: Flowcode V5 Issues
Topic: V5 for AVR: PWM does not work
Replies: 18
Views: 28033

Re: V5 for AVR: PWM does not work

Hi,
I thought I did it. Try it again.
by GSteuerwald
Thu Aug 23, 2012 7:29 pm
Forum: Flowcode V5 Issues
Topic: V5 for AVR: PWM does not work
Replies: 18
Views: 28033

V5 for AVR: PWM does not work

Hi,
As I have (yet) no access to the V5 forum, I place this contribution here and hope somebody will move it to V5 and give me access. Thank you.

I have already mailed my issue some time ago. I just experience the PWM-function. Simulation shows correct function but download to chip leads to ...