[ECOS] running test cases

grahamlab graham.labdon@cranems.co.uk
Sat Apr 4 09:30:00 GMT 2009


Hello again
I am running Umbunto on a pc through  VM Virtual box and targetting the
STM3120E dev board.
I have successfuly built and downloaded RedBoot using St's demo flash
loader. I have verified that this is running by connecting hyperterminal to
the dev board and seeing the RedBoot gdb prompt.

I have then performed a default build of eCos for the dev board and then try
to run gdb from the command line in the virtual machine.

The command used to invoke gdb was 
arm-eabi-gdb -nw DevBoard_install/tests/kernel/v3_0/tests/bin_sem0

at the gdb prompt I type 
set remotebaud 38400
target remote /dev/ttyS0
and get the output below

I have tried various builds with different baud rates.

Any help would be greatly appreciated

Graham


Gary Thomas wrote:
> 
> grahamlab wrote:
>> Hello everyone
>> 
>> When I try to run gdb I am seeing the following
>> 
>> (gdb) target remote /dev/ttyS0
>> Remote debugging using /dev/ttyS0
>> 0x08003b3a in ?? ()
>> (gdb) load
>> Loading section .rom_vectors, size 0x8 lma 0x68008000
>> Loading section .ARM.exidx, size 0x10 lma 0x68008008
>> Loading section .text, size 0x4330 lma 0x68008018
>> Ignoring packet error, continuing...
>> 
>> can anyone tell me what I am doing wrong
> 
> Pretty hard to say since we've no idea what platform you're using :-(
> 
> Most likely cause is trying to load code into RAM that RedBoot
> (or GDB stubs) uses.
> 
> Provide some [real] details and we might be able to help.
> 
> -- 
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> 
> -- 
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/running-test-cases-tp22873616p22880984.html
Sent from the Sourceware - ecos-discuss mailing list archive at Nabble.com.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list