[ECOS] Re: MBX Board

Jonathan Larmour jlarmour@redhat.co.uk
Tue May 30 14:25:00 GMT 2000


"amassa@cts.com" wrote:
> 
> I am using the MBX860 board for development.  This board has the EPPC-bug
> firmware programmed into flash.
> 
> What I want to do is to be able to download my own programs - initially just
> a basic program.  I would like to have GDB support present as well.
> 
> I don't know if I need to compile a gdb stub and download that first into
> RAM and then use that to connect insight and download my application code.
> 
> I would like to leave the EPPC-bug firmware as is in ROM, and not program
> over it.

You should include the GDB support in the application you download, in the
form of GDB stubs.

To do this, go to the "eCos HAL" package and under "Source-level debugging
support" there is the "Include GDB stubs in HAL" option (aka
CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS), which you should enable. If you want
Ctrl-C to work with stubs enabled, you should also enable GDB break support
for stubs (CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT).

Jesper may have some more input.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault


More information about the Ecos-discuss mailing list