Type in the full discussion title or a part of it.
Discussion Title Created date
absl and absll missing from avr-libc
Hi, I noticed that the absolute value functions for long and long long are missing from avr-libc. I know abs is built into gcc, so I thought it would know about this, but when I...
Sunday, 24 May 2009 - 00:58
-fdata-sections for flash?
I have a program which compiles for various avrs, and on the smaller parts, certain data section in flash are not referenced. Unfortunately the -fdata-sections option only...
Wednesday, 6 May 2009 - 19:36
Switch to 3 byte function pointers for 3 byte PC?
I just got a bootloader working on my atmega2561, to jump to the application from the bootloader requires: EIND = 0; ((void (*)(void))0)(); This is pretty annoying, since...
Saturday, 25 April 2009 - 01:04
atmega2561V not working below 3.5v
hi, I got my atmega2561v working great at 5v, then I found it no longer ran at 3v even with a clock of only 8mhz. I had a simple program outputting text over the uart. I hooked...
Thursday, 23 April 2009 - 07:37
programming atmega2561V over isp
Hi, I have the atmega2561V, but the datasheet says it can take 5v, so I figure just for programming the bootloader I will run it at 5v off the isp programmer. I have tried both...
Tuesday, 21 April 2009 - 10:21
avr superoptimizer
I noticed avr-gcc has a lot of room for improvement in code size/speed. One reason gcc can't do more advanced optimizations is how the output tree is described in terms of the...
Saturday, 18 April 2009 - 10:22
cheap laser range finder
I have an idea for how to build a time of flight laser range finder for pretty cheap with an avr. My plan is to take a laser diode and matching frequency photoreceptor. The...
Wednesday, 4 March 2009 - 09:39
gcrt1.S
Hi, I noticed the new gcrt1.S in cvs avrlibc defines vectors all the way up to 125. This is very bad because it wastes flash space on older smaller parts which have nowhere near...
Friday, 27 February 2009 - 20:12
functionalize assembly
Hi, I took a look at some of the assembly gcc generates. To shift a 32 bit integer by 2 bits: ldi r31, 2 1: asr r27 ror r26 ror r25 ror r24 dec r23...
Wednesday, 18 February 2009 - 11:06
computer program to order components
I wrote a simple computer program which tells you where to get parts to make things cheapest. For example, I tell it the digikey prices (with price breaks) for all the parts I...
Tuesday, 10 February 2009 - 20:25
PROGMEM array of PSTR
Hi, I seem to get an error with: const char *const test[] PROGMEM = {PSTR("a")}; error: initializer element is not constant error: (near initialization for ‘test[0]’) Of...
Thursday, 5 February 2009 - 19:03
ftdi and battery
Hi, I want to hook the ftdi chip to communicate with an avr. The problem is, the avr is battery powered, and recharges the battery over usb. The ftdi datasheet says the ftdi...
Thursday, 29 January 2009 - 18:46

Pages