This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Port to XScale board



On 21-Aug-2001 Cristiano Ligieri Pereira wrote:
> 
>> The binary download won't print any messages.  S-record does some
>> verification and thus does print things.
>> 
>> First of all, try leaving the "-v" option off.  It will only get in
>> the way (most recent sources disable it for X-modem).
>> 
>> Then, try loading to some different address - try a much higer one like
>> 0x100000.
> 
> RedBoot> load -v -m xmodem                                                     
> ..Entry point: 0x00060040, address range: 0x00060000-0x00070328                
> xyzModem - CRC mode, 1386(SOH)/0(STX)/0(CAN) packets, 4 retries       
> 
> RedBoot> dump -b 0x60000 -l 0x100                                              
> 0x00060000: 18F0 9FE5 18F0 9FE5  18F0 9FE5 18F0 9FE5   |................|      
> 0x00060010: 18F0 9FE5 0000 0000  18F0 9FE5 18F0 9FE5   |................|      
> 0x00060020: 4000 0600 8801 0600  F001 0600 2802 0600   |@...........(...|      
> 0x00060030: 8802 0600 0000 0000  7403 0600 3C03 0600   |........t...<...|      
> 0x00060040: 2106 A0E3 4010 A0E3  0010 80E5 0070 0FE1   |!...@........p..|      
> 0x00060050: 1F70 07E2 1300 57E3  0700 000A 0000 A0E3   |.p....W.........|      
> 0x00060060: 1015 9FE5 0420 91E5  0420 80E5 2420 91E5   |..... ... ..$ ..|      
> 
> ...
> 
> I found out what was wrong (I put some stupid printf's where i shouldn't
> yesterday late night... ). It working fine now. So after downloading the
> file I should just type 'go' to the entry point address and it should
> work, right?
> 
> That's not happening... :-| (as usual nothing works at the first time...)

Try stepping through the code.  Time to learn to use GDB :-)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]