mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-11-26 10:26:29 -05:00
This app takes data coming in on any of the normal USB endpoints like CDC and FIDO (or CCID) and outputs the data on the DEBUG endpoint. Using the scripts (tkey_to_udp_linux.py, tkey_to_udp_win.py) in QEMU (tk1 branch) under tools/tk1, the data from the DEBUG endpoint can be read and sent over the network to the script udp_to_qemu_linux.py that feeds it to QEMU. |
||
|---|---|---|
| .. | ||
| defaultapp | ||
| include | ||
| loopbackapp | ||
| reset_test | ||
| testapp | ||
| testloadapp | ||
| Makefile | ||
| README.md | ||
| syscall.S | ||
Test applications
defaultapp: Immediately resets the TKey with the intention to start an app from the client, replicating the behaviour of earlier generations.testapp: Runs through a couple of tests that are now impossible to do in thetestfw.reset_test: Interactively test different reset scenarios.testloadapp: Interactively test management app things like installing an app (hardcoded for a small happy blinking app, seeblink.hfor the entire binary!) and to test verified boot.
Build
$ make
will build all the .elf and .bin files on the top level.
Use
Use tkey-runapp from
tkey-devtools to load the
apps:
$ tkey-runapp testapp.bin
All of these test apps are controlled through the USB CDC, typically by running picocom or similar terminal program, like:
$ picocom /dev/ttyACM1