Test Case Output

Back to test-mbed-drivers-reset-reason Results ^

Target: RASPBERRY_PI_PICO
Test: test-mbed-drivers-reset-reason
Test Case: test-mbed-drivers-reset-reason

[1/3] Building CXX object drivers/tests/TESTS/mbed_drivers/reset_reason/CMakeFiles/test-mbed-drivers-reset-reason.dir/main.cpp.obj
[2/3] Linking CXX executable drivers\tests\TESTS\mbed_drivers\reset_reason\test-mbed-drivers-reset-reason.elf; executable:
-- built: C:/Users/jamie/Documents/Mbed/mbed-os/cmake-build-develop-pi-pico-w/drivers/tests/TESTS/mbed_drivers/reset_reason/test-mbed-drivers-reset-reason.bin
-- built: C:/Users/jamie/Documents/Mbed/mbed-os/cmake-build-develop-pi-pico-w/drivers/tests/TESTS/mbed_drivers/reset_reason/test-mbed-drivers-reset-reason.hex
| Module                         |         .text |       .data |        .bss |
|--------------------------------|---------------|-------------|-------------|
| CMakeFiles\mbed-os.dir         | 16386(+16386) |   428(+428) | 6776(+6776) |
| [fill]                         |       52(+52) |       7(+7) |       5(+5) |
| [lib]\c.a                      | 12540(+12540) | 2164(+2164) |   373(+373) |
| [lib]\gcc.a                    |   8396(+8396) |       0(+0) |       0(+0) |
| [lib]\greentea_client_userio.a |   1468(+1468) |     52(+52) |       8(+8) |
| [lib]\mbed-greentea-io.a       |       58(+58) |       0(+0) |       0(+0) |
| [lib]\mbed-unity.a             |     808(+808) |       0(+0) |   224(+224) |
| [lib]\mbed-utest.a             |   1400(+1400) |       1(+1) |     80(+80) |
| [lib]\misc                     |     232(+232) |       4(+4) |     24(+24) |
| drivers\tests                  |     420(+420) |       0(+0) |     34(+34) |
| Subtotals                      | 41760(+41760) | 2656(+2656) | 7524(+7524) |
Total Static RAM memory (data + bss): 10180(+10180) bytes
Total Flash memory (text + data): 44416(+44416) bytes

RAM Bank IRAM1: 10404(+0)/262144 bytes used, 4.0% (+0.0%) used
RAM Bank SCRATCH_X: 0(+0)/4096 bytes used, 0.0% (+0.0%) used
RAM Bank SCRATCH_Y: 0(+0)/4096 bytes used, 0.0% (+0.0%) used
ROM Bank QSPI_FLASH: 57129(+0)/2097152 bytes used, 2.7% (+0.0%) used

[2/3] Flashing test-mbed-drivers-reset-reason with OpenOCD...
Open On-Chip Debugger 0.12.0+dev (2026-05-11-13:12)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : [rp2040.core0] Hardware thread awareness created
Info : [rp2040.core1] Hardware thread awareness created
0
adapter speed: 4000 kHz
DEPRECATED! use 'gdb port', not 'gdb_port'
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6647C7403878130
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: Test domain timer supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : CMSIS-DAP: Interface ready
Info : clock speed 4000 kHz
Info : SWD DPIDR 0x0bc12477, DLPIDR 0x00000001
Info : SWD DPIDR 0x0bc12477, DLPIDR 0x10000001
Info : [rp2040.core0] Cortex-M0+ r0p1 processor detected
Info : [rp2040.core0] target has 4 breakpoints, 2 watchpoints
Info : [rp2040.core0] Examination succeed
Info : [rp2040.core1] Cortex-M0+ r0p1 processor detected
Info : [rp2040.core1] target has 4 breakpoints, 2 watchpoints
Info : [rp2040.core1] Examination succeed
Info : [rp2040.core0] gdb port disabled
Info : [rp2040.core1] gdb port disabled
[rp2040.core0] halted due to debug-request, current mode: Thread 
xPSR: 0xf1000000 pc: 0x000000ea msp: 0x20041f00
[rp2040.core1] halted due to debug-request, current mode: Thread 
xPSR: 0xf1000000 pc: 0x000000ea msp: 0x20041f00
Info : RP2040 rev 2, QSPI Flash win w25q16jv id = 0x1540ef size = 2048 KiB in 512 sectors
Error: Invalid command argument
Error: [rp2040.core0] Execution of event reset-init failed:
args[i] option value ('CX') is not valid
** Programming Started **
Info : Padding image section 0 at 0x1000ca54 with 172 bytes (bank write end alignment)
Warn : Adding extra erase range, 0x1000cb00 .. 0x1000cfff
** Programming Finished **
** Resetting Target **
shutdown command invoked
Executing: C:/Users/jamie/Documents/Mbed/mbed-os/venv/Scripts/mbedhtrun.exe -p COM3 --test-name test-mbed-drivers-reset-reason --mbed-target RASPBERRY_PI_PICO_W --build-dir C:/Users/jamie/Documents/Mbed/mbed-os/cmake-build-develop-pi-pico-w --skip-reset --reset-type cmake -e C:/Users/jamie/Documents/Mbed/mbed-os/drivers/tests/TESTS/host_tests --micro RP2040 --baud-rate=115200
[+602ms][HTST][INF] host test executor ver. 0.1.0
[+606ms][HTST][INF] starting host test process...
[+517ms][CONN][INF] starting connection process...
[+518ms][CONN][INF] notify event queue about extra 60 sec timeout for serial port pooling
[+518ms][CONN][INF] initializing serial port listener... 
[+518ms][SERI][INF] using specified port 'COM3'
[+518ms][SERI][INF] serial(port=COM3, baudrate=115200, read_timeout=0.01, write_timeout=5)
[+1191ms][HTST][INF] setting timeout to: 60 sec
[+543ms][SERI][TXD] mbedmbedmbedmbedmbedmbedmbedmbedmbedmbed
[+543ms][CONN][INF] sending up to 2 __sync packets (specified with --sync=2)
[+543ms][CONN][INF] sending preamble '777e0e61-a171-413d-a74b-3ca329c3ee0f'
[+547ms][SERI][TXD] {{__sync;777e0e61-a171-413d-a74b-3ca329c3ee0f}}
[+558ms][CONN][RXD] mbedmbedmbedmbedmbedmbedmbedmbed
[+568ms][CONN][INF] found KV pair in stream: {{__sync;777e0e61-a171-413d-a74b-3ca329c3ee0f}}, queued...
[+568ms][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
[+568ms][CONN][INF] found KV pair in stream: {{__timeout;90}}, queued...
[+568ms][CONN][INF] found KV pair in stream: {{__host_test_name;reset_reason}}, queued...
[+568ms][CONN][INF] found SYNC in stream: {{__sync;777e0e61-a171-413d-a74b-3ca329c3ee0f}} it is #0 sent, queued...
[+1241ms][HTST][INF] sync KV found, uuid=777e0e61-a171-413d-a74b-3ca329c3ee0f, timestamp=1786901668.540877
[+1241ms][HTST][INF] DUT greentea-client version: 1.3.0
[+1241ms][HTST][INF] setting timeout to: 90 sec
[+1241ms][HTST][INF] host test class: ''
[+1241ms][HTST][INF] host test setup() call...
[+1241ms][HTST][INF] CALLBACKs updated
[+1241ms][HTST][INF] host test detected: reset_reason
[+579ms][CONN][INF] found KV pair in stream: {{ready;00000032,1}}, queued...
[+589ms][SERI][TXD] {{reason_raw;get}}
[+600ms][CONN][INF] found KV pair in stream: {{reason_raw;00000100}}, queued...
[+1274ms][HTST][INF] Device reported raw reset reason 0x100
[+610ms][SERI][TXD] {{reason;get}}
[+621ms][CONN][INF] found KV pair in stream: {{reason;11}}, queued...
[+1294ms][HTST][INF] Device reported reset reason UNKNOWN
[+1294ms][HTST][INF] Skipping the SOFTWARE reset reason -- not supported.
[+631ms][CONN][INF] received special event '__reset', resetting dut
[+631ms][SERI][INF] reset device using 'cmake' plugin...
[0/1] Resetting target with OpenOCD...
Open On-Chip Debugger 0.12.0+dev (2026-05-11-13:12)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : [rp2040.core0] Hardware thread awareness created
Info : [rp2040.core1] Hardware thread awareness created
0
adapter speed: 4000 kHz
DEPRECATED! use 'gdb port', not 'gdb_port'
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6647C7403878130
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: Test domain timer supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : CMSIS-DAP: Interface ready
Info : clock speed 4000 kHz
Info : SWD DPIDR 0x0bc12477, DLPIDR 0x00000001
Info : SWD DPIDR 0x0bc12477, DLPIDR 0x10000001
Info : [rp2040.core0] Cortex-M0+ r0p1 processor detected
Info : [rp2040.core0] target has 4 breakpoints, 2 watchpoints
Info : [rp2040.core0] Examination succeed
Info : [rp2040.core1] Cortex-M0+ r0p1 processor detected
Info : [rp2040.core1] target has 4 breakpoints, 2 watchpoints
Info : [rp2040.core1] Examination succeed
Info : [rp2040.core0] gdb port disabled
Info : [rp2040.core1] gdb port disabled
shutdown command invoked
[+1027ms][SERI][INF] waiting 1.00 sec after reset
[+2028ms][SERI][INF] wait for it...
[+3034ms][SERI][TXD] {{__sync;0}}
[+3045ms][CONN][RXD] 
mbedmbedmbedmbedmbedmbedmbedmbed
[+3045ms][CONN][INF] found KV pair in stream: {{__sync;0}}, queued...
[+3045ms][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
[+3045ms][CONN][INF] found KV pair in stream: {{__timeout;90}}, queued...
[+3718ms][HTST][ERR] orphan event in main phase: {{__sync;0}}, timestamp=1786901671.017440
[+3718ms][HTST][ERR] orphan event in main phase: {{__version;1.3.0}}, timestamp=1786901671.017466
[+3718ms][HTST][ERR] orphan event in main phase: {{__timeout;90}}, timestamp=1786901671.017484
[+3055ms][CONN][INF] found KV pair in stream: {{__host_test_name;reset_reason}}, queued...
[+3055ms][CONN][INF] found KV pair in stream: {{ready;00000032,1}}, queued...
[+3728ms][HTST][ERR] orphan event in main phase: {{__host_test_name;reset_reason}}, timestamp=1786901671.027838
[+3066ms][SERI][TXD] {{reason_raw;get}}
[+3076ms][CONN][INF] found KV pair in stream: {{reason_raw;00000100}}, queued...
[+3749ms][HTST][INF] Device reported raw reset reason 0x100
[+3087ms][SERI][TXD] {{reason;get}}
[+3098ms][CONN][INF] found KV pair in stream: {{reason;11}}, queued...
[+3771ms][HTST][INF] Device reported reset reason UNKNOWN
[+3771ms][HTST][INF] UNKNOWN received for DAP reset test, but OK because PIN_RESET or SOFTWARE reasons not supported.
[+3112ms][SERI][TXD] {{reset;watchdog}}
[+3122ms][CONN][INF] found KV pair in stream: {{reset;ack}}, queued...
[+4127ms][SERI][TXD] {{__sync;0}}
[+4138ms][CONN][RXD] 
mbedmbedmbedmbedmbedmbedmbedmbed
[+4138ms][CONN][INF] found KV pair in stream: {{__sync;0}}, queued...
[+4138ms][CONN][INF] found KV pair in stream: {{__version;1.3.0}}, queued...
[+4810ms][HTST][ERR] orphan event in main phase: {{__sync;0}}, timestamp=1786901672.110326
[+4811ms][HTST][ERR] orphan event in main phase: {{__version;1.3.0}}, timestamp=1786901672.110352
[+4148ms][CONN][INF] found KV pair in stream: {{__timeout;90}}, queued...
[+4148ms][CONN][INF] found KV pair in stream: {{__host_test_name;reset_reason}}, queued...
[+4148ms][CONN][INF] found KV pair in stream: {{ready;00000032,1}}, queued...
[+4821ms][HTST][ERR] orphan event in main phase: {{__timeout;90}}, timestamp=1786901672.120718
[+4821ms][HTST][ERR] orphan event in main phase: {{__host_test_name;reset_reason}}, timestamp=1786901672.120800
[+4159ms][SERI][TXD] {{reason_raw;get}}
[+4169ms][CONN][INF] found KV pair in stream: {{reason_raw;00000101}}, queued...
[+4842ms][HTST][INF] Device reported raw reset reason 0x101
[+4180ms][SERI][TXD] {{reason;get}}
[+4190ms][CONN][INF] found KV pair in stream: {{reason;4}}, queued...
[+4863ms][HTST][INF] Device reported reset reason WATCHDOG
[+4863ms][HTST][INF] __notify_complete(True)
[+4864ms][HTST][INF] __exit_event_queue received
[+4864ms][HTST][INF] test suite run finished after 3.62 sec...
[+4201ms][CONN][INF] received special event '__host_test_finished' value='True', finishing
[+4967ms][HTST][INF] CONN exited with code: 0
[+4967ms][HTST][INF] No events in queue
[+4967ms][HTST][INF] stopped consuming events
[+4967ms][HTST][INF] host test result() call skipped, received: True
[+4967ms][HTST][WRN] missing __exit event from DUT
[+4967ms][HTST][INF] calling blocking teardown()
[+4967ms][HTST][INF] teardown() finished
[+4967ms][HTST][INF] {{result;success}}