From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2585 invoked by alias); 23 Jun 2002 21:56:23 -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 2541 invoked from network); 23 Jun 2002 21:56:17 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 23 Jun 2002 21:56:17 -0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 3AD9C7DA; Sun, 23 Jun 2002 15:56:15 -0600 (MDT) From: Gary Thomas To: Mike A Cc: eCos Discussion In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sun, 23 Jun 2002 17:32:00 -0000 Message-Id: <1024869375.5574.4.camel@hermes.chez-thomas.org> Mime-Version: 1.0 Subject: Re: [ECOS] Redboot: "load -m xmodem" command X-SW-Source: 2002-06/txt/msg00412.txt.bz2 On Sun, 2002-06-23 at 15:40, Mike A wrote: > Hi Gary, > > Thanks for the info. > > My time measurements on Window Hyperterminal: > It printed "CCCCCCCCC", 11 characters in 30 seconds. So, it has 3 seconds > inter-character gap approximatly. Which I think is pretty ok from what you > said in the eariler email. > This is perfect and tells me that the timer routine (HAL_DELAY_US) is functioning fine. Of course, it means that you need to get the data started before 30 seconds. One thing I've found is that you might want to move the file you are downloading so that you don't have to do a lot of window/menu messing about when you are selecting the file to download. Don't forget, 30 seconds can go by quite fast when you are mousing about. > Are you developing on Windows?? If so, what terminal program are you running > this on? Let me know what you think about this. > No, I normally use 'minicom' on Linux. I have also tested with HyperTerm on Windows, so I know that RedBoot works fine once you have the basic connection sorted out. > Thanks a lot, > -Mike. > > Hyperterminal screen capture: > RedBoot> load -m xm > CCCCCCCCCCan't load '': Timed out > RedBoot> > > > > > >From: Gary Thomas > >To: Mike A > >CC: eCos Discussion > >Subject: Re: [ECOS] Redboot: "load -m xmodem" command > >Date: 22 Jun 2002 06:24:33 -0600 > > > >On Sat, 2002-06-22 at 01:07, Mike A wrote: > > > Hi, > > > > > > I Redbooted my ATLAS(MIPS 4Kc) board. Then at the console prompt > >"Redboot>" > > > (on Windows Hypertermial) I typed in the command to load the RAM image > >"load > > > -m xmodem". Then I select Transfer->Send file (on Hyperterminal). with > >the > > > following options I then click OK, > > > > > > Protocol: Xmodem > > > file: > > > > >C:\myrep\examples\t\t_install\tests\io\wallclock\current\tests\wallclock.srec > > > > > > The file does not get download... > > > > > > Even before I start sending from the PC, I see a lot of 'C' being sent > >from > > > Redboot in response to "load -m xmodem" > > > > > > I even tried with ymodem.. I wasn't sucessful > > > > > > Any clue?? > > > >The most probable cause is that HAL_DELAY_US() isn't working properly. > >The way to check is run the same command (load -m xm) and don't try to > >start the transfer. You should see a string of "C" characters, but they > >should only come out at a rate of one every 3 or 4 seconds. Any faster > >says that the HAL_DELAY_US() macro is broken. > > > >If this is the case, try and fix it and rebuild RedBoot. > > > >As always, if you make changes, it would be nice to pass them back to > >the project. > > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > > -- > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos > and search the list archive: http://sources.redhat.com/ml/ecos-discuss -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss