Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
on flashing logs from logging library works fine , but on reset the board logs not coming using sdk 8.30.01.01
this is the code

itm configuration

logging configuration
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
on flashing logs from logging library works fine , but on reset the board logs not coming using sdk 8.30.01.01
Hi Pavan,
Can you please confirm that you have referenced the log example, Log.h TI Driver documentation, and TI Log Tool User's Guide? Do you get the same behavior for the UART transport as well? Are you using a LaunchPad board, and how do you perform the device reset?
Regards,
Ryan
yes , used the log example, i think it's valid because on reset the debug is also crashing which is valid similar logs also not working on reset
is there any way to continue monitor the swo logs even after rerset of the board?
steps are
build
start monitor on terminal
flash
getting logs
board reset
program restart
not getting logs after this
I'm using the exact same steps from the itmwrite "Example Usage" section and not experiencing similar behavior. The device continues ITM logging after a device reset. One possible difference is making sure to disconnect the CCS Debugger before the initial reset as detailed in the instructions.
Regards,
Ryan
yes itmwrite is working fine for me to ,
logger is not working there is log example which uses itm uart and buf(sinkbuf) but
We are both referring to itmwrite and log from the TI Drivers examples, correct? The observations I reported previously apply to both. So but and uart continue after a reset but not itm? Are you using LAUNCHXL-CC2652R7? What are your Compiler/SysConfig versions?
Regards,
Ryan
this is my sample code taken from the log example
this is my itm configuration
loggeer config
on flash the code i got these statement when i reset just the statement above while loop ar printing after that it stop logging
used 1 second to log
https://dev.ti.com/tirex/explore/node?node=A__AGw3mU.Mv6HGJDLUFE.BQQ__com.ti.SIMPLELINK_CC13XX_CC26XX_SDK__BSEc4rl__LATEST
using this example
ti clang v4
uart logger is custom one , which is written to log string and capture in serial terminal in text view so it's working i didn't check the uart in logger example but custom uart works fines to log text even after reset the board
i resolve the issues
on sleep , itm not logging on adding itm_restore solve the issue right after sleep before log
https://dev.ti.com/tirex/explore/content/simplelink_cc13xx_cc26xx_sdk_8_30_01_01/docs/drivers/doxygen/html/_i_t_m_8h.html#a787885218450bd7680840f00098f46c1
this document has the breif about it