Closed gendx closed 4 years ago
Filed an issue on upstream Tock as it could be a kernel bug.
This is an upstream issue: see https://github.com/tock/tock/issues/1629 and the fix in https://github.com/tock/tock/pull/1636.
Keeping this issue open to monitor the situation and update the Tock submodule once the fix is merged.
Expected Behavior
When deploying the OpenSK app with
--debug
enabled, the key works and debug output is visible in the console. The debug output starts with the following:Actual Behavior
Sometimes, the log output stops after the following. In that case, the control flow seems blocked: the key doesn't process any USB request, no LED blinks.
Note: without
--debug
, the log output sometimes also stops afterusbc::ready not implemented
. But in that case the application is still functional afterwards.Steps to Reproduce the Problem
On an nRF52840-DK.
$ ./deploy.py os --board nrf52840_dk
and$ ./deploy.py app --debug --panic-console --opensk
.$ JLinkExe -device nrf52 -if swd -speed 1000 -autoconnect 1
and$ JLinkRTTClient
on a separate terminal.Specifications
NRF52 HW INFO: Variant: AAD0, Part: N52840, Package: QI, Ram: K256, Flash: K1024
, with a Linux host.