File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # How to gather logs from uhk whose usb doesn't work
2+
3+ Put this into a macro named ` $onInit ` :
4+
5+ ```
6+ zephyr uhk logs 1
7+ zephyr log enable wrn Battery
8+ zephyr log enable wrn Bt
9+ zephyr log enable wrn StateSync
10+ zephyr log enable inf udc
11+ zephyr log enable wrn udc_nrf
12+ zephyr log enable inf hogp
13+ zephyr log enable dbg c2usb
14+ ```
15+
16+ Adjust log levels as needed.
17+
18+ You can see the logs in real time:
19+
20+ - on the oled display
21+ - in Agent's advanced settings (click the Agent button 7x on the about page and scroll up)
22+
23+ Create this macro and bind it somewhere convenient:
24+
25+ ```
26+ zephyr uhk snaplog
27+ ```
28+
29+ Reproduce the issue.
30+
31+ Run the ` snaplog ` macro. This will export the usb log buffer into the persistent status buffer.
32+
33+ Restart uhk using its reset button
34+
35+ Start Agent.
36+
37+ Yellow bar should pop up with the zephyr your log.
You can’t perform that action at this time.
0 commit comments