From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29035 invoked by alias); 21 Oct 2009 00:10:02 -0000 Received: (qmail 29015 invoked by uid 22791); 21 Oct 2009 00:10:01 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from virtual.bogons.net (HELO virtual.bogons.net) (193.178.223.136) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Oct 2009 00:09:57 +0000 Received: from jifvik.dyndns.org (jifvik.dyndns.org [85.158.45.40]) by virtual.bogons.net (8.10.2+Sun/8.11.2) with ESMTP id n9L09t409646; Wed, 21 Oct 2009 01:09:55 +0100 (BST) Received: from [172.31.1.126] (neelix.jifvik.org [172.31.1.126]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jifvik.dyndns.org (Postfix) with ESMTP id 9677A3FEB; Wed, 21 Oct 2009 01:09:54 +0100 (BST) Message-ID: <4ADE5151.3020108@jifvik.org> Date: Wed, 21 Oct 2009 00:10:00 -0000 From: Jonathan Larmour User-Agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501) MIME-Version: 1.0 To: m mariga Cc: ecos-discuss@ecos.sourceware.org References: <6BF1F9855D4A4F9E8A693B40B2A54259@masahiro> In-Reply-To: <6BF1F9855D4A4F9E8A693B40B2A54259@masahiro> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] How to connect RedBoot via Telnet running application X-SW-Source: 2009-10/txt/msg00135.txt.bz2 m mariga wrote: > Hello,Gary,and everyone, > > I am sorry I forgot ecos-discuss ,so I resend almost same mail. > > Gary wrote > >>> I'd like to connect to RedBoot via Telnet during target's running net >>> application. >>> I tried to run nc_test_slave program as application and connect to >>> RedBoot via Telnet from host's cygwin. >>> The result is below. >>> >>> $ telnet 172.16.1.200 9000 >>> Trying 172.16.1.200... >>> telnet: Unable to connect to remote host: Connection refused >> >> <...snip> >> >> Once your application is started, RedBoot is no longer available. >> >> Why are you trying to do this? >> > > I would like to load new application object to target using RedBoot via > Telnet from host PC during target's application running. > > I also like to use RedBoot' monitor functions like "dump". > > Is it impossible ? Once the eCos application takes over, the RedBoot command line can't be used. > I got an impression from Anthony J. Massa's book that if setted two > different IP addresses between RedBoot and application,I could connect to > RedBoot via Telnet during application running. Am I mistaken ? If you connected to RedBoot using GDB in order to load and run your program you can interrupt it while it's running - that's because the eCos build will permit RedBoot to take over for the purposes of GDB debugging. I think for what you want to do, using GDB will work best for you. Jifl -- --["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss