R-DIAG
R-DIAG
Solution Selection
Overview
R-DIAG is an event-driven diagnostic solution for IoT devices. On the device side, event types and data structures are predefined in the SDK. Upon trigger conditions, key data is written to memory in a structured format. The host can retrieve historical events at any time via UART/TCP/UDP and accurately parse and visualize them using the JSON structure description generated during compilation.
Unlike traditional real-time printing, R-DIAG significantly reduces CPU resource usage through record-and-asynchronous-upload, ensuring critical tasks are not disturbed and providing lightweight, reliable event recording and management.
Advantages
Supports batch retrieval of historical logs and real-time subscription to new events, covering offline and online remote multi-device concurrent diagnostics
Events include type, level, timestamp, and detailed content, facilitating parsing, retrieval, and statistics
Event recording takes minimal time, with controllable impact on task scheduling, maintaining the system's original temporal behavior for easier problem reproduction
The host computer directly parses events into readable strings, making it easy to extend host capabilities: filtering, searching, aggregating statistics, charting, and other advanced functions
Typical Applications
- Custom Event Logging: Supports custom events and their trigger conditions to flexibly meet different diagnostic needs.
- Remote Device Information Retrieval: Connect to devices remotely via TCP/UDP to bulk extract diagnostic logs, reducing on-site debugging costs; can also integrate with cloud services for centralized maintenance.
- Long-Term Device Status Tracking: Suitable for long-term stable operation; logs can be collected on demand or scheduled to analyze operational status and fault trends over specific periods.
- High Real-Time Task Requirements: In timing-critical scenarios, use in-memory recording instead of real-time printing to avoid unacceptable latency.
Custom Event Logging
Supports custom events and their trigger conditions to flexibly meet different diagnostic needs.
Remote Device Information Retrieval
Connect to devices remotely via TCP/UDP to bulk extract diagnostic logs, reducing on-site debugging costs; can also integrate with cloud services for centralized maintenance.
Long-Term Device Status Tracking
Suitable for long-term stable operation; logs can be collected on demand or scheduled to analyze operational status and fault trends over specific periods.
High Real-Time Task Requirements
In timing-critical scenarios, use in-memory recording instead of real-time printing to avoid unacceptable latency.
Recommended ICs
| Features | Filter | RTL872xD | RTL8721Dx | RTL8721F | RTL8720E | RTL8710E | RTL8726E | RTL8713E | RTL8730E | RTL8735B |
|---|---|---|---|---|---|---|---|---|---|---|
| Application Processor |
Cortex-M | Cortex-M | Cortex-M | Cortex-M | Cortex-M | Cortex-M | Cortex-M | Cortex-A | Cortex-M | |
| DSP | ||||||||||
| ISP | ||||||||||
| TrustZone | ||||||||||
| Dual Band | ||||||||||
| Wi-Fi6 | ||||||||||
| R-MESH | ||||||||||
| Ultra-low power | ||||||||||
| Ethernet | ||||||||||
| BT Dual Mode | ||||||||||
| HMI | ||||||||||
| Audio ADC | ||||||||||
| Audio DAC | ||||||||||
| USB | ||||||||||
|
BT Dedicated Antenna |


