Re: [avr-gcc-list] How to define a ROM data in a perticular address?

2006-04-24 Thread dimax un
Hi. .org will not work for sure as it is effective inside the section. As far as I understand to do it using special (your own) section you will have to change linker scripts. You can take as example eeprom (or any other fixed) section and see how it is created and placed in address space.

Re: [avr-gcc-list] Re: Device fuses

2006-04-25 Thread dimax un
Never heard that C++ makes small code especially templates and especially in embedded systems. Micro Connection to the Macro Vision http://www.xdimax.com No, it just occurred to me

Re: [avr-gcc-list] Re: Device fuses

2006-04-28 Thread dimax un
. Micro Connection to the Macro Visionhttp://www.xdimax.com On 4/28/06, Ned Konz [EMAIL PROTECTED] wrote: On Apr 25, 2006, at 10:48 AM, dimax un wrote: Never heard that C++ makes small code especially

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

2006-06-17 Thread dimax un
The plain old ANSI C has option of putting octal numbers in strings like \ooo. For example: Hello\007World is actually: {'h' 'e' 'l' 'l' 'o' 0x07 'W' 'o' 'r' 'l' 'd' 0x00} It is less nice but much more portable. On 6/13/06, Joerg Wunsch [EMAIL PROTECTED] wrote: justin joseph [EMAIL

Re: [avr-gcc-list] Help please: unsigned long + = unsigned char * unsigned char

2006-08-22 Thread dimax un
On 8/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Dear, Help, please! The value of c is not what we expect. It should be 50001, but 4294951761! Condition: mcu=atmega16 WinAVR20060421 #include int main(void){ volatile unsigned char a,b; volatile unsigned long c; a=250; b=200;

[avr-gcc-list] Good bootloader sample wanted

2006-08-29 Thread dimax un
I'm going to make GPRS based bootloader for my ATMega128 project. Could anyone please appoint me on good bootloader sample compiled with AVR GCC. Thanks. --- http://www.xdimax.com MICRO Connection to the MACROvision --- ___ AVR-GCC-list mailing list

Re: [avr-gcc-list] Experiences to build avr-toolchain using latest stable versions.

2006-08-31 Thread dimax un
Hi. Can I use avrdude Win32 version with Atmel AVR mkII USB dongle? The main question is if USB dongle is supported by latest version of avrdude? So far I can't see how to do it. Thank you. ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org

Re: [avr-gcc-list] Using avrdude with Atmel USB dongle

2006-09-13 Thread dimax un
Neil, I'm not sure about your replies and I'll ask it more precisely: Will latest avrdude from WinAVR work with AVRISP mkII (under Windows). If no what shell I do to make it work? Thanks. ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org

Re: [avr-gcc-list] linking bootloader and main application at once

2006-09-30 Thread dimax un
I think it is nonsense to link bootloader and application together. The reason to have bootloader is to be able to update application. So why not to burn bootloader and after that download application using bootloader? Best Regards. http://www.xdimax.com On 9/29/06, Eric Weddington [EMAIL

Re: [avr-gcc-list] linking bootloader and main application at once

2006-10-02 Thread dimax un
Jan dimax un wrote: I think it is nonsense to link bootloader and application together. The reason to have bootloader is to be able to update application. So why not to burn bootloader and after that download application using bootloader? Best Regards. http://www.xdimax.com On 9

Re: [avr-gcc-list] linking bootloader and main application at once

2006-10-02 Thread dimax un
Don't forget that this is not simple end record but check sum. So it is not good to simply remove it. Looks like good script to merge a number of HEX files into one HEX file would be popular tool. This tool should detect clashes, be able to fill padding, move hex sections to absolute addresses

[avr-gcc-list] Patching EEPROM image for production

2006-10-05 Thread dimax un
Hi Folks, I'm trying to find clean solution for the following system problem. I have configuration structure in EEPROM: struct VPD_t { char sn[10]; char id[20]; }VPD EEPMEM; While linking I generate EEPROM image in lets say VPD.eep file. For production purposes I need to burn every product

Re: [avr-gcc-list] Patching EEPROM image for production

2006-10-06 Thread dimax un
Is the location in eeprom fixed between releases of the code (usually true for firmware upgrade purposes..) ? Not sure. It can change. That's why I'm trying to generate INI file with EEPROM layout If so, I split the problem into two pieces - programming the invariant parts, and then

Re: [avr-gcc-list] How can I use external flash memory?

2006-10-28 Thread dimax un
What Flash? Serial/Parallel for Data/Code ? On 10/28/06, Husam Burhan [EMAIL PROTECTED] wrote: How can I use external flash memory with ATmega162? ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org

Re: [avr-gcc-list] Using avrdude with Atmel USB dongle

2006-11-24 Thread dimax un
-15 sec of waiting. On 11/20/06, Joerg Wunsch [EMAIL PROTECTED] wrote: dimax un [EMAIL PROTECTED] wrote: Programing is working. But I do not understand why it gets error: avrdude.exe: stk500v2_recv_mk2: error in USB receive Can you try the latest version from CVS? I changed some things

Re: [avr-gcc-list] Using avrdude with Atmel USB dongle

2006-11-26 Thread dimax un
That looks as if you were using the wrong avrdude.conf file. If you run avrdude with -v, it will tell you which file it is using. You can always specify a particular avrdude.conf using the -C option. The ATmega128's device signature has been known to avrdude.conf for quite a while now, so it's

[avr-gcc-list] Non initialized data in EEPROM

2006-12-06 Thread dimax un
Hi. I have an array and some config data in eeprom char config_data __attribute__ ((section (.eeprom))) = 5; char eep_array[1024] __attribute__ ((section (.eeprom))); I use array as temporary storage. The make produces hex file for EEPROM image that is 1024+1 = 1025 bytes long. Actually I do

Re: [avr-gcc-list] Non initialized data in EEPROM

2006-12-07 Thread dimax un
On 12/6/06, Ned Konz [EMAIL PROTECTED] wrote: dimax un wrote: I have an array and some config data in eeprom char config_data __attribute__ ((section (.eeprom))) = 5; char eep_array[1024] __attribute__ ((section (.eeprom))); I use array as temporary storage. In the EEPROM? So you use

Re: [avr-gcc-list] Non initialized data in EEPROM

2006-12-07 Thread dimax un
I do not want to strip the whole eeprom section but some array in it. BTW what if I will initialize array in eeprom with 0xFF. Can it make avrdude to skip pages that are totally FF'ed ? On 12/7/06, Erik Christiansen [EMAIL PROTECTED] wrote: On Thu, Dec 07, 2006 at 10:41:26AM +0200, dimax un

Re: [avr-gcc-list] AVR-GCC variable size

2007-01-31 Thread dimax un
Thanks for reply. What are you guys talking about? On 1/30/07, Ricardo Albarracin B. [EMAIL PROTECTED] wrote: El Tue, 30 Jan 2007 09:30:37 +0100 Javier Almansa Sobrino [EMAIL PROTECTED] escribió: On Mon, 29 Jan 2007 16:10:07 -0300 Ricardo Albarracin B. [EMAIL PROTECTED] wrote: ¡¡Otro