Hi,
i have read all the documentation for BDT and TLSR8x, but how to debug tlsr8258 to see log window?
because i have a problem.
i have made a usb connection from tlsr8258 to my Telink Burning Board (TLSRGSOCBK56B) and used the BDT application to view the log window but the error always appears as follows:
I also tried to debug via CMD and it always failed
how to enable usb debug or burn on tlsr8258?
I hope my question can be answered
thank you
You should burn a firmware which enabled the usb function first, the default configuration is asGPIO, because the usb dp io remaps the sws function.
Hi @hk.wang, thanks for the answer.
can you give an example of how to enable the usb function.
please refer to the driver sdk.
@alfian132
Hi @hk.wang,
i have tried to follow the instructions from the sdk driver but, when i want to see the log window it always appears "No USB Device available!".
i have set DEBUG_BUS parameter equal to DEBUG_USB inside printf.h file like this:
#define DEBUG_IO 0
#define DEBUG_USB 1
#define DEBUG_BUS DEBUG_USB
and I also tried to change the BLOCK_MODE in the printf.c file to 1 or 0, but it doesn't work.
thank you
I didn't try the usb log in the bdt, my suggestion is that you may choose uart_simulate_print.
@alfian132
how do i use uart_simulate_print? can i get the documentation for uart_simulate_print and where can i download the app
@hk.wang
refer to the Bluetooth LE Single Connection handbook(in wiki telink) chapter 15 Debug.
@alfian132
You should burn a firmware which enabled the usb function first, the default configuration is asGPIO, because the usb dp io remaps the sws function.
Hi @hk.wang, thanks for the answer.
can you give an example of how to enable the usb function.
please refer to the driver sdk.
@alfian132
Hi @hk.wang,
i have tried to follow the instructions from the sdk driver but, when i want to see the log window it always appears "No USB Device available!".
i have set DEBUG_BUS parameter equal to DEBUG_USB inside printf.h file like this:
#define DEBUG_IO 0
#define DEBUG_USB 1
#define DEBUG_BUS DEBUG_USB
and I also tried to change the BLOCK_MODE in the printf.c file to 1 or 0, but it doesn't work.
thank you
I didn't try the usb log in the bdt, my suggestion is that you may choose uart_simulate_print.
@alfian132
how do i use uart_simulate_print? can i get the documentation for uart_simulate_print and where can i download the app
@hk.wang
refer to the Bluetooth LE Single Connection handbook(in wiki telink) chapter 15 Debug.
@alfian132
problem solved.
thank you
@hk.wang
i have the same problem but i am debugging this with the evk .do you have any anther solution for this. still logs not coming .