搞定了。无意百度了下。 照着http://www.stmcu.org/module/forum/thread-616185-1-1.html 一步一步。
ucosiii stm32f767
目前用着没问题。啥也不动可以一直抓下去。只要按下触摸屏的任意位置,就会出现一个小框
Invalid packet received. Rcording stopped. google了下发现https://forum.segger.com/index.p ... OS-start-recording/
这个问题是
Problem has been solved via mail. For completeness:
The invalid packets where caused by a locking problem.
In the SEGGER_SYSVIEW_LOCK() / SEGGER_RTT_LOCK() all interrupts which could create SystemView events should be disabled (masked).
For FreeRTOS and Cortex-M3/4 use either following macro or redirect lock and unlock to the FreeRTOS functions.