Hi,
In trying to get one of the RTEMS Google Summer of
Code students going on the RTEMS AVR port, Eric W
and I have been going back and forth over weird issues.
I think I have tracked one down to this feature in
avrtest that (I think) is not in simulavrxx and
is probably the culprit
" -d Initialize SRAM from .data (for ELF program)\n"
This sets a flag which is used later only to do this:
/* Also copy in SRAM. */
if (flag_initialize_sram && vaddr >= DATA_VADDR)
memcpy(cpu_data + vaddr - DATA_VADDR,
cpu_flash + addr, filesz);
The avrtest crt0.S code doesn't appear to copy
initialized data into RAM.
Any thoughts on how to implement this in simulavrxx?
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherr...@oarcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
_______________________________________________
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/simulavr-devel