avr-gcc-12.1.0-x64-windows new warnings ?

2023-04-23 Thread Royce Pereira
What is this warning and what array is it referring to? Thank you! -- Best Regards, -- Royce Pereira

Test

2023-04-23 Thread Royce Pereira
Test -- Best Regards, -- Royce Pereira

Re: Strange new error in make

2021-10-14 Thread Royce Pereira
it did not delete the path entries. after deleting them manually, problem solved1 Thank you !! On Thu, 14 Oct 2021 at 11:50, wrote: > > On 13.10.21 17:31, Royce Pereira wrote: >> Today I started getting this error when i run make: >> >> make: *** No rule to make t

Strange new error in make

2021-10-13 Thread Royce Pereira
: I'm using windows 10 and make.exe is in : C:\MinGW\msys\1.0\bin\make.exe Which is defined in my path. Please advise. Thank you! -- Best Regards, -- Royce Pereira

Re: error in make

2020-09-26 Thread Royce Pereira
dows" those strange errors disappear.. >> >> Another thing you can try is: >> make --dry-run >> You can examine the commands that make would generate for any errors. >> >> >> -- Nigel >> >> On Fri, 25 Sep 2020 at 11:48, Georg-Johan

Re: error in make

2020-09-25 Thread Royce Pereira
op. Again, this is probably because of the invalid path above (c\;\...) but i cant figure out the source of this invalid path. Could someone kindly shed some light on this? Thanks! On Tue, 22 Sep 2020 at 15:13, Royce Pereira wrote: > Hi, > > Ok, I deleted all generated files save my c file

Re: error in make

2020-09-22 Thread Royce Pereira
Hi, Ok, I deleted all generated files save my c file. Now the error is not displayed, and the project compiles. However, it would be interesting to know what causes it ! Thank you, On Tue, 22 Sep 2020 at 15:08, Royce Pereira wrote: > Hi, > > Recently I am getting a strange er

error in make

2020-09-22 Thread Royce Pereira
=.s) $(REMOVE) $(SRC:.c=.d) $(REMOVE) .dep/* # Include the dependency files. -include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*) # Listing of phony targets. .PHONY : all begin finish end sizebefore sizeafter gccversion \ build elf hex eep lss sym coff extcoff \ clean clean_list program debug gdb-config -- Best Regards, -- Royce Pereira

Re: Saving & retreiving a structure in eeprom

2020-06-10 Thread Royce Pereira
*), (const void *)eepLoc, num) ; > > What is num? > >-=Dave > -- > *From:* AVR-GCC-list > on behalf of Royce Pereira > *Sent:* Tuesday, June 9, 2020 8:18 AM > *To:* avr-gcc-list@nongnu.org > *Subject:* Saving & retreiving a structure

Saving & retreiving a structure in eeprom

2020-06-09 Thread Royce Pereira
rn 0 ; } //--- The getPgm function uses the read block api but retreives garbage(0x); What am I doing wrong ? Thank you! -- Best Regards, -- Royce Pereira -- Best Regards, -- Royce Pereira

Where is the error (stdout)

2020-02-07 Thread Royce Pereira
) I ignored this warning for a long time. Recently, I got curious as to the nature of the error. So what has changed recently ? Thanks! -- Best Regards, -- Royce Pereira

Re: [avr-gcc-list] Winavr2010 on Windows 8.1

2015-03-29 Thread Royce Pereira
install mingw C/C++ compiler. Or give Atmel Studio another try. On Fri, Mar 27, 2015 at 10:38 PM, Royce Pereira royc...@gmail.com wrote: OK, as suggested, I tried MHV AVR tools, If I run make clean (or make all) I get the following errors make.exe clean all The system cannot find the path

Re: [avr-gcc-list] Winavr2010 on Windows 8.1

2015-03-27 Thread Royce Pereira
at 5:10 PM, Royce Pereira royc...@gmail.com wrote: Thank you! Your link solved the issue ;-) Best regards, Royce On Sep 10, 2014 10:09 AM, Dhakshinamoorthy, Soundararajan soundararajan.dhakshinamoor...@atmel.com wrote: Perhaps you could give this a try, in case you haven't. http

Re: [avr-gcc-list] Winavr2010 on Windows 8.1

2015-03-27 Thread Royce Pereira
saying that msys-intl-8.dll is missing. So what's going on ? Thank you. On Fri, Mar 27, 2015 at 2:16 PM, Royce Pereira royc...@gmail.com wrote: Thank you. I'll try it and report back in 24 hrs. On Mar 27, 2015 1:47 PM, vasi vasi funl...@gmail.com wrote: Royce, I did that already. https

[avr-gcc-list] String declaration query

2014-07-06 Thread Royce Pereira
Regards, -- Royce Pereira ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Re: [avr-gcc-list] String declaration query

2014-07-06 Thread Royce Pereira
Lay a...@gjlay.de wrote: Royce Pereira schrieb: Hi, What is the differenence between: __flash const char myString[] = Hello There! ; myString is a const array in flash that's initialized with Hello There!. and __flash const char *myString = Hello There! ; myString is a non-const

Re: [avr-gcc-list] Some issues with array of pointers to functions

2014-06-16 Thread Royce Pereira
Thank you, Georg-Johann, I will try this and report. :) On Mon, Jun 16, 2014 at 3:19 PM, Georg-Johann Lay a...@gjlay.de wrote: Am 06/13/2014 12:06 PM, schrieb Royce Pereira: Hi all, Continuing with the latest avr-gcc, and playing with the new '__flash' qualifier, I'm facing some new

Re: [avr-gcc-list] String array in ROM gives error in spite of following example code.

2014-06-16 Thread Royce Pereira
Thank you, Georg-Johann, That was very informative ! On Mon, Jun 16, 2014 at 3:28 PM, Georg-Johann Lay a...@gjlay.de wrote: Am 06/12/2014 12:23 PM, schrieb Royce Pereira: Hi, I recently updated WinAVR to a newer version of the AVR-GCC toolchain, downloaded from the Atmel site. My version

Re: [avr-gcc-list] String array in ROM gives error in spite of following example code.

2014-06-13 Thread Royce Pereira
, Jun 13, 2014 at 11:19 AM, Joerg Wunsch j...@uriah.heep.sax.de wrote: Royce Pereira royc...@gmail.com wrote: Even the libc documentation, which was once the bible of avr-gcc on this is not accurate. The sample code just does not work. Apparently, nobody noticed before. Please, file a bug

Re: [avr-gcc-list] String array in ROM gives error in spite of following example code.

2014-06-13 Thread Royce Pereira
Thank you, all, for the guidance. On Fri, Jun 13, 2014 at 12:44 PM, Senthil Kumar Selvaraj senthil_kumar.selva...@atmel.com wrote: On Fri, Jun 13, 2014 at 12:02:58PM +0530, Royce Pereira wrote: Thanks, Joerg, This is news to me :) ! I googled for '__flash qualifier in AVR-GCC' and I

[avr-gcc-list] Some issues with array of pointers to functions

2014-06-13 Thread Royce Pereira
me an idea of what's happening and how to get rid of the warnings ? Thank You ! ^ -- Best Regards, -- Royce Pereira ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc

[avr-gcc-list] String array in ROM gives error in spite of following example code.

2014-06-12 Thread Royce Pereira
((progmem))' //- But I have followed the avr-libc example exactly. So why is this error thrown and whats the correct way to do this ? Thank You. -- Best Regards, -- Royce Pereira ___ AVR-GCC-list mailing

Re: [avr-gcc-list] String array in ROM gives error in spite of following example code.

2014-06-12 Thread Royce Pereira
...@gmail.com wrote: Hello, Newer version of gcc have changed the progmem behaviour, it cannot be applied to typedef anymore if I remember well. const char * pgtmp_msg[] should solve your issue Regards Francois On Thu, Jun 12, 2014 at 12:23 PM, Royce Pereira royc...@gmail.com wrote: Hi, I

Re: [avr-gcc-list] String array in ROM gives error in spite of following example code.

2014-06-12 Thread Royce Pereira
,}; ^ Is there a proper way of doing this, now that the libc example too is inaccurate ? On Thu, Jun 12, 2014 at 4:04 PM, Royce Pereira royc...@gmail.com wrote: Francois, No, that does not work. In fact, it was *exactly* what i was using before (which was not as per the libc examples). But it gave

Re: [avr-gcc-list] String array in ROM gives error in spite of following example code.

2014-06-12 Thread Royce Pereira
Sorry, the 'word' type means 'unsigned integer'. I have a header that defines 'word'. :-) On Thu, Jun 12, 2014 at 4:08 PM, Royce Pereira royc...@gmail.com wrote: I found that this does not throw an error: const word pgtmp_msg[]PROGMEM = { ptmpUP_msg, ptmpDN_msg, ptmpCLG_msg

Re: [avr-gcc-list] String array in ROM gives error in spite of following example code.

2014-06-12 Thread Royce Pereira
++. ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list -- Best Regards, -- Royce Pereira ___ AVR-GCC-list mailing list AVR-GCC-list

Re: [avr-gcc-list] String array in ROM gives error in spite of following example code.

2014-06-12 Thread Royce Pereira
senthil_kumar.selva...@atmel.com wrote: On Thu, Jun 12, 2014 at 09:58:54PM +0530, Royce Pereira wrote: I'll try the various suggestions tomorrow. But I'm surprised at the diverse replies. Don't people declare an array of strings anymore ? :-) Well, the compiler is now stricter

Re: [avr-gcc-list] ATmega32A

2011-06-17 Thread Royce Pereira
Hi, all, Indeed there is no (code wise) difference between 32, 32L 32A (also applies to other MPUs like Mega8 etc). I recently tried a commercial compiler, where selection for 32, 32L, 32A was given separately, and posed the same query to them. The answer was All three are the same for the

Re: [avr-gcc-list] Avrdude hfuse error message (tiny26) ...

2010-04-18 Thread Royce Pereira
Hi, Your link opens a page that says This item is private . I guess I need to login ? I am not registered there. Is there another link or can the matter be reproduced here please ? Regards, --Royce On Sun, Apr 18, 2010 at 3:46 PM, Joerg Wunsch j...@uriah.heep.sax.de wrote: Royce Pereira

[avr-gcc-list] Avrdude hfuse error message (tiny26) ...

2010-04-16 Thread Royce Pereira
Hi, I had posted this issue a year ago, but got no reply. In the meantime, I was using AVR studio for programming, so I forgot about this. Now I'm returning to avrdude, and I again encountered curious problem . My avrdude command line is: avrdude -p t26 -u -U micro-cntr.hex -U

Re: [avr-gcc-list] WINAVR with GCC 4.3.3

2009-06-22 Thread Royce Pereira
Hi, I have a project built around a Tiny26. It was compiled with WinAVR-20070525. I'd stuck to this version for a long time, until recently when I upgraded to 20090313. Soon after, I had to recompile my project due some change in specs. Imagine my shock when AVRstudio complained that the

[avr-gcc-list] Windows 7 issue ? Avrdude - strange garbage at end of filename

2009-04-27 Thread Royce Pereira
Hi, Today I decided to try our Windows 7 (beta build 7077). This is the build just before RC1. I aso installed just today WinAVR 2090313. I'm not sure if either one could be at fault. When I try to use Avrdudein the DOS window, or thru a bat file,it reads funny garbage at the end of the

Re: [avr-gcc-list] Windows 7 issue ? Avrdude - strange garbage at endof filename

2009-04-27 Thread Royce Pereira
Hi, -- From: Weddington, Eric eric.wedding...@atmel.com Sent: Monday, April 27, 2009 10:55 PM To: Royce Pereira royc...@gmail.com; avr-gcc-list@nongnu.org Subject: RE: [avr-gcc-list] Windows 7 issue ? Avrdude - strange garbage at endof filename

Re: [avr-gcc-list] inquiry

2009-03-10 Thread Royce Pereira
I dont think there exists a 'lcd.h' file with avr-gcc. You need to write your own lcd code for the lcd you are using. --Royce. - Original Message - From: ankit agarwal To: avr-gcc-list@nongnu.org Sent: Sunday, 08 March, 2009 3:17 PM Subject: [avr-gcc-list] inquiry dear

[avr-gcc-list] Auto write calibration bytes

2007-11-23 Thread Royce Pereira
Hi, I'm using AVRdude. While programming, I'm trying to retreive, and then write into the 1st 4 eeprom locations,, the calibration bytes. The device gets programmed. Also the the calibration bytes are read to the specifie file, but fails while writing to eeprom. The command line, subsequent

Re: [avr-gcc-list] WinAVR error ?

2007-11-05 Thread Royce Pereira
Hi Eric, - Original Message - From: Royce Pereira [EMAIL PROTECTED] To: Eric Weddington [EMAIL PROTECTED]; 'Dean Hi, - Original Message - From: Eric Weddington [EMAIL PROTECTED] Recently I posted a rebased msys DLL (located in utils\bin in your installation) in the AVR

[avr-gcc-list] WinAVR error ?

2007-11-03 Thread Royce Pereira
Hi, I found that this problem was removed after uninstalling 'Spyware Doctor' from my PC. Is there anyone else with similar experience - who knows what settings to do in Spyware Doct ? Thanks, --Royce - Original Message - From: Royce Pereira [EMAIL PROTECTED] To: avr-gcc-list

[avr-gcc-list] Order of bytes

2007-10-07 Thread Royce Pereira
Hi, Sorry for my rusty C, In the following union union { uint32_t as_ul; struct { uint8_t by0; uint8_t by1; uint8_t by2; uint8_t by3; } asbyte; } lvar; What is the

[avr-gcc-list] Warning message

2007-10-03 Thread Royce Pereira
Hi all, What does the following warning mean? warning: comparison is always true due to limited range of data type Here is the context: I have a AVR I'm trying to connect to a DS1307 RTC chip via TWI. To check the integrity of the DS1307 internal ram, I plan to write 4 bytes,

Re: [avr-gcc-list] Warning message

2007-10-03 Thread Royce Pereira
Hi, On Wed, 03 Oct 2007 19:57:54 +0530, David Kelly [EMAIL PROTECTED] wrote: On Tue, Oct 02, 2007 at 11:25:30PM -0700, Dave N6NZ wrote: #define CHK_13070x55 if(twi_read() != ~CHK_1307) ok= 0; // ^^ //The offending line. I believe what is going on is the C standard

Re: [avr-gcc-list] Problem with delay loop

2007-10-02 Thread Royce Pereira
Hi, On Mon, 01 Oct 2007 13:02:32 +0530, David Brown [EMAIL PROTECTED] wrote: Royce Pereira wrote: So I have to write more 'C' code :) to get the same stuff done, in the 'new smarter' compiler! Interesting. Doesn't seem right, some how. Regards, --Royce. It might not seem right

Re: [avr-gcc-list] Problem with delay loop

2007-10-02 Thread Royce Pereira
Hi, David, On Wed, 03 Oct 2007 02:24:16 +0530, David Kelly [EMAIL PROTECTED] wrote: So? Why did *you* change compilers if the old one did what you wanted? If it doesn't do what you want then its your choice whether to change your code to conform or to revert to the compiler that did what you

[avr-gcc-list] Problem with delay loop

2007-09-28 Thread Royce Pereira
Hi all, In the latest WinAVR (avr-gcc (GCC) 4.1.2 (WinAVR 20070525) I found this. Check this out: //== void delay(unsigned del_cnt) { while(del_cnt--); return; } //=== Compiles as (from the .lss file): //===

Re: [avr-gcc-list] Problem with delay loop

2007-09-28 Thread Royce Pereira
Hi, On Fri, 28 Sep 2007 14:47:26 +0530, David Brown [EMAIL PROTECTED] wrote: This is probably in the FAQ somewhere - if not, it should be! The compiler is smart enough to figure out that your delay function does no useful work - thus the optimiser does not generate any code. This is

Re: [avr-gcc-list] Problem with delay loop

2007-09-28 Thread Royce Pereira
) { volatile unsigned int n = del_cnt; while (n--); } So I have to write more 'C' code :) to get the same stuff done, in the 'new smarter' compiler! Interesting. Doesn't seem right, some how. Regards, --Royce. mvh., David Royce Pereira wrote: Hi all, In the latest WinAVR (avr-gcc

Re: [avr-gcc-list] Problem with delay loop

2007-09-28 Thread Royce Pereira
Hi, On Fri, 28 Sep 2007 13:42:18 +0530, Klaus Rudolph [EMAIL PROTECTED] wrote: The code has been optimized. Well done! If you need the variable access use 'volatile' Why does it get optimised? I understand the meaning of 'volatile', but why is it required here ? It is clear that the variable

Re: [avr-gcc-list] Problem with delay loop

2007-09-28 Thread Royce Pereira
Hi Klaus, On Fri, 28 Sep 2007 14:57:14 +0530, Klaus Rudolph [EMAIL PROTECTED] wrote: Please use optimizer! Something like -O2 -O3 -Os ... as you need! My makefile already has OPT = s Simplify your delay loop: void delay(volatile word cnt) { ... Already tried that. No change. If it's

Re: [avr-gcc-list] Problem with delay loop

2007-09-28 Thread Royce Pereira
Hi all, OK fine I agree. we have to use 'volatile' and all. But why must it generate such horrid code... (I reproduce the comparison again below to get the *real* issue into focus) The compiler output with the 'correct' code ('volatile' used):

Re: [avr-gcc-list] array of pointers to functions - ok in RAM, fails in flash

2007-02-25 Thread Royce Pereira
Hi David, On Mon, 26 Feb 2007 02:07:54 +0530, David McNab [EMAIL PROTECTED] wrote: Surely it can't be too hard to place a table of function pointers into flash, retrieve function pointers from this table, and 'call' them. I remember as a newbie to the list, I'd asked this very question a

Re: [avr-gcc-list] Installing WinAVR 20070122 broke older3.4.5install?

2007-01-31 Thread Royce Pereira
Hi all, On Thu, 01 Feb 2007 00:45:09 +0530, Gavin Jackson [EMAIL PROTECTED] wrote: There is another key located at: HKEY_LOCAL_MACHINE\SOFTWARE\WinAVR What I've done to work around this problem is have a generic name in the registry and rename the folder the I've not been able to

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

2006-11-24 Thread Royce Pereira
Hi, On Wed, 22 Nov 2006 23:14:21 +0530, kitts [EMAIL PROTECTED] wrote: On Wednesday 22 November 2006 05:57 IST, David Kelly wrote: Some MCU families (believe HC12 is one) have a separate register for   reading the port's actual input/external value, and another for   reading output latches

Re: [avr-gcc-list] C coding question

2006-10-06 Thread Royce Pereira
Hi, On Fri, 06 Oct 2006 13:39:36 +0530, Nigel Winterbottom [EMAIL PROTECTED] wrote: -Original Message- From: larry barello Specifically I was looking for an efficient way to encode (bSomeBool ^ (SomeBitMask SomeVariable)) to get a true/false output.

[avr-gcc-list] Value negated before call ?

2006-09-29 Thread Royce Pereira
Hi all, I have a delay loop thus: // void delay(unsigned long count) { while(count) --count; } // When I call : delay(2*33000); I get: 878: 60 ed ldi r22, 0xD0 ; 208 87a: 71 e0

Re: [avr-gcc-list] BUG in WINAVR?

2006-08-12 Thread Royce Pereira
hi, so what was the problem? --royce On Sat, 12 Aug 2006 08:00:36 +0530, Trampas [EMAIL PROTECTED] wrote: I went and rewrote the code and it all works now. Trampas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Trampas Sent: Friday, August 11,

Re: [avr-gcc-list] suggestion

2006-07-05 Thread Royce Pereira
Hi, On Wed, 05 Jul 2006 17:57:50 +0530, [EMAIL PROTECTED] wrote: I'm a total newbie to avr-gcc and just compiled a first program. It merely fits the program memory so I've started to optimize.. In my code there lots of places where 1-2-3 bits are flipped in I/O port: My suggestion is to

Re: [avr-gcc-list] C Escape sequence.

2006-05-25 Thread Royce Pereira
Hu Justin, should'nt the array be declared as const unsigned char Ut doesnt matter here as I wont be doing any math or arithmetic on the elements. If it was not a string, then we would have to be more careful. --Royce. -- Using Opera's revolutionary e-mail client:

[avr-gcc-list] C Escape sequence.

2006-05-24 Thread Royce Pereira
Hi, Sorry for my rusty C, but how does one insert a hex value into a string? I tried const char messg[] PROGMEM= Temp= \xdfC; //display temperature in deg Centigrade and const char messg[] PROGMEM= Temp= \xdf\C; I'm using a 16x2 LCD, where 0xdf is the hex value of the little 'o' degree

Re: [avr-gcc-list] Suggestion

2006-05-01 Thread Royce Pereira
Hi Ned, On Mon, 01 May 2006 19:08:13 +0530, Ned Konz [EMAIL PROTECTED] wrote: Can I get the same in my AVR-GCC .lst, .lss etc output files thru my makefile ? Sure... just postprocess the files to add a header. Attached is a Perl script that adds such a header. Great - Thanks ! --Royce.

Re: [avr-gcc-list] Suggestion

2006-05-01 Thread Royce Pereira
Hi, On Tue, 02 May 2006 01:07:29 +0530, Joerg Wunsch [EMAIL PROTECTED] wrote: Royce Pereira [EMAIL PROTECTED] wrote: Can I get the same in my AVR-GCC .lst, .lss etc output files thru my makefile ? Even though Ned already showed you a way, I'm curious: what additional information would gain

[avr-gcc-list] Suggestion

2006-04-30 Thread Royce Pereira
Hi, I am using besides AVR-GCC, SDCC(freeware mcs51 compiler). The latter generates the following lines at the start of every output, which I find very useful - the date time actually: 1 ; 2 ; File

Re: [avr-gcc-list] Data in ROM

2006-04-23 Thread Royce Pereira
Hi, On Sun, 23 Apr 2006 20:37:18 +0530, Abdul Malik Khan [EMAIL PROTECTED] wrote: I have tried const unsigned char mask[] = {1, 2, 4, 8, 16, 32, 64, 128}; but compiler places it in RAM istead of ROM. --- Have you read the avr-libc manual the FAQ therein?

Re: [avr-gcc-list] [ANN] WinAVR 20060125 Released

2006-01-28 Thread Royce Pereira
On Thu, 26 Jan 2006 04:39:26 +0530, Eric Weddington [EMAIL PROTECTED] wrote: Ok, let's see if anything is broken on this one. Please let me know ASAP if you see anything wrong. Or if anything looks right for that matter. in the last WinAVR, I used to get a summary of memory usage at the end

Re: [avr-gcc-list] [ANN] WinAVR 20060125 Released

2006-01-28 Thread Royce Pereira
Hi, On Sat, 28 Jan 2006 00:26:57 +0530, Eric Weddington [EMAIL PROTECTED] wrote: in the last WinAVR, I used to get a summary of memory usage at the end of the compilation. The new 2006 version does not do this. Yes, and my apologies for not explaining it properly in the user manual.

Re: [avr-gcc-list] compiler not generating IO

2006-01-26 Thread Royce Pereira
On Fri, 27 Jan 2006 04:42:22 +0530, developer2112 (sent by Nabble.com) [EMAIL PROTECTED] wrote: Problem is solved... I was using the internal clock, but I didn't think that would stop me from getting a 2400 baudratebut I found that if I disconnect the cable for the port and jiggle it

Re: [avr-gcc-list] Using flash memory for storing large look up tables

2006-01-24 Thread Royce Pereira
Hi, There was an error in my example, corrected below! // unsigned todayssunset; const unsigned sunrise[2][4] PROGMEM ={ 1,2,3,4,6,7,8,9 }; todayssunset= pgm_read_byte(sunrise[x][y]); Sorry, thats: todayssunset= pgm_read_word(sunrise[x][y]);

Re: [avr-gcc-list] New WinAVR release

2006-01-12 Thread Royce Pereira
On Thu, 12 Jan 2006 13:42:38 +0530, David Brown [EMAIL PROTECTED] wrote: 2. In a Win98-SE installation, paths were not added to the environment automatically (more serious). I can see how setting the path at install time can be convenient for some people, but it should never be more than

Re: [avr-gcc-list] New WinAVR release

2006-01-12 Thread Royce Pereira
Hi, On Thu, 12 Jan 2006 23:54:03 +0530, Eric Weddington [EMAIL PROTECTED] wrote: 2. In a Win98-SE installation, paths were not added to the environment automatically (more serious). We (Colin and I) have had difficulties with that one. I'm not sure that I can reliably add paths on a Win98

[avr-gcc-list] New WinAVR release

2006-01-11 Thread Royce Pereira
Hi, Good to know the new WinAVR relase might be out next week. Thanks Eric ! Just to summarise a couple o'gaffs from the last version (so they dont repeat). But I'm sure this stuff is corrected in the new version. 1. Even after unselecting PN during installation, the shortcut for PN still

Re: [avr-gcc-list] how to infer lsl instruction...

2005-11-16 Thread Royce Pereira
Hi On Wed, 16 Nov 2005 13:00:03 +0530, varsha [EMAIL PROTECTED] wrote: Hello all, i'm using avr-gcc (GCC) 3.4.3 compiler and Atmega 16 as a MCU. for crc calculation i'm using inline assembly code. for example.. __asm__ __volatile__ ( lsl r11\n\t rol r12\n\t rol r13

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

2005-10-24 Thread Royce Pereira
Hi, On Mon, 24 Oct 2005 12:37:40 +0530, varsha [EMAIL PROTECTED] wrote: what is the proper way to write a delay routine? I use this: // void delay(unsigned count) { while(count--); return; }

Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes

2005-09-08 Thread Royce Pereira
Hi, On Fri, 09 Sep 2005 01:00:44 +0530, Joerg Wunsch [EMAIL PROTECTED] wrote: As Zane D. Purvis wrote: How about changing the name to ISR, which would do the same thing as the existing SIGNAL? Then, SIGNAL and INTERRUPT can both be deprecated (avoiding future confusion). It has been

Re: [avr-gcc-list] SIGNAL or INTERRUPT ?!

2005-09-04 Thread Royce Pereira
Hi, On Sun, 04 Sep 2005 11:26:49 +0530, Joerg Wunsch [EMAIL PROTECTED] wrote: The only fix that is needed is to state prominantly in the first few few paragraphs what the difference is, and all confusion will disappear. Nope, I rather did what we (avr-libc-dev) agreed quite some time ago:

Re: [avr-gcc-list] SIGNAL or INTERRUPT ?!

2005-09-04 Thread Royce Pereira
Hi, On Mon, 05 Sep 2005 00:26:11 +0530, Joerg Wunsch [EMAIL PROTECTED] wrote: http://www.sax.de/~joerg/avr-libc-user-manual/group__avr__interrupts.html Yep, I find it a lot better/clearer :-) Thanks for the feedback, I committed the new description to CVS. Just asking - why not have

Re: [avr-gcc-list] SIGNAL or INTERRUPT ?!

2005-09-04 Thread Royce Pereira
Hi, On Mon, 05 Sep 2005 00:52:08 +0530, Joerg Wunsch [EMAIL PROTECTED] wrote: For the rare cases where __attribute__((interrupt)) is really needed, One typical case where I use it is to interrupt my keyboard/display scanning interrupt routine, whenever a zero crossover of mains occurs.

Re: [avr-gcc-list] SIGNAL or INTERRUPT ?!

2005-09-03 Thread Royce Pereira
Hi, On Sat, 03 Sep 2005 21:36:23 +0530, Vincent Trouilliez [EMAIL PROTECTED] wrote: Hi all, new to the list and avr C programming... first question on here, about interrupt routines... In the relevant part of the avr-libc PDF, section 6.20.1, it says : An interrupt routine is defined with

Re: [avr-gcc-list] programming SOIC devices.

2005-08-24 Thread Royce Pereira
On Wed, 24 Aug 2005 08:22:53 +0530, Mitchell James [EMAIL PROTECTED] wrote: Hi, This is a little off subject I cant answer your query, but AVR-CHAT is a better place for non AVR-GCC queries :) --Royce. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Re: [avr-gcc-list] SIGNAL and INTERRUPT overhead

2005-08-21 Thread Royce Pereira
Hi, On Sun, 21 Aug 2005 03:04:02 +0530, Nigel Winterbottom [EMAIL PROTECTED] wrote: -Original Message- From:James A.R. Koehler If the consensus is that we need to be protected against ourselves by having all the existing prolog in the two existing interrupt service methods, perhaps

Re: [avr-gcc-list] KamAvr

2005-08-17 Thread Royce Pereira
Hi, On Wed, 17 Aug 2005 13:11:17 +0530, Gaël Rossignol [EMAIL PROTECTED] wrote: Does anyone have info about KamAVR the new editor for windows based on avr-gcc and does anyone use it? I just would like if the C++ will be aviaible on this platform and eventually when this will be released?

Re: [avr-gcc-list] AVR Gcc with AVR Tiny

2005-08-16 Thread Royce Pereira
Hi, On Wed, 17 Aug 2005 01:19:04 +0530, Joerg Wunsch [EMAIL PROTECTED] wrote: David Brown [EMAIL PROTECTED] wrote: I've just recently written a program for an AVR Tiny 12 using avr-gcc, and thought others might be interested. Interesting approach. Bruce Lightner once also reported

Re: [avr-gcc-list] use of GOTO statement

2005-08-13 Thread Royce Pereira
hI, On Sun, 14 Aug 2005 09:35:38 +0530, Russell Shaw [EMAIL PROTECTED] wrote: Royce Pereira wrote: Hi, On Sun, 14 Aug 2005 06:18:20 +0530, Hugo González Monteverde [EMAIL PROTECTED] wrote: Why exactly do you want to return to a different place? Looks like another, less complicated

Re: [avr-gcc-list] Macro to read /write long to eeprom

2005-08-09 Thread Royce Pereira
Hello, On Wed, 10 Aug 2005 00:41:20 +0530, Dave Hansen [EMAIL PROTECTED] wrote: From: Royce Pereira [EMAIL PROTECTED] Hi, Is there a macro to read or write a long word (32 bits) to eeprom? For the last hour I've been trying to write one unsuccessfully. Not directly, but you can do