From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18888 invoked by alias); 9 Apr 2003 07:21:57 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 18881 invoked from network); 9 Apr 2003 07:21:55 -0000 Received: from unknown (HELO 213.2.221.225) (213.2.221.225) by sources.redhat.com with SMTP; 9 Apr 2003 07:21:55 -0000 Received: from PC49 ([195.45.1.21]) by 213.2.221.225 (Bit Company Mail Server) with SMTP id IYU74150; Wed, 09 Apr 2003 09:18:44 +0200 Reply-To: From: "Pascal Pediroda @ Brime" To: "Jonathan Larmour" Cc: "eCos Discussion" Date: Wed, 09 Apr 2003 07:21:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <3E92F1F9.7070808@eCosCentric.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Subject: [ECOS] R: R: [ECOS] R: [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250platform) X-SW-Source: 2003-04/txt/msg00156.txt.bz2 Hello Jonathan, hello Gary, When I have the popup window of ymodem on the host side, I have redboot hanging. After a while, ymodem says that the transfer is incomplete. BUT, I have resolved the problem : it was linked to the avaialable RAM memory. On the RedBoot user's guide I have, it was written to use the command "version" in order to get the first free offset in RAM... I have shifted this address from 0xa0000000 to 0xa0100000... and the transfer was complete. Now I am trying to do the same with tftp (I also have an Ethernet connection) but the load command is immediately finished, I don't think that it had enough time to transfer the file ! -----Messaggio originale----- Da: Jonathan Larmour [mailto:jifl@eCosCentric.com] Inviato: martedi 8 aprile 2003 18.00 A: pascal.pediroda@brime.it Cc: eCos Discussion Oggetto: Re: R: [ECOS] R: [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250platform) Pascal Pediroda @ Brime wrote: > In the little window that pops up I have : > Ymodem sector/kbytes sent: 0/ 0k Retry 0: NACK on sector > Rewtry 0: NACK on sector > Ymodem sector/kbytes sent: 3/ 0k Retry 0: Got 24 for sector > ACK > Retry 0: Got 24 for sector ACK > Retry 0: Got 24 for sector ACK > Retry 0: Got 24 for sector ACK > ... > ... > > Does it seems to work correctly to you ? Yes. Sometimes it has to retry a few times at the outset to get into sync, but then gets going. Definitely try and select the file quite quickly from the outset to give it more time to sync. I would ask you to check that you're using a recent redboot, but I know you can't be if it's the DBPXA250 as that's a port Intel refuses to contribute, so it won't have many fixes. Hassle them about it. In the meantime you could try to merge in any fixes yourself from the public code base. Have a look at redboot's xyzmodem.c. I know intel have heavily customised their redboot package in general so you can't necessarily just substitute in the current redboot package. You could also try xmodem instead of ymodem - if it fixes the problem, who cares. Of course one possibility is that the serial can't keep up and you're dropping characters - you could try a lower baud rate, either with the baudrate command or you may have to recompile your redboot. Or there may be some other problem causing character loss such as flaky hardware. 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