This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Inherit RedBoot Console


Hello,

Can you expalin me, please, why I cannot use inherit RedBoot console in
my iPAQ application?
(It's default eCos configuration for iPAQ.)

As far as I see
RedBoot eCos configuration defines CYGDBG_HAL_DEBUG_GDB_BREAK_SUPPORT;

mangler 'putc' comm entry  (hal_if.c) use frame
CYG_HAL_GDB_ENTER_CRITICAL_IO_REGION -
CYG_HAL_GDB_LEAVE_CRITICAL_IO_REGION
(CYG_HAL_STARTUP_ROM is not defined for RedBoot. Is it correct?)

Does it means that 'cyg_hal_gdb_place_break' function  (hal_stub.c)
tries to insert break point into
the flash memory? At this point the application halts.

Application goes well if it does not inherit RedBoot console, or if the
RedBoot mangler 'putc' entry
use the frame HAL_DISABLE_INTERRUPTS - HAL_RESTORE_INTERRUPTS.

Victor.









Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]