From 2c91633f597c35582ee9b97342105f7ffa2b6f77 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Mon, 14 Nov 2011 14:34:51 +0900 Subject: [PATCH] add FST-01 description --- README | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/README b/README index 29620ad..4e63114 100644 --- a/README +++ b/README @@ -134,8 +134,8 @@ Not supported feature(s): Targets ======= -We use Olimex STM32-H103 board. We also use STM32 part of STM8S -Discovery Kit. +We use Olimex STM32-H103 board and Flying Stone Tiny 01 (FST-01). We +also use STM32 part of STM8S Discovery Kit. With DfuSe support, CQ STARM, STBee, and STBee Mini are also our targets. But those targets with DfuSe are basically not for normal @@ -285,6 +285,36 @@ Then, with another terminal, type following to write "gnuk.elf" to Flash ROM: $ +Flying Stone Tiny 01 +-------------------- + +If you are using Flying Stone Tiny 01, you need a SWD writer. I am +using revision 946 of Simon Qian's Versaloon. + + svn checkout -r 946 http://vsprog.googlecode.com/svn/trunk/ + +For OpenOCD, we need unofficial patch. + +See the article of Versaloon Forum: + + http://www.versaloon.com/bbs/viewtopic.php?p=16179 + + +Type following to invoke OpenOCD: + + $ openocd -f interface/vsllink.cfg -c "transport select swd" -c "swd_mode 2" -f target/stm32f1x.cfg + +Then, with another terminal, type following to write "gnuk.elf" to Flash ROM: + + $ telnet localhost 4444 + > reset halt + > flash write_image erase gnuk.elf + > reset + > exit + $ + + + STM8S Discovery Kit -------------------