Type in the full discussion title or a part of it.
Discussion Title Created date
Map file analysis tool
I am considering putting together a free online tool for map file analysis. Something that accepted a gcc linker mapfile and showed a sortable data table and with a bar chart that...
Wednesday, 27 May 2009 - 22:40
[FAQ] [C] (writing a) Bootloader FAQ
Planning to create a custom bootloader? This document answers many of the questions you may have. Most of the concepts covered within are not discussed thoroughly in datasheets,...
Tuesday, 19 May 2009 - 00:47
eeprom and bod
The datasheet for the at90usb162 (and others) talks about preventing eeprom corruption by enabling the internal brown-out detector. But I haven't found anything that says what the...
Thursday, 7 May 2009 - 02:15
whole program optimization with .S files
I am testing the avr-gcc -combine -fwhole-program flags, and copied bits from the example makefile.wpo in winavr. But the example doesn't take .S asm files in account. This is...
Wednesday, 6 May 2009 - 23:19
Atmel's ugly example code
A bit of a rant here... but I'm getting tired of Atmel's buggy bloated example code. Mostly I've used their usb framework and examples, and for the most part its horrible. I've...
Friday, 1 May 2009 - 19:41
Preventing gc-sections of one section
I am working on sharing code between an app and bootloader. I am locating a jump table at the end of the bootloader that is in its own named section and positioned with --section-...
Wednesday, 29 April 2009 - 22:37
Sharing an ISR (and globals) with a bootloader
Thanks to various helpful threads, I've managed to share code between my app and bootloader with a jump table at a fixed location in the bootloader. Now I'd like to share an ISR...
Wednesday, 29 April 2009 - 20:18
Nice .progmem.data output from objdump
When .progmem.data that was declared in C code with PROGMEM is dumped by avr-objdump , I get a nice hex-style output with bytes and characters. But when I do something like the...
Wednesday, 23 April 2008 - 07:00
Code generation question
Given the following C expression (or equivalent if-else statement) uint8_t x = (var & 0x80) ? 0x87 : 0 avr-gcc generates code like this sbrs r21,7 ; 1,2 rjmp ....
Tuesday, 22 April 2008 - 07:56
Should this be optimized?
I've been optimizing some code for size and speed, and found that the code below generated a surprisingly large amount of ASM. xor_block(byte *dst, byte *src1, byte *src2...
Tuesday, 22 April 2008 - 01:56
My reflow solder project (pics)
I uploaded photos of my first reflow solder project here: https://www.avrfreaks.net/index.p... I've since finished assembling my second project, which was substantially harder....
Wednesday, 2 April 2008 - 20:52
Scope measurement question
I have a Tektronix TDS 2012B (100MHz, 1.0GS/s) and its not clear to me how frequency is calculated in various readout, and the manual isn't much help. I am measuring what should...
Monday, 31 March 2008 - 23:59

Pages