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-27 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 e

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 P

Re: [avr-gcc-list] Strings in upper 64K

2006-08-18 Thread dimax un
BTW how to make GCC not to cross 64K boundary while allocating ROM constants? Is any care required to make sure it will not happen? On 8/17/06, Joerg Wunsch <[EMAIL PROTECTED]> wrote: Don Ingram <[EMAIL PROTECTED]> wrote:> Is there any move afoot to rehash the avr-libs to allow strings to > reside

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 http://

Re: [avr-gcc-list] Good bootloader sample wanted

2006-08-31 Thread dimax un
Regards. http://www.xdimax.com On 8/29/06, Dave Hylands <[EMAIL PROTECTED]> wrote: Hi dimax, Posting to list this time - Doh. On 8/29/06, dimax un <[EMAIL PROTECTED]> wrote: > I'm going to make GPRS based bootloader for my ATMega128 project. > Could anyone please app

Re: [avr-gcc-list] AVR toolchain patch hell

2006-09-09 Thread dimax un
Hello. I have two questions: - Can I use WinAVR avrdude with ATMEL USB SPI dongle? How should I configure it? - (Probably a bit off topic ) Is where a standard Linux/UNIX library to access Intel HEX files? I think it should be BFD library but I'm not sure it provide both read and write access.

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

2006-09-12 Thread dimax un
Hi. Can I use avrdude with Atmel ISP USB dongle. I can't find out hot to set it up. Thanks. ___ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

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 http://lis

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 PROT

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

2006-10-02 Thread dimax un
est Regards 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 Reg

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 an

[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 w

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 programmi

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 http://lists.nongnu.org/mailman/listinfo/avr-gcc

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

2006-11-21 Thread dimax un
Driver version: 0.1.10.1 BTW I have attached script/instruction on how to build avrdude with USB support under Cygwin On 9/14/06, Neil Davey <[EMAIL PROTECTED]> wrote: dimax un wrote: > Neil, I'm not sure about your replies and I'll ask it more precisely: > Will late

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

2006-11-24 Thread dimax un
ress after 10-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 la

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 ar

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 +020

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

2006-12-09 Thread dimax un
about it and I think there is a more simple solution. On 12/7/06, Erik Christiansen <[EMAIL PROTECTED]> wrote: On Thu, Dec 07, 2006 at 03:50:48PM +0200, dimax un wrote: > I do not want to strip the whole eeprom section but some array in it. > BTW what if I will initialize array in eepr

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

2007-01-29 Thread dimax un
Hi what is the uint_fast8_t ? What is the difference from regular uint8_t? What gcc version is it supported from? thanks. On 1/29/07, Joerg Wunsch <[EMAIL PROTECTED]> wrote: "Ricardo Albarracin B." <[EMAIL PROTECTED]> wrote: > What's size the: (using avr-gcc 3.4.5) > > char -> 1 byte > int

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: > >