Hello,
Thank you for the hint to srecord.
I tried it with the following command:
srec_cat input.hex -Intel -Little_Endian_CRC32 \
-max input.hex -Intel -Output out.hex
I get the following warning:
srec_cat: input.hex: 658: warning: no start address record
Line 658 is the last line and has
Hello,
some more info:
The following command was used to create the hex file:
Creating load file for Flash: rtosdemo.hex
avr-objcopy -O ihex -R .eeprom rtosdemo.elf rtosdemo.hex
This is the output of srec_info:
[EMAIL PROTECTED] ~/workspace/AVR2 $ srec_info rtosdemo.hex
Format: Motorola
Hello,
I solved my problems by switching form intel hex format to motorola
srecord format:
I made the following changes to the makefile:
# Output format. (can be srec, ihex, binary)
FORMAT = srec
# Create final output files (.hex, .eep) from ELF output file.
%.hex: %.elf
@echo
@echo
On Mar 28, 2006, at 3:46 AM, Ron wrote:
I am using a long as a parameter in which I pass various
entities,
sort of like a mailbox. Mostly they are longs, sometimes
integers, and
sometimes I need to pass a pointer. In the latter case a
cast to long
does not wholly satisfy the
How do I get a program listing with my C source code included as comments?
I've tried about everything I can think of (including the --Wa,-alhd option)
but have been unable to get it to work.
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
On Saturday 01 April 2006 08:35, Albert Pion wrote:
How do I get a program listing with my C source code included as comments?
I've tried about everything I can think of (including the --Wa,-alhd
option) but have been unable to get it to work.
Is this what you want?
avr-objdump -S foo.elf
Joerg Wunsch wrote:
Have a look at the output of avr-nm -n your ELF file. It's not
clear to me whether you're interested in _etext (== __data_load_start)
or in __data_load_end. The area between __data_load_start and
__data_load_end contains the initializers for .data.
The symbol
Uwe Fechner [EMAIL PROTECTED] wrote:
I didn't find a header file, where this symbol is declared.
It's not declared anywhere, you have to declare it yourself. That
symbol is only defined by the linker at link-time.
extern void *__data_load_end;
extern unsigned int __data_load_end;
Whatever