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]
Other format: [Raw text]

cyg_hal_diag_mangler_gdb_putc vs. interrupt latency


Hi there,

Just curious what the intent of the HAL_DISABLE_INTERRUPTS is in
cyg_hal_diag_mangler_gdb_putc (hal_if.c)? 

When debugging an application with many printfs over gdb, this can kill our
interrupt latency...they can be disabled for more than 50ms, because of
printf! During those 50ms we need to service a separate UART's RX interrupts
or else we start dropping data there.

Would it be safe to modify this function to mask the interrupt that services
gdb's stream only (for example masking gdb's UART's interrupts only), or
does it really have to disable *all* interrupts?

Thanks,
Hiroshi


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