1. Connecting ST-Link/V2 to STM32 part of STM8S Discovery Kit

    ST-Link/V2 is not-so-expensive JTAG/SWD debugger.

    I use ST-Link/V2 with SWD to connect STM32 part of STM8S Discovery Kit.

    The connection

    Here is the top view of STM8S Discovery Kit:

    CN5 of STM32 part of  STM8S Discovery Kit
    
        TnRST          8 7  GND       <---------- BLUE
        TDI            6 5  TMS/SWDIO …
    more »
  2. Running NIST STS 2.1.1 on NeuG True RNG

    In papers, we can see people use NIST STS test suite to evaluate RNG.

    However, I think that many people just evaluate short sequences, less samples, or only for several times (most are just a single time).

    Perhaps, it is because people have tendency to report "SUCCESS", not facts.

    Well …

    more »
  3. SWD connection to FST-01

    FST-01 has SWD port to write flash ROM of MCU.

    There had been no good SWD debugger (hardware and software) in the past. Now, ST-Link/V2 is available, and it is not expensive.

    While waiting new OpenOCD release which supports ST-Link/V2, I wrote tool/stlikv2.py to write Gnuk …

    more »
  4. (Possible) firmware upgrade feature of Gnuk

    It would be good when Gnuk token supports some sort of "firmware upgrade" feature, which doesn't require any additional hardware such like JTAG/SWD debugger.

    Then, users will be able to upgrade the Gnuk firmware.

    To support firmware upgrade of Gnuk Token, I am considering adding the feature to Gnuk …

    more »