Re: [avr-gcc-list] if test ignored?

2007-05-17 Thread kitts
mand() then   > clears sCommandReceived). > > What am I missing? You need to make sCommandReceived a volatile variable. -- Cheers! kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] Help Needed (UART / USART)

2007-03-30 Thread kitts
ng an unsigned data type. It seems to me that you do not have a debugger. Instead of in main, put differrent value out on the receive function just to know which condition came true. -- Cheers! kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongn

Re: [avr-gcc-list] avoiding custom linker scripts by passing CLI arguments

2007-03-30 Thread kitts
t; If you want generic GCC toolchain information then go to the generic > mailing lists: > > Binutils: > <http://www.gnu.org/software/binutils/> > Where you can ask about the linker. Mailing list info is towards the > bottom. Thanks. I have posted

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

2007-03-29 Thread kitts
atmegas, that is as simple as it could probably get. Half of full duplex? I may not change greatly from regular UART communication. -- Cheers! kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

[avr-gcc-list] avoiding custom linker scripts by passing CLI arguments

2007-03-29 Thread kitts
information is generic of the GCC toolchain. My immediate requirement of this kind is for the coldfire port. Any help will be appreciated. -- Cheers! kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo

Re: [avr-gcc-list] Help Needed (UART / USART)

2007-03-18 Thread kitts
nt a character '8' and > have set up receiving code to accept and interpret it. Could you please > evaluate the RX code, am I missing something? Thanks much in advance. Your receive code seems fine but before you debug that i recommend that confirm with your oscilloscope that the RX

Re: [avr-gcc-list] Help Needed (UART / USART)

2007-03-18 Thread kitts
;  { >  send_val_1('8'); > // send_val_1('7'); > // send_val_1('6'); >  } > return 0; > } > / END OF TX CODE/ -- Cheers! kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] Bit-wise structure and unions

2006-11-22 Thread kitts
works fine on the output latch register. Is this not how it is with the AVR as well? We write into the PORTx register but read pin states from the PINx registers. -- Cheers! kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.n

Re: [avr-gcc-list] Regression tests

2005-11-15 Thread Kitts
ch do not exist in its library. -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] CVS or SVN ?!

2005-09-30 Thread Kitts
important to learn as all of them are very similar to use with varing qualities of GUI. As a user, IDE integration is very important. -- Cheers! Kitts On Friday 30 Sep 2005 2:15 pm IST, Vincent Trouilliez wrote: VT> Hi list, VT> VT> VT> I have been advised to use CVS when develop

Re: [avr-gcc-list] Syntax : how to specifiy a binary constant ?

2005-09-22 Thread Kitts
. You are right. the debian packages do not contain these patches. They are not patched to generate the COFF debug patch either. I recently built myselt the tool chain of avr-gcc, avr-libc, avr-binutils and avrdude. I have generated .deb packages that i can share with you. These should support bin

Re: [avr-gcc-list] latest avr toolset on linux

2005-09-21 Thread Kitts
you'll be able to do JW> -- that's the good news.) JW> -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] latest avr toolset on linux

2005-09-20 Thread Kitts
the tools, i did not use the installation directory /usr/local/avr to build the tools but instead built them in the home directory. Does that matter? -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

[avr-gcc-list] latest avr toolset on linux

2005-09-20 Thread Kitts
debugging. Previously i used the files provided by Rod at http://home.telkomsa.net/antera/ -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] Strings in flash

2005-08-01 Thread Kitts
lumn into my C code. I had both the table and the strings in ROM. This method helped me plenty as i would repeatedly chance the strings during development. It also helped me document it more easily! :-) Hope this helps. -- Cheers! Kitts ___ AVR-GC

Re: AW: [avr-gcc-list] double precision bit representation

2005-07-07 Thread Kitts
. I'll ensure a "Most Significant Bit/Byte first". :-) Thanks again. -- Cheers! Kitts On Thursday 07 Jul 2005 8:09 pm IST, Stumpf Michael wrote: SM> see http://babbage.cs.qc.edu/courses/cs341/IEEE-754hex32.html SM> SM> :-Ursprüngliche Nachricht- SM> :Von: [EM

Re: [avr-gcc-list] double precision bit representation

2005-07-07 Thread Kitts
pattern. I would like to know how you do it. I tried googling around to get info but failed. May be i was not searching right! -- Cheers! Kitts PN> Hello, PN> PN> Currently avr-gcc supports only float and not double. PN> The byte pattern given in your query results in a PN>

[avr-gcc-list] double precision bit representation

2005-07-06 Thread Kitts
91 3F Thanks in Advance. -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] array of structures with variables in flash

2005-06-10 Thread Kitts
t; static struct S not_shared_struct = {2, 6}; Yes, but i wanted to know how i do it for the stucture which has no name as above. Stupid doubt i guess... All i had to do was give the structure a name like "command_proto". Sorry! When i fall short of sleep... i come up with stupid ideas / doubts! ;-) > //shared and not_shared variables are accessible > > > other_file.c: > > #include "globa.h" > > //shared variables are accessible -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

[avr-gcc-list] array of structures with variables in flash

2005-06-10 Thread Kitts
say global.c, i want the structure to be accessible in other files like this; length = strlen_P(command[XYZ].name); Thanks in advance. -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] [OT] Chaning default reply-to address

2005-06-05 Thread Kitts
some way to change it so that the default reply to > address is the list address ? Thanks Anton. I was going to post a similar request. I hope there can be this change. Alternately i have to get used to using "Reply to all" instead of just "

Re: [avr-gcc-list] PEN on atmega128

2005-06-04 Thread Kitts
need for it. I have left the pin floating in my system's design and it all works fine. -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] strlen() returns erroneous values

2005-06-04 Thread Kitts
silly questions. I am not used to this separation of flash and RAM. My previously used compiler handled flash strings in a different way. -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] strlen() returns erroneous values

2005-06-04 Thread Kitts
On Saturday 04 Jun 2005 1:01 am IST, Kitts wrote: > Hi All, > > Are there any special considerations to take care of when using the > function strlen()? The function does not always return the right > values. Some times it appears to skip a NULL character and reaches > out to

[avr-gcc-list] strlen() returns erroneous values

2005-06-03 Thread Kitts
documentation i found the function to have the "_ATTR_PURE_" attribute. Could this be the cause for the problem? What does this attribute signify anyway? -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.

[avr-gcc-list] Re: [avr-chat] will an avr be fast enough...

2005-06-03 Thread Kitts
t but the max program memory was something like 4KB which is why i did not bother. I still do not see a listing of this under product listings on their website!? -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] ATMega128 pcb, startup problem...

2005-06-01 Thread Kitts
he ATmega103 compatibility mode enabled. This just might be your problem. -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] ATMega128 pcb, startup problem...

2005-06-01 Thread Kitts
rinted, no > changed surface) > in the lower right corner. Is the micro correctly soldered onto the > pcb? > > What else could be wrong? > > Can i give some more information? > > Any help is appreciated. > > > Best regards, > Torsten. > > > >

Re: [avr-gcc-list] problems on linux

2005-05-31 Thread Kitts
On Tuesday 31 May 2005 11:07 pm IST, you wrote: > Kitts wrote: > >Hi All, > > > >Does anybody here use FreeRTOS with the AVR? > > > >Well! With FreeRTOS, i tried running the demo application making > >suitable modifications for use with the atmega16 but it

[avr-gcc-list] problems on linux

2005-05-31 Thread Kitts
advice! -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] What method should I use to get started?

2005-05-13 Thread Kitts
better!" the STK500 is a very useful tool making it very convenient for development. The STK500 itself does not have any character displays. AFAIK it is the STK502 extention that provided character displays. Again these are LCD characters and not 7 segment led displays.

Re: [avr-gcc-list] Embedded C programming and the Atmel AVR

2005-04-27 Thread Kitts
l but suggest that you quickly move on to GCC (If it is what you want to use :-)) by reading the GCC manual and the AVR-libc manual as suggested. Welcome to the world of the AVR! -- Cheers! Kitts ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org h