[ECOS] Run Tests in NEC VR4373

Alexander Schuilenburg alexs@redhat.com
Fri Aug 4 04:15:00 GMT 2000


Ling Su wrote:
> 
> Hello,
> 
> After solved the endian problem, I began to run the test cases in NEC vr4373
> board. I got following message(test1.exe), and at last the program is
> timeout and exit. with this message " *** Timeout - MAX inactive time 30.0
> exceeds limit of 30.0 *** 15:09:40 Run complete".
>
> Anyone exprienced same problem ever? What specific configuration I should do
> for running the tests. I just select and "NEC vr4373" default template and
> Build the library and Build the tests, then run "tests".

Look at the output produced.  Notably the breakpoint "cyg_test_init" it
not being hit, and it should be hit since this is called before the test
runs but after eCos initialization.  When a test is run in the config
tool, 3 breakpoints are set on "cyg_test_init", "cyg_test_exit" and
"cyg_assert_fail".  

I suggest you try and run the test manually with gdb (vr4300-elf-gdb)
and find out where it falls over.  Can you run any code on your board?

-- Alex

> 
> Thanks !
> 
> Regards,
> -Ling
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> (gdb) set height 0
> (gdb) set remotedebug 0
> Warning: command 'set remotedebug' is deprecated.
> Use 'set debug remote'.
> 
> (gdb) set remotebaud 38400
> (gdb) target remote com1
> Remote debugging using com1
> 0x80003a50 in ?? ()
> (gdb) load
> Loading section .rom_vectors, size 0xb4 lma 0x80100000
> Loading section .text, size 0xac0c lma 0x801000b4
> Loading section .ctors, size 0x1c lma 0x8010acc0
> Loading section .dtors, size 0xc lma 0x8010acdc
> Loading section .rodata, size 0xd80 lma 0x8010ace8
> Loading section .data, size 0xbb0 lma 0x8010ba70
> Start address 0x801000a4 , load size 50712
> Transfer rate: 27046 bits/sec, 492 bytes/write.
> (gdb) break cyg_test_exit
> Breakpoint 1 at 0x80104f44: file
> //D/PROGRA~1/REDHAT~1/eCos/packages/infra/v1_3_1/src/tcdiag.cxx, line 116.
> (gdb) break cyg_assert_fail
> Function "cyg_assert_fail" not defined.
> (gdb) break cyg_test_init
> Breakpoint 2 at 0x80104e2c: file
> //D/PROGRA~1/REDHAT~1/eCos/packages/infra/v1_3_1/src/tcdiag.cxx, line 62.
> (gdb) cont
> Continuing.
> 
> *** Timeout - MAX inactive time 30.0 exceeds limit of 30.0
> *** 15:09:40 Run complete
> ----------------------------------------------------------------------------
> ----------


More information about the Ecos-discuss mailing list