/var/www/html/SJSU-DEV-Linux/firmware/default/lib/L1_FreeRTOS/trace/readme.txt File Reference

Functions

 printf ("Recorder started: %s\n", uiTraceStart()?"OK":"ERROR")
 
 printf ("%s: %u bytes from %p\n", ok?"Wrote":"Failed to write ", buffer_size, buffer)
 

Variables

To use the FreeRTOS trace
 
To use the FreeRTOS so play with it a little *uses roughly of RAM
 
To use the FreeRTOS so play with it a little *uses roughly of and uses roughly of RAM *The larger the size
 
To use the FreeRTOS so play with it a little *uses roughly of and uses roughly of RAM *The larger the the larger recording buffer *You can choose ring buffer = vTraceGetTraceBuffer()
 
To use the FreeRTOS so play with it a little *uses roughly of and uses roughly of RAM *The larger the the larger recording buffer *You can choose ring or stop buffer at trcConfig h Warnings
 
To use the FreeRTOS so play with it a little *uses roughly of and uses roughly of RAM *The larger the the larger recording buffer *You can choose ring or stop buffer at trcConfig h it did not work if we started it at main cpp Instructions
 
The code to save the trace is
 
size_t buffer_size = uiTraceGetTraceBufferSize()
 
const bool ok = (FR_OK == Storage::write("1:trcf3.bin", buffer, buffer_size))
 
The code above writes the trace at the SD card
 

Function Documentation

printf ( "Recorder started: %s\n"  ,
uiTraceStart()?"OK":"ERROR"   
)
printf ( "%s: %u bytes from %p\n"  ,
ok?"Wrote":"Failed to write "  ,
buffer_size  ,
buffer   
)

Variable Documentation

void * buffer = vTraceGetTraceBuffer()
size_t buffer_size = uiTraceGetTraceBufferSize()
The code above writes the trace at the SD card
To use the FreeRTOS so play with it a little* uses roughly of and uses roughly of RAM* The larger the the larger recording buffer* You can choose ring or stop buffer at trcConfig h it did not work if we started it at main cpp Instructions
The code to save the trace is
const bool ok = (FR_OK == Storage::write("1:trcf3.bin", buffer, buffer_size))
To use the FreeRTOS so play with it a little* uses roughly of RAM
To use the FreeRTOS so play with it a little* uses roughly of and uses roughly of RAM* The larger the size
To use the FreeRTOS trace
To use the FreeRTOS so play with it a little* uses roughly of and uses roughly of RAM* The larger the the larger recording buffer* You can choose ring or stop buffer at trcConfig h Warnings