[ECOS] running test cases

Gary Thomas gary@mlbassoc.com
Sat Apr 4 17:24:00 GMT 2009

grahamlab wrote:
> Thanks for taking the time to help
> I have tried what you suggested but don't get anything in the upload area in
> minicom!!
> What does that mean?

Still need details: "don't get anything in the upload area" is as
useless as "doctor, it hurts"

When you run the RedBoot 'load' command, what happens?  Do you see
lines like what Sergei proposed?

Send the output from your minicom so we can understand better what
your problem(s) are.

> grahamlab wrote:
>> 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

More information about the Ecos-discuss mailing list