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. Installing Debian Wheezy (snapshot) as of 20120828 to Kuro Sheeva

    Two machines of Kuro Sheeva got broken this summer (by power supply unit problem ).

    For new machine (which bought in 2010), I installed Debian Wheezy (snapshot).

    I use 32GB SD card for secondary storage and use USB memory for installer.

    Basically, it went well (except /etc/inittab entry).

    Update U-boot …

    more »
  4. 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 »