Incomplete trace (due to high-speed SIM?)

Holger Hans Peter Freyther holger at freyther.de
Fri Aug 9 07:58:47 UTC 2013


On Wed, Aug 07, 2013 at 09:52:04AM -1000, Min Xu wrote:

Dear Min,


> There appears to be numerous references to "decrease the buffer in the
> firmware" to workaround the problem of losing bytes... but


src/simtrace/iso7816_uart.c:process_byte

        if (rctx->tot_len >= rctx->size || ih->rctx_must_be_sent) {
                ih->rctx_must_be_sent = 0;
                send_rctx(ih);
        }

You could change this part.

> can you clarify which buffer to decrease, in which source file?
> 
> I am guessing it's the req_ctx.c / req_ctx.h?

yes, or make sure the ->size is smaller.




More information about the simtrace mailing list