Re: [avr-gcc-list] AVR Studio 4.19 does not work with AVR Toolchain 3.4.0 (informative)

2012-08-09 Thread Daniel O'Connor
which thread of conversation a given message is for. Replying to a message preserves these so if you don't want that you need to start a new message. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards

Re: [avr-gcc-list] Specification of AVR ELF format?

2010-09-24 Thread Daniel O'Connor
libbfd, or libelf? Personally I have makefile rules to generate the hexfile to feed avrdude (and also have a 'prog' target which programs the micro). -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many

Re: [avr-gcc-list] TWI Master Routine

2009-05-11 Thread Daniel O'Connor
for a routine that takes advantage of the hardware. There is a C example in the avr-libc page which you could compile with '-Wa,-adhlmsn=foo.lst' and examine foo.lst. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards

Re: [avr-gcc-list] External EEPROM verses internal EEPROM data handling

2009-05-04 Thread Daniel O'Connor
should be first. This is more important on 32bit processors and up than on the 8bit AVRs. You could just mark the struct as packed, eg.. typedef struct eventdata { ... } __attribute__ ((packed)) ED; -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au

Re: [avr-gcc-list] External EEPROM verses internal EEPROM data handling

2009-05-04 Thread Daniel O'Connor
On Mon, 4 May 2009, David Kelly wrote: On Mon, May 04, 2009 at 10:21:50PM +0930, Daniel O'Connor wrote: On Mon, 4 May 2009, Bob Paddock wrote: ? ? ? ? ? ? ? ?uint16_t voltage[24]; ? // adc counts of 24 channels in an array } ED; ? ? ? ? ? // total data = 58 bytes Because of issues

Re: [avr-gcc-list] Re: External EEPROM verses internal EEPROM data handling

2009-05-04 Thread Daniel O'Connor
On Mon, 4 May 2009, David Brown wrote: Daniel O'Connor wrote: On Mon, 4 May 2009, Bob Paddock wrote: uint16_t voltage[24]; // adc counts of 24 channels in an array } ED; // total data = 58 bytes Because of issues of structure packing it is better to define

Re: [avr-gcc-list] Re: External EEPROM verses internal EEPROM data handling

2009-05-04 Thread Daniel O'Connor
On Mon, 4 May 2009, David Brown wrote: Daniel O'Connor wrote: On Mon, 4 May 2009, David Brown wrote: Daniel O'Connor wrote: On Mon, 4 May 2009, Bob Paddock wrote: uint16_t voltage[24]; // adc counts of 24 channels in an array } ED; // total data = 58 bytes

Re: [avr-gcc-list] Floating Point operations on tiny25

2009-03-04 Thread Daniel O'Connor
I'll be honest) I ended up bodging up something quick and dirty for 1-wire temperature conversion but I don't pretend it's pretty :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them

Re: [avr-gcc-list] Floating Point operations on tiny25

2009-03-04 Thread Daniel O'Connor
a WinAVR release candidate out this week. That is great news, thanks Sean (and Eric). -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint

Re: [avr-gcc-list] Re: sprintf

2009-02-27 Thread Daniel O'Connor
://www.nongnu.org/avr-libc/user-manual/group__avr__stdio.html#ga3b98c0d17b35642c0f3e4649092b9f1 Also, while it IS a pig (relative to the micro flash size and CPU) it is very powerful and for a lot of applications the speed is not critical. -- Daniel O'Connor software and network engineer for Genesis Software

Re: [avr-gcc-list] ICE in GNU ld

2009-02-13 Thread Daniel O'Connor
On Friday 13 February 2009 17:30:16 Daniel O'Connor wrote: On Friday 13 February 2009 16:38:59 Weddington, Eric wrote: I could try it on a FreeBSD box but the ports only go up to 4.3.1. That would be acceptable too. Just not 4.3.0. OK, it's crunching its way through it.. It still

Re: [avr-gcc-list] ICE in GNU ld

2009-02-13 Thread Daniel O'Connor
On Saturday 14 February 2009 11:31:37 Weddington, Eric wrote: Could someone also report this bug on the binutils bug list?: http://sourceware.org/bugzilla/ Please put my email address in the CC field, and let me know the bug #. OK done, bug #9841. -- Daniel O'Connor software and network

Re: [avr-gcc-list] ICE in GNU ld

2009-02-13 Thread Daniel O'Connor
On Saturday 14 February 2009 13:46:09 Weddington, Eric wrote: Oh, could you try using the --debug-relax switch in your linker switches? (-Wl,--debug-relax). Perhaps that will give us some more information about this problem. OK done, I have amended the bug report. -- Daniel O'Connor software

[avr-gcc-list] ICE in GNU ld

2009-02-12 Thread Daniel O'Connor
: single gcc version 4.3.0 (GCC) I'm not sure exactly where I submit the bug report.. I can upload/email the whole project somewhere if someone would like to take a look. I am running Ubuntu 8.10 (32 bit) if it makes a difference. -- Daniel O'Connor software and network engineer for Genesis Software

Re: [avr-gcc-list] ICE in GNU ld

2009-02-12 Thread Daniel O'Connor
-- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C signature.asc Description

Re: [avr-gcc-list] Strings: escape sequence to insert arbitrary hex value ?

2009-02-05 Thread Daniel O'Connor
but I don't know how :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Re: [avr-gcc-list] Strings: escape sequence to insert arbitrary hex value ?

2009-02-05 Thread Daniel O'Connor
On Thursday 05 February 2009 17:22:49 Vincent Trouilliez wrote: On Thu, 5 Feb 2009 16:28:55 +1030 Daniel O'Connor docon...@gsoft.com.au wrote: I had a go at getting that to work with preprocessor magic but I don't think it's possible (I'm no CPP guru though). Actually, how about

Re: [avr-gcc-list] About context saving in Vectors

2009-01-14 Thread Daniel O'Connor
well tested code! :) Thanks. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

[avr-gcc-list] Re: thread hijack

2009-01-05 Thread Daniel O'Connor
++; } } -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C signature.asc

Re: [avr-gcc-list] Programming Atmel FPGAs from AVR?

2007-05-20 Thread Daniel O'Connor
for it?, etc.. I think you could fairly easily program the FPGA in slave serial mode (Xilinx FPGAs can do this, they are the only ones I have used), or you could implement a JTAG engine and get the Atmel tools to generate a STAPL file (or something similar). -- Daniel O'Connor software and network

Re: [avr-gcc-list] Implementation RS485 communication in c

2007-03-27 Thread Daniel O'Connor
? Is there a master/slave relationship? What is the data rate? etc etc.. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94

Re: [avr-gcc-list] usbi2c

2006-11-15 Thread Daniel O'Connor
://www.xs4all.nl/~dicks/avr/usbtiny/ -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Re: [avr-gcc-list] infra remote

2006-11-14 Thread Daniel O'Connor
On Wednesday 15 November 2006 12:46, [EMAIL PROTECTED] wrote: For what the OP wanted, and more: http://www.xs4all.nl/~dicks/avr/usbtiny/ Wow that's awesome.. Time to make a project or two I think :) -- Daniel O'Connor software and network engineer for Genesis Software - http

Re: [avr-gcc-list] big string into the ROM

2006-04-10 Thread Daniel O'Connor
then it will be copied into RAM at startup because the compiler doesn't know it is read only. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG

Re: [avr-gcc-list] Program Listing With C Comments

2006-03-31 Thread Daniel O'Connor
foo.dmp -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgp68ZAeVNiJQ.pgp

Re: [avr-gcc-list] Fuses through programmer or through code?

2006-02-17 Thread Daniel O'Connor
.. Cheers, - Micah ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about

Re: [avr-gcc-list] Cygwin NTFS hard links?

2006-01-02 Thread Daniel O'Connor
supports hardlinks natively. You can download a tool from MS to make them (or it comes with Windows.. I forget). It doesn't support symlinks though AFAIK. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so

Re: [avr-gcc-list] Help, Compiler ignores some part of the function!

2005-12-02 Thread Daniel O'Connor
don't get any problems with nested comments. I'm not sure if you're compiling with -Wall, but that is almost always a good idea as the compiler will usually tell you when you make mistakes even if it feels like it's being too picky :) -- Daniel O'Connor software and network engineer for Genesis

Re: [avr-gcc-list] Butterfly RS232?

2005-11-29 Thread Daniel O'Connor
(they are at the same address - at least on ATMega32's) you need to set the MSB (URSEL), eg UCSRC = _BV(URSEL) | _BV(UCSZ0) | _BV(UCSZ1); -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many

Re: [avr-gcc-list] use of specifin RAM location

2005-11-28 Thread Daniel O'Connor
On Tue, 29 Nov 2005 11:11, [EMAIL PROTECTED] wrote: That's exactly how I've done it at the moment. Heh, sorry, I sort of was replying to the original poster's email via yours :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about

Re: [avr-libc-dev] Re: [avr-gcc-list] Poll: Who uses itoa() co with base != {2, 8, 10, 16}?

2005-11-19 Thread Daniel O'Connor
-time option. It will if it's implemented correctly, eg in stdlib.h #ifdef _USE_FULL_ITOA #define itoa _itoa_full #else #define itoa _itoa_small #endif -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards

Re: [avr-gcc-list] Poll: Who uses itoa() co with base != {2, 8, 10, 16}?

2005-11-18 Thread Daniel O'Connor
On Sat, 19 Nov 2005 07:22, Joerg Wunsch wrote: Do you have a PayPal account so that I can send you a donation for all your hard work? Ah, no, c'mon. I've got a pay job, and this is just the fun stuff. Let's keep them separate. You could use it as beer money ;) -- Daniel O'Connor

Re: [avr-gcc-list] Gamepad

2005-11-16 Thread Daniel O'Connor
data out via the joystick button lines.. Gross, but pretty neat all the same :) There is some Linux code which groks this beast.. http://glide.stanford.edu/lxr/source/drivers/input/joystick/sidewinder.c?v=linux-2.6.10 MS even have a patent on it.. -- Daniel O'Connor software and network

Re: [avr-gcc-list] AVR assembly for fast bit bang

2005-11-09 Thread Daniel O'Connor
On Wed, 9 Nov 2005 21:25, Mike S. wrote: Thanks for the reply Daniel O'Connor, but I usually don't use the optimization until I try a couple of and optimization techniques. I already had some bad experiences with the optimization in some Texas Instruments DSPs... If you don't tell GCC to do

Re: [avr-gcc-list] AVR assembly for fast bit bang

2005-11-08 Thread Daniel O'Connor
! The compiler should generate fast enough code for bit banging (in fact it should be 'perfect') as long as you have optimisation on. What does your existing code look like? Where is the bottleneck? -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au

Re: [avr-gcc-list] generating a delay

2005-10-24 Thread Daniel O'Connor
way to write a delay routine? You should tell the compiler that i j are volatile otherwise it will optimise your loop out of existance because it has no effects. If you want a nice an accurate delay loop you should write it in assembly. -- Daniel O'Connor software and network engineer

Re: [avr-gcc-list] Re: Problem with structure (Daniel O'Connor)

2005-10-04 Thread Daniel O'Connor
. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgp5JdjzDIc7g.pgp Description: PGP

Re: [avr-gcc-list] Problem with structure

2005-10-02 Thread Daniel O'Connor
message? I just tried it and it works for me.. #include sys/types.h typedef struct ranges_t { uint16_t Front; uint16_t Left; uint16_t Right; } RANGES; int main(int argc, char **argv) { RANGES Sonar[2]; Sonar[0].Front = 1; } -- Daniel O'Connor