Search found 11 matches

by kk
Sun Oct 21, 2007 2:24 pm
Forum: Flowcode V2 & V3
Topic: Interrupt Handling ?!
Replies: 11
Views: 9339

Hi all, I was testing again with the custom interrupts; I cant seem to get the receive interrupt working. I geuss the custom specific interrupt name should be the "GCC name" eg. USART_RX_vect the specific enable code should be UCSRB |= _BV(RXCIE); . Is this correct, probably not... What is the corre...
by kk
Fri Oct 19, 2007 4:19 pm
Forum: Flowcode V2 & V3
Topic: Programmer settings
Replies: 10
Views: 10536

Hi again Steve, I tried another homebrew programmer Launching the programmer... C:\Program Files\Matrix Multimedia\Flowcode_AVR\Tools\MX_bats\avrc.bat m8 bascom lpt1 "SimpleLed.hex" 0 2 209 -1 -1 C:\Documents and Settings\Koen Kempeneers\Mijn Documenten\Flowcode_AVR>"C:\PROGRA~1\MATRIX~1\FLOWCO~2\To...
by kk
Fri Oct 19, 2007 3:36 pm
Forum: Flowcode V2 & V3
Topic: Programmer settings
Replies: 10
Views: 10536

Hi Steve, The new release stills tries to read fusedata when programming, that is not supported by most bootloaders. C:\Documents and Settings\Koen Kempeneers\Mijn Documenten\Flowcode_AVR>"C:\PROGRA~1\MATRIX~1\FLOWCO~2\Tools\MX_bats\..\AVRDUDEusb\avrdude.exe" -p m8 -P COM1 -c butterfly -U flash:w:"S...
by kk
Thu Oct 18, 2007 11:42 am
Forum: Flowcode V2 & V3
Topic: Programmer settings
Replies: 10
Views: 10536

Hi again Steve, I'm still testing te interface with AVRDUDE, by now i just use; @SET AVRDUDEcmd="C:\Program Files\Matrix Multimedia\Flowcode_AVR\Tools\AVRDUDEusb\avrdude.exe" -p %1 -c %2 -P %3 -F -e -U flash:w:%4:a -U flash:v:%4:a %AVRDUDEcmd% The program is called with; %a butterfly COM1 "%f.hex" S...
by kk
Tue Oct 16, 2007 3:01 pm
Forum: Flowcode V2 & V3
Topic: Programmer settings
Replies: 10
Views: 10536

BTW. It is unwise to write fuse settings everytime the devices is reprogrammed. The Fuses have a live expectancy of about 1000 cycles as opposed to the enhanced Flash with a 100.000 cycle endurance.
by kk
Tue Oct 16, 2007 2:58 pm
Forum: Flowcode V2 & V3
Topic: Programmer settings
Replies: 10
Views: 10536

Is it anything like; @ SET Fuse1= @ SET Fuse2= @ SET Fuse3= SET AVRDUDEcmd="%~dp0..\AVRDUDEusb\avrdude.exe" -p %1 -c %2 -P %3 -F -u -U flash:w:%4 @ IF NOT "%5"=="-1" SET Fuse1=-U hfuse:w:%5:m @ IF NOT "%6"=="-1" SET Fuse2=-U lfuse:w:%6:m @ IF NOT "%7"=="-1" SET Fuse3=-U efuse:w:%7:m %AVRDUDEcmd% %Fu...
by kk
Tue Oct 16, 2007 1:38 pm
Forum: Flowcode V2 & V3
Topic: Programmer settings
Replies: 10
Views: 10536

Hi steve,

The Batch file avrc for calling avrdude contains some hard coded information (AVRISPMKII).

Probably there should be a new one could you post this in reply please?
by kk
Mon Oct 15, 2007 9:43 am
Forum: Flowcode V2 & V3
Topic: Interrupt Handling ?!
Replies: 11
Views: 9339

Interrupt Handling ?!

Hi all, I've written a small program using the PWM and the UART macro's. Running on M8, i can't seem to get the interrupt system up and running, //NOTE: failed to add interrupt [RXComplete] (IntHandlerCode is blank) Is the interrupt system not operational yet? Remember that the interrupt system on a...
by kk
Wed Sep 12, 2007 3:20 pm
Forum: Flowcode V2 & V3
Topic: run time
Replies: 2
Views: 2946

Hi Wolfgang, All depends on the kind of application your writing. If you wrote a small calculator 8ms would be an acceptable cycle time. For a PLC 8ms is quitte fast. I've written applications that keep it under 100us at 12Mhz clock, i've written applications that take up to 500ms worst case cycle. ...
by kk
Sun Sep 09, 2007 3:48 pm
Forum: Formula Flowcode
Topic: Chargement
Replies: 7
Views: 9980

Bonjour Jules,

Cherche l' internet pour "PICDEM FS USB", tu trouveras toute que vous voulez.

KK
by kk
Sat Sep 08, 2007 3:07 pm
Forum: Flowcode V2 & V3
Topic: Flowcode for Microcontrollers other then PICs
Replies: 8
Views: 12180

I really hate to point out these things;
Could we have a flowcode for AVR?
Just give us one chip to start with say the AT89C4051
The AT89C4051 is not an AVR it has a MCS51 core.