Post Created date
How to control whether program is placed into BOOT, APPCODE, or APPDATA section
With a Harvard architecture that AVR RISC CPUs have, the APPDATA is static RAM and the APPCODE is flash memory.  BOOT is also flash, but it is above the APPCODE in a reserved...
Thursday, 6 May 2021 - 19:04
How can I controll a 7 segments 4 digits display?
Hello,  The fastest and easiest way to interface four 7-segment displays to an AVR is to order a MAX7219 module board from eBay that does exactly that. Like this for @$3:...
Thursday, 6 May 2021 - 13:50
Noob timer question
;this will probably work better:   .INCLUDE "M328PDEF.INC" .org 0000         jmp    reset .org 0x40  ; skip over...
Wednesday, 5 May 2021 - 13:14
TINY3217 Quadrature Encoder Speed Calculation
To get the speed of a spinning shaft with an encoder attached, take one of the encoder signals and count the number of rising edges detected in a millisecond.  Then divide...
Sunday, 2 May 2021 - 19:46
ATtiny84: felias-fogg / SoftI2CMaster to control BQ24292i over i2c "issues"
The implementation of ATtiny84 on the ARduino seems to have a bit of SNAFU madness called "damellis core" vs. "SpenceKonde core".  From all that I can tell, it appears to...
Sunday, 2 May 2021 - 18:41
Machine code hex to assembly code!pls help
If you're thinking about disassembling 46 MegaBytes of code from a hex file.... give it up! Re-do the program from scratch.  
Sunday, 2 May 2021 - 00:16
Am I doing something silly?
I recommend that you put aside the Mega128 for a few months and get an Arduino UNO or Nano from eBay for a few dollars.   This is a standardized training board for the...
Monday, 26 April 2021 - 17:41
Help controlling NeoPixel (WS2812B) with ATTiny84
Note that the assembler code that I uploaded only works at 8MHz system clock.  If you use 16MHz then there is enough time to use a loop to shift each of the 8-bit LED values...
Sunday, 25 April 2021 - 18:06
Machine code hex to assembly code!pls help
So the code is already written? And you have the hex file of the original program that was uploaded into the AVR but now doesn't work right? Or... Somehow you read the binary code...
Sunday, 25 April 2021 - 17:52
Feedback on my ATmega8 board
Well, first you need reset\ on pin #5 of the ISP connector. What is the package of the Mega8? Is a DIP28  dual-inline-pins 0.1 inch apart?
Sunday, 25 April 2021 - 17:36
how to keep track of code written over the years?
I use detailed descriptions of the code and its hardware in block comments at the source code's beginning.   Then I put the code's source file name and its version into...
Thursday, 22 April 2021 - 18:30
Moving from Arduino to Studio 4.19
AStudio 4.19 is designed for C language.  For assembler use the AVRASM2.exe program.  This program will give you an Intel hex file (as opposed to a Motorola hex file)...
Thursday, 22 April 2021 - 18:09