[ECOS] Porting HAL

Jesper Skov jskov@cambridge.redhat.com
Thu Jun 7 00:01:00 GMT 2001


>>>>> "K" == K Srinivas Aithal <ksaithal_ecos@yahoo.com> writes:

K> Hi, The CPU on my board is MPC8240.

K> Once I write my HAL, port redboot, gdb stubs etc. how can I start
K> to debug these components...

You can't. Chicken & egg problem. When writing the debug environment,
you do that blind, so to speak.

You can use LEDs initially, but your primary priority will be to get
the HAL serial driver working so you can use diag_printf() and later
the stub code.

Oh, if you're lucky you have hardware debugging - a JTAG or similar
gizzmo. In that case, you use whatever debug environment came with it.

Jesper



More information about the Ecos-discuss mailing list