This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

loading ecos application on Redboot via GDB



Thanks for the support.
As per your instruction i have done the following

1.we booted our i386(Target) with RedBoot.

2.Our host was on Linux.

3.We run GDB on the Host with following commands

   i)cd BASE_DIR/install/tests/kernel/v1_3_1/tests
   ii) i386-elf-gdb -nw thread_gdb
  iii) set remotebaud 38400
  iv) target remote /dev/ttyS1
        Got the response as 
        Remote debugging using /dev/ttyS1
        0x7f38 in ?? ( )
        at/opt/ecos/ecos-1.3.1/packages/hal/i386/pc/v1_3_1/src/hal_startup.c : 104
        104 }
  v) load
       Got the response as
       loading section  .text, size 0x6db4 lma 0x10000
       Ignoring packet error, continuing......
       Ignoring packet error, continuing......
       Ignoring packet error, continuing......

Note: We are using ecos version 1.3.1 So we dont have prebuilt in th BASE_DIR.
So we have given the path for cd    BASE_DIR/install/tests/kernel/v1_3_1/tests
We are having the prebuilt in the component repository and not in Build/install tree.

Kindly guide how to load and execute an ecos application using gdb.
Why we are  getting the ignoring packet error after load command??

Thnx in anticipation,
Satish 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]