EasyManua.ls Logo

Cypress EX-USB FX3 - Debug Support

Cypress EX-USB FX3
192 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
72 FX3 Programmers Manual, Doc. # 001-64707 Rev. *C
FX3 Firmware
❐ Thread suspend and resume
❐ Thread priority change
❐ Thread sleep
❐ Thread information
■ Message queues
❐ Queue create and delete
❐ Message send and priority send
❐ Message get
❐ Queue flush
■ Semaphores
❐ Semaphore create and destroy
❐ Semaphore get and put
■ Mutex
❐ Mutex create and destroy
❐ Mutex get and put
■ Memory allocation
❐ Memory alloc and free
❐ Memset, memcopy and memcmp
❐ Byte pool creation
❐ Byte alloc and free
❐ Block pool creation
❐ Block alloc and free
■ Events
❐ Event creation and deletion
❐ Event get and set
■ Timer
❐ Timer creation and deletion
❐ Timer start and stop
❐ Timer modify
❐ Get/set time current time (in ticks)
5.2.6 Debug Support
Debug support is provided in the form of a debug logging scheme. All the drivers and firmware
functions implement a logging scheme where optional debug logs are written into a reserved buffer
area. This debug log can then be read out to an external device and analyzed.
The debug APIs provide the following functions:
■ Start and stop the debug logging mechanism
■ Print a debug message (a debug string)
■ Log a debug message (a debug value which gets mapped to string)
■ Flush the debug log to an external device (for example, UART)
■ Clear the debug log
■ Set the debug logging level (performed during init)

Table of Contents