[Gnuk-users] Port chopstx to STM32 Primer2
NIIBE Yutaka
gniibe at fsij.org
Mon Jun 22 00:42:48 UTC 2015
On 06/18/2015 12:22 PM, Kaz Kojima wrote:
> I've attached my trial to port chopstx to a bit old STM32 Primer2.
Thank you. I think that I still have two of STM32 Primer2. Is it now
possible to use its embedded JTAG programmer? Or, do we need to
connect an external programmer, still?
STM32 Primer2 would be the best environment for those who want to
"improve" user interface, as it has a LCD display and inputs (even
touch screen).
I'm not sure if a display and inputs help Gnuk Token, but it's worth
a try.
> It's tested with neug which requires a tiny patch for primer2 of which
> the first hunk is for configuration and the 2nd part adds some io port
> definitions because primer2 uses ioport E for LED.
> Perhaps similar definitions might be required in chopstx/entry.c and
> some sys.c files for primer2.
I'll integrate to Chopstx and Gnuk.
> Here is the result of tool/neug_check.py:
[...]
> mode: Conditioned
> Repeat errors: 0
> PP 64 errors: 0
> PP 4k errors: 0
> Total errors: 0
> Repeat max counts: 3
> PP 64 max counts: 3
> PP 4k max counts: 24
It looks it works well. Could you please try getting a few mega byte
from the NeuG standalone device, and see the result of
tool/neug_check.py?
During the development of NeuG 1.0.1, I did:
$ dd if=/dev/ttyACM0 count=1000 ibs=125000 iflag=fullblock of=rand-000.bin
and get something like:
----------------------------
Device: 007
Configuration: 1
Interface: 1
Vendor: Free Software Initiative of Japan
Product: NeuG True RNG
Serial: FSIJ-1.0.1-50FF6806
Revision: release/1.0-8-g1722f32-modified
Config: FST_01:dfu=default
Sys: 2.0
mode: Conditioned
Repeat errors: 0
PP 64 errors: 0
PP 4k errors: 0
Total errors: 0
Repeat max counts: 3
PP 64 max counts: 5
PP 4k max counts: 34
----------------------------
I don't have an experience to see errors.
After getting 500 rand-*.bin (which took 10 days), I got:
----------------------------
mode: Conditioned
Repeat errors: 0
PP 64 errors: 0
PP 4k errors: 0
Total errors: 0
Repeat max counts: 5
PP 64 max counts: 7
PP 4k max counts: 44
--
More information about the gnuk-users
mailing list