Cannot seem to get debug statements written to Putty Console.
Running CSRMeshTempSensor example project...
#define DEBUG_ENABLE is set up in user_config.h
Debug stmts are in place like DEBUG_STR("Hello");
USB>SPI Programming Board is set to 3v3 UART and 3v3SPI
Windows 10 Laptop sees virtual USB Serial port COM3 which is 9600 8,1,N,N
Connect Putty to serial>COM3 9600 8,1,N,N
No output when in debug>run
I also tried putty at 2400 14400 - no success.
What am I missing? Thanks
Bill
Maybe you have to solder the 2 bridges that CSR left open on PCB (SB1 SB2)
My situation is same, I can't print Debug on PuTTy.
I have soldered SB1 and SB2 of mesh_board, But Also There are nothing on PuTTY.
I think that mesh_2.1 Source Code has the problem about printing Debug message(using UART) on PuTTy.
Any ideas?
Please see the configuration of UART baudrate. The temp sensor default use 0x0ebf that means baudrate is 921600, that's why you can't see any printf log even if you defined the DEBUG_ENABLE macro
You maust buy USB-UART
CSR PCB do not provide that.
See https://goo.gl/hriT8H
Set the CSR1010 to the right baud_rate in the *.key file.
See https://goo.gl/hriT8H CSR PCBs has no USB UART. YOU need to buy and connect that by yourself,
Hi, Nissim,
I have same exprience about above situation,
I have no problem CSRmeshv1.3 or CSRmeshv2.0 or CSRmeshv2.0.1
but in case of CSRmeshv2.1, &uart_rate = 0x0ebf and the latest SDKv2.6.2.9, I think there are no message in Putty(9216000)
Would you try and let me know what we are dong some wrong ?
Thanks,
Hwang
Please call my Skype nissim.test There is no need for 9216000 Bit/sec use 115200 Bit/sec
This issue is closed, it were minor differences from previous
==============================================
Main_app.c -> AppInit() -> DebugWriteString(“AppInit\r\n”);