From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6033 invoked by alias); 2 May 2002 16:04:56 -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 6008 invoked from network); 2 May 2002 16:04:53 -0000 Received: from unknown (HELO hhlx01.visionsystems.de) (62.145.30.242) by sources.redhat.com with SMTP; 2 May 2002 16:04:53 -0000 Received: from kallisto.intra.visionsystems.de (kallisto.intra.visionsystems.de [192.168.1.3]) by hhlx01.visionsystems.de (8.11.1/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id g42G4nL24254 for ; Thu, 2 May 2002 18:04:52 +0200 Message-Id: <200205021604.g42G4nL24254@hhlx01.visionsystems.de> Received: from there (development1.intra.visionsystems.de [192.168.1.36]) by kallisto.intra.visionsystems.de with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id KDH0KJMA; Thu, 2 May 2002 18:04:48 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Roland =?iso-8859-1?q?Ca=DFebohm?= To: ecos-discuss@sources.redhat.com Date: Thu, 02 May 2002 09:04:00 -0000 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ECOS] i386 problem X-SW-Source: 2002-05/txt/msg00022.txt.bz2 Hi, I tried till long ago running an eCos application on the PC target again. Everything was working fine, but the application won't run :-(. - Redboot is starting from floppy. - gdb connects via net and via serial line. - The application is builded for startup type RAM $ ecosconfig new pc $ ecosconfig tree $ make $ cd ex $ i386-elf-gcc -c -o hello.o -g -Wall -I../install/include -ffunction-sections -fdata-sections hello.c $ i386-elf-gcc -nostartfiles -L../install/lib -Wl,--gc-sections -o hello hello.o -Ttarget.ld -nostdlib - loading the application works target remote 192.168.1.155:9000 load b main c --> nothing is happen! I have set a breakpoint at "hal_platform_init". I can step till: // ISR table setup: plant the default ISR in all interrupt handlers // and the default interrupt VSR in the equivalent VSR table slots. for (vector = CYGNUM_HAL_ISR_MIN; vector <= CYGNUM_HAL_ISR_MAX; vector++) { cyg_uint32 index; HAL_TRANSLATE_VECTOR( vector, index ); here >> hal_interrupt_handlers[index] = (CYG_ADDRESS) HAL_DEFAULT_ISR; HAL_VSR_SET( vector, &__default_interrupt_vsr, NULL ); } but after vector is 70, the application stops at this line. (the same over serial line) Does anybody know what's going wrong? Roland -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss