ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Пятница
19 июля
397375 Топик полностью
vmp (26.03.2013 09:05, просмотров: 138) ответил Evgeny_CD на Еще раз. Посмотреть переменные - JTAG хватит. Перенести часть обработки на ПЦ - нет. Перечитая пост - я обновил.
Евгений, посмотрите еще на SWO в кортексах. http://www.segger.com/interface-description.html
Serial Wire Output (SWO) overview J-Link can be used with devices that supports Serial Wire Output (SWO). Serial Wire Output (SWO) support means support for a single pin output signal from the core. It is currently tested with Cortex-M3 only. Serial Wire Viewer (SWV) overview The Instrumentation Trace Macrocell (ITM) and Serial Wire Output (SWO) can be used to form a Serial Wire Viewer (SWV). The Serial Wire Viewer provides a low cost method of obtaining information from inside the MCU. The SWO can output trace data in two output formats, but only one output mechanism is valid at any one time. The 2 defined encodings are UART and Manchester. The current J-Link implementation supports only UART encoding. Serial Wire Viewer uses the SWO pin to transmit different packets for different types of information. The three sources in the Cortex-M3 core which can output information via this pin are: Instrumentation Trace Macrocell (ITM) for application-driven trace source that supports printf-style debugging. It supports 32 different channels, which allow it to be used for other purposes such as real-time kernel information as well. Data Watchpoint and Trace (DWT) for real-time variable monitoring and PC-sampling, which can in turn be used to periodically output the PC or various CPU-internal counters, which can be used to obtain profiling information from the target. Timestamping. Timestamps are emitted relative to packets.