Post Created date
protostack USBasp programmer and avrdude problems...
I suspect, your USBasp contains old firmware version, which is not quite compatible with current Avrdude. You can either try to use older Avrdude (not newer than ver. 5.6) or...
Saturday, 29 May 2010 - 14:00
Parsing a String
Slightly different version: #include char test_string[] = { "$GPRMC,161229.487,A,3723.2475,N,12158.3416,W,CHKSUM" }; char *parts[15]; int main(void) { char *last; char...
Friday, 11 July 2008 - 18:59
Macros defining defines...
I was also looking for something like that. Thanks for ideas. However, what about "plan c"? #define BIT(name,pin,dir) \ ((*(volatile struct bits*)...
Friday, 23 May 2008 - 14:33
Outsourcing PWM comtrol
:idea: So, what about some extra AVRs? Tiny25s for example. Let them do the PWM.
Friday, 28 March 2008 - 19:10
O/T your language of 'origin'?
I feel so young here. Vilnius BASIC, 1994
Saturday, 22 December 2007 - 00:58
Help with asm loop
Well, I'm still a little afraid to give any advice after clawson's last advice :D, however: If you still use gcc's assembler - you need to "fix up" IO addresses with _SFR_IO_ADDR...
Friday, 14 December 2007 - 23:21
Difference between OUT and SBI
No. Use this, if you want to set PD0 bit, keeping/setting other PORTD bits to 0: ldi r17, 1<<PD0 out PORTD, r17 Or this, if you want to set PD0 and keep other bits in...
Wednesday, 12 December 2007 - 10:56
Difference between OUT and SBI
clawson wrote:Presumably that was a complete waste of my time? Not completely. I learnt a thing or two :) Thanks!
Wednesday, 12 December 2007 - 00:25
Difference between OUT and SBI
'out' changes all bits, 'sbi' and 'cbi' - just one.
Tuesday, 11 December 2007 - 21:02
Programming the butterfly with the USBasp
You need to buy or build something like this. USBasp's firmware doesn't support UART yet, AFAIK.
Tuesday, 11 December 2007 - 18:38
ATmega16 and 16Mgz Oscillator
Check out online fuse calculator. You need to change CKSELx and possibly CKOPT fuse bits. Which programming software you use? In case of AVRDUDE, command line looks like this:...
Sunday, 9 December 2007 - 00:27
The voltage on my output pin is dropping
Have you configured those pins as output? Looks like input mode with pull-ups.
Friday, 16 November 2007 - 13:48