Type in the full discussion title or a part of it.
Discussion Title Created date
Where are initial values for global variables stored?
Let's say I create the following global variable and assign it to a non-zero value: uint8_t testVar = 250;In the .map file I can see it was assigned to memory address 0x00800213...
Sunday, 7 November 2021 - 01:54
Struct member data is being overwritten
Hi. I'm having an issue where the data at the memory address associated with a struct member is being overwritten in later parts of my code. I'm not sure if I'm declaring my...
Saturday, 6 November 2021 - 23:31
Struggling with a simple bootloader proof of concept
Hi all. I created a VERY simple bootloader as a proof of concept. The bootloader runs fine when loaded on it's own, but when I pair it with an application, the bootloader doesn't...
Thursday, 24 December 2020 - 13:01
NOP vs math operations - is there a power consumption difference?
Hi. I'm using assembly to create an accurate timer (down to one clock cycle). Here's the code to delay 1 second for a 16 MHz clock (untested): delay: LDI r18, 0xFC LDI...
Saturday, 6 April 2019 - 19:49
ATmega328PB IO header missing in Atmel Studio (fresh install)
Hi. I just installed the latest version of Atmel Studio (7.0.1645) from Microchip and updated the ATmega_DFP via the pack manager:       For some reason my...
Tuesday, 15 May 2018 - 08:03
Learning Microchip's New AVR Lineup vs PIC vs ARM??
Hey folks. Big fan of older AVRs. ATmega, ATtiny, etc. Have many tutorials on my website that use these devices.   Here's the deal. I have a project that requires a...
Thursday, 2 November 2017 - 06:19
Incorrect Division Results + Disabling Inline Expression Replacement
Hi all. Couple of issues I'm having trouble with:   Issue 1) I'm having trouble understanding how the AVR handles division. In the AVR code below I have three method of...
Monday, 7 September 2015 - 20:30
Timer ISR generation rate reduced with computation - why??
Hi all. Hopefully someone can explain the following observation. Background I'm trying to implement a software PWM expander for servo control. So I've setup a framework to...
Sunday, 10 March 2013 - 22:04
AVR Studio 6 - build problems... simple fix?
Hi all. So I just installed AVR Studio 6 and literally 10 minutes in I'm already having build problems. Great. Should be something simple I imagine. I created a new project (...
Saturday, 26 May 2012 - 03:36