[ECOS] Fw: Re: [ECOS] how to run redboot on LPC2148

Sergei Gavrikov sg@belvok.com
Thu Dec 4 15:16:00 GMT 2008

abhishek srivastava wrote:
> thanks for your reply!

Please, do not top post.

> i did as u said for hyperterminal (connection running) but i could not
> see any redboot prompt.

Why did you spell redboot? What did you build and what did your burn in
ROM at all?  Is that redboot image with image with GDB stubs?

> when i press + it halts for 1-2 sec then resumes.
> whts tht?

Take a bit of time to read (at the least appendix D. GDB Remote Serial
Protocol) http://sourceware.org/gdb/current/onlinedocs/

Appendix D. GDB Remote Serial Protocol

Okay. Easy, easy. Did you build any eCos test, eg, hal's 'basic' test for
ROM startup? Does it work? What did you see in hypertem? If you did not
try lightweigth eCos ROM applications, Do not dance with GDB/RedBoot!

Try it in cygwin bash

ecosconfig new <your_target_alias> minimal

cat >fix.ecm << EOF
cdl_component CYG_HAL_STARTUP {
    user_value ROM

    user_value 4096

ecosconfig import fix.ecm

ecosconfig tree
make -s && make -C hal/common/current tests

arm-eabi-objcopy -O ihex install/tests/hal/common/current/tests/basic basic.hex

You have to get basic.hex now to burn it in lpc ROM... Burn it, connect
serial cable, run hyperterm (38400,n,8,1), reset board. What will you
see? I thought about your port code. Is is alive? Next, get other tests
in ihex format and try all them. All tests works for ROM startup? Only
then go to GDB/RedBoot/stubs, etc.


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