public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] upload program in NEC V850 RAM
@ 2003-04-22 12:52 Teresa Fazio
  2003-04-22 21:18 ` Jonathan Larmour
  0 siblings, 1 reply; 4+ messages in thread
From: Teresa Fazio @ 2003-04-22 12:52 UTC (permalink / raw)
  To: ecos-discuss

Hi,  
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  

RedBoot>load   

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?  
Thanks in advance.


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] upload program in NEC V850 RAM
  2003-04-22 12:52 [ECOS] upload program in NEC V850 RAM Teresa Fazio
@ 2003-04-22 21:18 ` Jonathan Larmour
  2003-04-23  8:08   ` Cristoforo Abbattista
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Larmour @ 2003-04-22 21:18 UTC (permalink / raw)
  To: Teresa Fazio; +Cc: ecos-discuss

Teresa Fazio wrote:
> Hi,  
> 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  
> 
> RedBoot>load   
> 
> 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!

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] upload program in NEC V850 RAM
  2003-04-22 21:18 ` Jonathan Larmour
@ 2003-04-23  8:08   ` Cristoforo Abbattista
  2003-04-23 12:12     ` Jonathan Larmour
  0 siblings, 1 reply; 4+ messages in thread
From: Cristoforo Abbattista @ 2003-04-23  8:08 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: ecos-discuss

oK, it could be so, 
but why the code is loaded and executed if we try to load it by the 
v850-elf-gdb?

Thank you for any help

Cris

> Teresa Fazio wrote:
> > Hi,  
> > 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  
> > 
> > RedBoot>load   
> > 
> > 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!
> 
> Jifl
> -- 
> 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


=========================================
 Ing. Cristoforo ABBATTISTA 
 Planetek Italia s.r.l.
 Via Massaua, 12   I-70123 Bari
 Tel.: +39 080 5343750  - Fax: +39 080 5340280
 cristoforo.abbattista@planetek.it
 Web: http://www.planetek.it


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ECOS] upload program in NEC V850 RAM
  2003-04-23  8:08   ` Cristoforo Abbattista
@ 2003-04-23 12:12     ` Jonathan Larmour
  0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Larmour @ 2003-04-23 12:12 UTC (permalink / raw)
  To: Cristoforo Abbattista; +Cc: ecos-discuss

Cristoforo Abbattista wrote:
> oK, it could be so, 
> but why the code is loaded and executed if we try to load it by the 
> v850-elf-gdb?

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 
something like:
S010000076383530666C6173682E6865785B
S1180000070A400F4CF0010A400F64F08F07F4FF8F07F2FF008D
S11800150000000000000000000000BC0700000000000000000F
S118002A000000000000BC0700000000000000000000000000FA

although obviously the actual numbers vary.

>>Teresa Fazio wrote:
>>
>>>Hi,  
>>>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  
>>>
>>>RedBoot>load   
>>>
>>>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!
>>
>>Jifl
-- 
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-23 12:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-22 12:52 [ECOS] upload program in NEC V850 RAM Teresa Fazio
2003-04-22 21:18 ` Jonathan Larmour
2003-04-23  8:08   ` Cristoforo Abbattista
2003-04-23 12:12     ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).