You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following logs shows Trice messages based on diagnostic.
TriceWordCounter and TriceOverflowCounter are my implementations.
All variables (except TriceOverflowCounter) are zeroed on each diagnostic report.
All variables are acquired (and cleared) previous the diagnostic.
All the following messages are consecutive:
Would be possible to clarify the triceRingBufferDepthMax ?
I can't understand how these values match with the other values (eg: TriceWordCounter and triceSingleDepthMax vs SingleTricesRingCountMax)
I can't make any calculation that will match.
TriceWordCounter x 4=15 x 4=60=240 bytes != 124 bytes triceRingBufferDepthMax
triceSingleDepthMax x SingleTricesRingCountMax = 32 x 4=128 != 124 bytes triceRingBufferDepthMax
Please check triceRingBuffer.c function TriceEnoughSpace in experimental branch now. It contains additional comments and a bug fix now. Could still not test it.
The changes are in main branch now. There is now a switch TRICE_PROTECT, defaulting to 1 and it protects against buffer overflows. Successfully tested in ./test/dblB_protect_de_tcobs_ua and ./test/ringB_protect_de_tcobs_ua. Please re-open this issue if there are remaining open questions.
The following logs shows Trice messages based on diagnostic.
TriceWordCounter and TriceOverflowCounter are my implementations.
All variables (except TriceOverflowCounter) are zeroed on each diagnostic report.
All variables are acquired (and cleared) previous the diagnostic.
All the following messages are consecutive:
Would be possible to clarify the triceRingBufferDepthMax ?
I can't understand how these values match with the other values (eg: TriceWordCounter and triceSingleDepthMax vs SingleTricesRingCountMax)
I can't make any calculation that will match.
TriceWordCounter x 4=15 x 4=60=240 bytes != 124 bytes triceRingBufferDepthMax
triceSingleDepthMax x SingleTricesRingCountMax = 32 x 4=128 != 124 bytes triceRingBufferDepthMax
TriceWordCounter is:
The text was updated successfully, but these errors were encountered: