From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7462 invoked by alias); 24 Aug 2004 18:19:59 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 7452 invoked from network); 24 Aug 2004 18:19:57 -0000 Received: from unknown (HELO web53704.mail.yahoo.com) (206.190.37.25) by sourceware.org with SMTP; 24 Aug 2004 18:19:57 -0000 Message-ID: <20040824181957.94933.qmail@web53704.mail.yahoo.com> Received: from [209.198.241.138] by web53704.mail.yahoo.com via HTTP; Tue, 24 Aug 2004 11:19:57 PDT Date: Tue, 24 Aug 2004 18:19:00 -0000 From: Muna Hummady To: ecos-discuss@sources.redhat.com Cc: Nick Garnett , amassa@san.rr.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [ECOS] debug i386 application X-SW-Source: 2004-08/txt/msg00373.txt.bz2 hello I want to boot the target i386 PC with the RedBoot via a floppy and use GDB to load application image into the target PC from the host PC via serial line or ethernet. As in "Embedded s/w development with eCos" {it is better to use serial port for RedBoot communicationand allow the application to use Ethernet port execlusively} {RedBoot is able to share the portsit uses for debugging and diagnostics with the eCos application} so I'm trying to do so : 1- First, I'm trying to connect the host target (i386) to RedBoot via serial (I have only one serial port in my target PC) so I'm enable the following option in the redboot.ecc CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL and CYGNUM_HAL_VERTUAL_VECTOR_CONSOLE_CANNEL (both to port 0) when I'm using the Hyperterminal to load and run the basic1 application, it is done correctly. But i couldnt run any other example program (serial, or twothreads),I'm load them and when I'm run them using go it is halted and there are no response. I could'nt load and debug any example program following the procedure: (gdb) set remotebaud 38400 (gdb) remote target /dev/ttyS0 (gdb) load (gdb) continue when doing continue the target PC is halted and there is no response. could you tell me what is the wrong? 2- please could you tell me how to enable both the ethernet and serial ports to have the communication via serial and loading the application via ethernet? thanks Muna __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss