From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27861 invoked by alias); 12 May 2003 21:01:57 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27667 invoked from network); 12 May 2003 21:01:56 -0000 Received: from unknown (HELO mailhub1.liv.ac.uk) (138.253.100.94) by sources.redhat.com with SMTP; 12 May 2003 21:01:56 -0000 Received: from pc083197.rosandglad.liv.ac.uk ([138.253.83.197] helo=huangqiang) by mailhub1.liv.ac.uk with smtp (Exim 3.36 #1) id 19FKQm-0006SK-00 for gdb@sources.redhat.com; Mon, 12 May 2003 22:01:56 +0100 From: "Qiang Huang" To: Subject: Question about ARM Multi-ICE with GDB. Thanks. Date: Mon, 12 May 2003 21:01:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-SW-Source: 2003-05/txt/msg00210.txt.bz2 Hi: I am using GDB with multi-ICE to debug a ARM based platform Altera EPXA1 platform and running eCOS application. I have some question concerning about this: for example target platform: ARM922T, FLASH memory at 0x00 when startup, SDRAM controller Q1. Can I use the arm-elf-gdb, multi-ice-gdb-server to load and run a program on an bare platform? (without any bootstrap loader or rom monitor, redboot etc).If ok, when I want to load the program onto the platform, Where is the program will be loadded into? flash memory or sdram memory? if for flash how can the multi-ICE know how to manipulate the flash memory for programming and reading? or the program will be loadded into SDRAM memory? but how the SDRAM memory controller is configured before the multi-ICE load the program into it? Q2. If Q1 is not correct, and if I want to load a large program and run on the platform, does that mean I need to store a small piece of program into the flash memory (address at 0x00 when power up) which should setup the SDRAM memory controller and remapping the memory map as SDRAM memory at address 0x00, So this small piece of program will run when power up the board and setup SDRAM controller and memory mapping then the multi-ICE could load the larger program into SDRAM and run from there? (Do I really need this small piece of initialization program??) Thanks a lot.