Post Created date
fastest 8bit atmel microcontroller for quadcopter implemantation
If you already have most running on a 328p the question is how big is the CPU load now? how fast do you currently run ?   If this just is fun / shool project , then...
Sunday, 7 April 2019 - 10:45
SREG C Bit on MUL (unsigned) instruction
Yes it would be nice with 16 bit LPM, and I'm sure that if the chip should be developed today it would have it, but the old AVR design was "more" 8 bit and beside of X,Y and Z the...
Thursday, 4 April 2019 - 18:54
SREG C Bit on MUL (unsigned) instruction
No you miss the point with the AVR memory structure, is't a Harvard structure where code and data are separate.      The Flash is 16 bit NOT 8, that is why it...
Thursday, 4 April 2019 - 16:41
How Reliable Are MCU's?
Cost is relative is it a $5 toy or a satellite or in a medical instrument where failure can cost life.  
Monday, 1 April 2019 - 20:20
ATMega1284P ELPM instruction issue
??? ATMega1284P has 128k flash so addr is > 16 bit, hence the RAMPZ and ELPM usage rather than LPM ...     In Flash you normally have code! on a AVR the code is 16...
Sunday, 31 March 2019 - 14:03
ATMega1284P ELPM instruction issue
You write : The load from 0x0859 loaded the correct value, the others did not. How do you know that ? and how do you know to start at 0x0859 ?   Remember that flash is 16...
Sunday, 31 March 2019 - 13:32
SREG C Bit on MUL (unsigned) instruction
If you want to learn more about the different MUL instruction then read the old Atmel AVR201 appnote, hos microchip it's  AN_1631 : Using the 8-bit AVR Hardware Multiplier
Sunday, 31 March 2019 - 08:54
How Reliable Are MCU's?
I remember back in 1980 a friend had a 6502 that didn't work in a UK 101, but fine in a PET2001.  After a lot of tests it was just one instruction where a flag in some...
Saturday, 30 March 2019 - 17:56
#define of a pin does not always work?????
I don't don't know the answer, but first thing I would look at is the ASM output, it should give a hint to where the problem is.     Add: And the stupid...
Friday, 29 March 2019 - 15:20
SREG C Bit on MUL (unsigned) instruction
from #3 Interesting to observe that SER (set on all reg bits) change no flags, while CLR (set off all reg bits) sets SVN=0, Z=1, there should be a strong reason for such decision...
Friday, 29 March 2019 - 11:06
Why command ADIW has only two positions of dd?
And remember that the opcode only save code space not speed.(it take 2clk)  A SUBI on low byte and then a SBCI on the high byte can do the same, and work for all 16bit values...
Wednesday, 27 March 2019 - 08:36
Question about timer0 and relative branch out of reach error
In general only use BREQ etc. for things “inside” the block you are working with. In this case invert the branch use BRNE over the a rjmp (as cliff showed). If rjmp can’t...
Tuesday, 26 March 2019 - 10:54