Post Created date
ATtiny202 - External Oscillator Circuit
It's AA 1.5V battery powered. Note that a typical problem with external oscillators is that they are relatively power-hungry things, compared to an AVR. A couple of 10s of mA is...
Wednesday, 5 May 2021 - 08:05
Microchip Studio 7.0.2542
Microchip Technology stands out in the crowd in a very good way (Microsoft Visual Studio ecosystem) While Visual Studio is very "polished", there are several things to...
Friday, 30 April 2021 - 23:08
avr-gcc: Have I told you lately that I hate you?
Note that C++ does not support __flash, and the actual array you’re trying to access is off in a c++ file (and is problem rather than __flash) it’s always been how those...
Thursday, 29 April 2021 - 09:11
how to keep track of code written over the years?
Atmel/Microchip shutdown spaces.atmel.com a few years back.  (The post was very tongue-in-cheek.  code.google.com, homepage.mac.com, and geocities are all shut down as...
Tuesday, 27 April 2021 - 09:34
how to keep track of code written over the years?
Stick your code on code.google.com, and your web pages on homepage.mac.com or geocities.com, and maybe anything really AVR specific on spaces.atmel.com. Those are all well...
Tuesday, 27 April 2021 - 05:21
usewing pgm_read_byte with mega328
If I can use LPM instructions to read the boot section. How can I use this?   const __flash uint8_t * pFlash; pFlash = 0;//<----what address would be boot? pflash = (...
Tuesday, 27 April 2021 - 00:48
usewing pgm_read_byte with mega328
from what I know the bootloader should start at the first available location of the chip. If you've set the "boot to bootloader" fuse on an ATmega328, the bootloader will...
Tuesday, 27 April 2021 - 00:29
Machine code hex to assembly code!pls help
You can disassemble a .hex file with a command like: avr-objdump -D -mavr5 Blink.hex : b8: 11 24 eor r1, r1 ba: 1f be out 0x3f, r1 ;...
Sunday, 25 April 2021 - 22:41
ISR defined but not called (BADISR instead)
It’s just PCINT_vect - no 0.   Some (many?) of the older don't use the 0 suffix on things that they only have one of. (you can check in the iotn2313.h file that defines all...
Saturday, 24 April 2021 - 20:21
Atmel 328P Chip on Arduino "Nano" board Digital vs Analog Pins
Yes, If you write "PORTC |= 1<<3;" on an Arduino, using the Arduino IDE and compile procedures, it will be just as fast as "PORTB |= 1<<3;", even though PORTC has the...
Saturday, 24 April 2021 - 02:11
Atmel 328P Chip on Arduino "Nano" board Digital vs Analog Pins
There is this ancient discussion on Arduino pin toggle speeds:  https://forum.arduino.cc/t/maxim... the Arduino digitalWrite() function is slower on pins that are capable of...
Friday, 23 April 2021 - 21:17
[DIS] Any available college-level courses out there on Programming MCUs?
https://www.amazon.com/STM32F103...   Kindle edition for only $12!  Sounds like it'd be worth it - looks like it covers material that is often not written about these...
Friday, 16 April 2021 - 00:57

Pages