Sasko Simonovski
9541960b8f
Update README.md
...
Updated first header.
2022-11-29 14:04:48 +01:00
Daniel Lublin
b30e62dbb5
Remove version suffixes, no longer needed on ubuntu 22.10 (clang 15)
...
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2022-11-29 14:04:48 +01:00
Daniel Lublin
ca5541ce0e
toolchain: add explicit llvm; remove libboots-dev dupe
...
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2022-11-29 14:04:48 +01:00
Daniel Lublin
f87e12d1bb
Build with zmmul extension (require clang 15)
...
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2022-11-29 13:03:06 +01:00
Daniel Lublin
367fbec035
tpt: print whole output file paths when verbose
...
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2022-11-29 12:50:26 +01:00
Daniel Lublin
0541be76f3
tpt: make it really ask for items that are not passed in args
...
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2022-11-29 12:39:24 +01:00
Daniel Lublin
3c09960918
Ignore virtualenv dir down where we use it; unignore disused toolchain dirs
...
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2022-11-29 08:10:05 +01:00
Daniel Lublin
5435ed723d
Document our little-endian integers as such
...
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2022-11-28 16:17:19 +01:00
Michael Cardell Widerkrantz
a0974a2c0b
fw: Make FW_CMD_NAME_VERSION return names as ASCII arrays
...
Signed-off-by: Michael Cardell Widerkrantz <mc@tillitis.se>
2022-11-28 16:17:19 +01:00
Daniel Lublin
a2bc95f49a
Flash red when ending in unknown stat
...
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2022-11-28 16:17:19 +01:00
Daniel Lublin
687ee4f8b1
Let LED be steady white when loading app
2022-11-28 16:17:19 +01:00
Michael Cardell Widerkrantz
60b2dcfbb9
fw: Don't allow an app size of 0
2022-11-28 16:17:19 +01:00
Michael Cardell Widerkrantz
632e21886d
Update documentation according to new firmware protocol
2022-11-28 16:17:19 +01:00
Michael Cardell Widerkrantz
c80dc53027
fw: Introduce an explicit state machine - changes protocol!
...
We introduce an explicit state machine (see README).
With the new states we:
- combine setting size and USS to a single command.
- start the device app immediatiely when having receceived the last
data chunk and returning the digest.
- Loop forever and wait for the stick to be removed if we end up in
unknown state.
Signed-off-by: Michael Cardell Widerkrantz <mc@tillitis.se>
2022-11-28 16:17:19 +01:00
Joachim Strömbergson
2fa1ffb8e7
Disable HW support in CPU for DIV
...
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
2022-11-28 16:15:01 +01:00
Sasko Simonovski
fa03bb73ed
Update README.md
...
Updated first header.
2022-11-28 16:14:55 +01:00
Joachim Strömbergson
fa4afb5897
Add block diagram image
...
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
2022-11-28 10:00:10 +01:00
Daniel Lublin
3435941eab
Remove version suffixes, no longer needed on ubuntu 22.10 (clang 15)
...
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2022-11-23 09:47:48 +01:00
Joachim Strömbergson
945760941b
Merge branch 'main' of github.com:tillitis/tillitis-key1
2022-11-22 15:06:51 +01:00
Joachim Strömbergson
d59638094b
Change TK1 to TKey and improve wording
...
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
2022-11-22 15:05:43 +01:00
Daniel Lublin
b4b5d9add6
toolchain: add explicit llvm; remove libboots-dev dupe
...
Signed-off-by: Daniel Lublin <daniel@lublin.se>
2022-11-22 13:43:23 +01:00
Joachim Strömbergson
292ae28669
Remove reference to OpenTitan structure
...
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
2022-11-22 09:45:08 +01:00
Joachim Strömbergson
a15a94fe8e
Move readme:s for boards and firmware to doc subdir
...
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
2022-11-21 16:27:30 +01:00
Daniel Lublin
888a9d4cc3
Fix nits
2022-11-21 15:49:19 +01:00
Daniel Lublin
acb9c37ee7
Add fw cmd to get UDI
2022-11-21 15:45:27 +01:00
Joachim Strömbergson
98a3a1240b
Reorder doc list to highlight start info
...
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
2022-11-21 15:43:00 +01:00
Joachim Strömbergson
23fa71036e
Fix minor nits
...
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
2022-11-21 15:37:56 +01:00
Joachim Strömbergson
9760ebeea4
Improve wording of what makes TK1 unique
...
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
2022-11-21 15:35:43 +01:00
Joachim Strömbergson
8179f40642
Add the correct link
...
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
2022-11-21 13:49:31 +01:00
Joachim Strömbergson
fa2c75507e
Merge branch 'main' of github.com:tillitis/tillitis-key1
2022-11-21 13:49:06 +01:00
Joachim Strömbergson
d788742010
Add dco file and link to the dco in README
...
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
2022-11-21 13:47:42 +01:00
Daniel Lublin
a2ffb6d007
Correct reference
2022-11-15 15:19:45 +01:00
Joachim Strömbergson
1a49304224
Merge branch 'main' of github.com:tillitis/tillitis-key1
2022-11-09 15:06:07 +01:00
Joachim Strömbergson
159b20fa4e
Zero extend the address to match SB_RAM4K ports
2022-11-09 15:05:03 +01:00
Michael Cardell Widerkrantz
254a384181
fw: Clarify and correct doc
2022-11-03 16:25:21 +01:00
Daniel Lublin
a14662c622
Change to max 100 KB app with 28 KB stack
2022-11-02 15:52:29 +01:00
Daniel Lublin
fdda69745e
Add wrapper script that runs reset.py using virtualenv
2022-11-02 15:19:31 +01:00
Daniel Lublin
7af0fc6777
Make hid_test fail less confusingly when programming device is not connected
...
Add requirements.txt
2022-11-02 15:19:30 +01:00
Matthew Mets
48f32949bc
Add software reset example for the mta1 programmer
2022-11-02 15:16:24 +01:00
Joachim Strömbergson
517fafff57
Merge branch 'bigger_rx_fifo'
2022-11-02 14:22:46 +01:00
Daniel Lublin
a5d4833d0e
Merge pull request #41 from tillitis/addgolang
...
Add golang package to toolchain setup
2022-11-02 06:49:50 +01:00
Matthew Mets
13617c4db4
Add golang to toolchain setup
2022-11-01 13:25:08 +00:00
Daniel Lublin
8755a65a38
Format code
2022-10-31 10:07:23 +01:00
Joachim Strömbergson
8061491f6e
Cleanup, and use fifo_empty to indicate data available
2022-10-28 13:12:47 +02:00
Joachim Strömbergson
24d8680772
Improve detection of empty and full FIFO
2022-10-28 13:09:21 +02:00
Joachim Strömbergson
0eacbca2f9
Increase size of RX-FIFO to 512 bytes
2022-10-28 12:48:13 +02:00
Daniel Lublin
85ef93cd3c
Clarify switch_app reads and writes; add read test to testfw
2022-10-26 11:38:58 +02:00
Daniel Lublin
4b4f014d38
Rename to TK1
2022-10-26 09:20:02 +02:00
Daniel Lublin
5e80b4ae15
Refer to named bits consistently; say 0/1 instead of unset/set
...
Clarify touch
2022-10-26 08:34:12 +02:00
Michael Cardell Widerkrantz
e53811ca91
Document FW_RAM and CDI computation
2022-10-26 08:16:41 +02:00