11 Commits

Author SHA1 Message Date
Pol Henarejos
a79296b423 Added LED blinking methods.
It has three blink patterns depending on the state:
- Unmounted
- Mounted
- Processing

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-08-22 13:55:03 +02:00
Pol Henarejos
b10999d52f Small enhancement: it is not necessary to output two different bits.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-08-22 00:04:16 +02:00
Pol Henarejos
4a54c5267d Adding the same RNG provided in pico-hsm (https://github.com/polhenarejos/pico-hsm).
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-08-19 14:42:28 +02:00
Pol Henarejos
c81b642ec1 macOS fix.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2022-08-19 14:41:33 +02:00
Mickey Malone
15316f2a51 More comments 2021-02-13 09:58:22 -06:00
Mickey Malone
edc12a7988 Updated with kernel thread to add randmoness 2021-02-13 09:05:10 -06:00
Mickey Malone
5571c8809c Tried using srand with rand to achieve more randomness. sudo cat /dev/pico_rng | rngtest -c 1000 still says that it is not even close to being good enough. Although, if we feed this data into the kernel with the other data sources it should be FIPS 140-2 compliant. By itself it is not. 2021-02-12 07:34:15 -06:00
Mickey Malone
55de2de8c7 Updated firware to contain only 1 endpoint. Created a global data buffer to hold the ADC EP1 IN data. This increased performance from 7.5 KBps to 150+ KBps. 2021-02-10 07:26:40 -06:00
Mickey Malone
b1eb887656 Work in progress, updated test tool to only read and prototyped firmware to continuously write to the TX buffer. Firmware still needs work, this was only done to understand how the pico usb core works. 2021-02-09 07:05:45 -06:00
Mickey Malone
8cdffc8d4c Updated firmware and test tool with with simple random number generator code 2021-02-07 11:01:42 -06:00
Mickey Malone
c64e6d5cc7 Initial commit 2021-02-06 08:35:38 -06:00