[ECOS] upload program in NEC V850 RAM
Wed Apr 23 12:12:00 GMT 2003
Cristoforo Abbattista wrote:
> oK, it could be so,
> but why the code is loaded and executed if we try to load it by the
If this is the *very same* file that you load into v850-elf-gdb, then that
may well show I'm right :-). GDB accepts ELF format file, but I could well
believe ELF load support is disabled in the v850 redboot to save space.
You can try converting the file to an srec file using "v850-elf-objcopy -O
srec infile outfile.srec". If Hello.S3 really is an srec file you should
be able to just open it in a text editor or "more" and it should look
although obviously the actual numbers vary.
>>Teresa Fazio wrote:
>>>I'm new in this mailing list and I found someone of you having
>>>problems in uploading programs in NEC V850 RAM, like me. When I
>>>try to load a simple program Hello.S3, I do
>>>Ctrl a + s
>>>choice ymodem and then the file Hello.S3.
>>>But the answer is:
>>>CCCCCCCCCCCCCCCC*** Warning! Attempt to load S-record to address:
>>>0xffffffff RedBoot does not believe this is in RAM Use TFTP for a
>>>chance to override this. *** Warning! Checksum failure - Addr:
>>>ffffffff, EF <> 00 xyzModem - CRC mode, 647(SOH)/4(STX)/5(CAN)
>>>packets, 316 retries
>>>What is the problem?
>>The addresses in your s-record file indicate it should be loaded to
>>0xffffffff, which isn't right. Check your s-record file, and how it
>>was built, and particularly how the memory map was linked.
>>Or more relevantly, if it isn't an s-record file, either convert it to
>>one or choose the appropriate flag to "load" to tell redboot what
>>format it is!
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss