CC3000 Logger

From Texas Instruments Wiki
Jump to: navigation, search

Return to CC3000 Main page

In order to expedite debugging and support, it is now possible to fetch logging information from the CC3000 internals. The logging information is divided into two levels, driver and firmware. Each level is retrieved via a separate hardware pin that is available from CC3000 chipset. The procedure that the customer needs to follow is very simple and does not require any special technical knowledge.

Logging procedure:

  1. Identify the hardware pin for driver and firmware logger on CC3000 chipset
    - driver logger is tagged as NS_UART_DBG
    - firmware logger is tagged as WL_UART_DBG or UART_DBG
  2. The logger pins operate at 1.8V. Thus, a level shifter is required to convert the 1.8V to 3.3V
  3. Open a terminal emulation and configure the followings:
    - baud rate: 921,600 bps
    - 8 bits
    - no parity
    - 1 stop bit
    - no flow control
  4. Configure the terminal emulation to work in Binary mode (and not textual/ASCII mode)
  5. Configure the terminal emulation to work in "Log" mode so any character that is received from CC3000 chipset device is written to the local Log file. In this phase, binary characters should appear on the terminal window
  6. Close the log file when done and send it to TI for post capture analysis

For reference, TeraTerm terminal emulation is shown for example:

  1. Open a terminal emulation and configure the followings:
    - baud rate: 921,600 bps
    - 8 bits
    - no parity
    - 1 stop bit
    - no flow control
TerminalSetup.jpg
  1. Configure the terminal emulation to work in Binary mode
TerminalBinaryMode.jpg
  1. Configure the terminal emulation to work in "Log" mode
TerminalLog.jpg