Mercurial > ~darius > hgwebdir.cgi > stm32test
view README.txt @ 13:96c345d304af default tip
Add 1wire code.
1wire.c, 1wire.h and 1wire-config.h are copied avr-lib.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Wed, 08 Feb 2012 10:37:22 +1030 |
parents | 9404b9869c27 |
children |
line wrap: on
line source
Board ===== Board is a http://ourstm.5d6d.com STM32 Strive mini with a touchscreen LCD board which has a STM32F103VET (512k flash, 64k RAM). Unfortunately the CD that came with it is in Chinese, this page has a review http://www.deeplyembedded.net/index.php/categories/8-hardware-reviews/5-strive-mini-stm32?showall=&limitstart= The RTC is powered by a CR1220 battery. It has a SST25VF016B connected to SPI and a micro SD slot connected to SDIO. The LCD is driven by an ILI9325 connected in parallel 16 bit mode via the FSMC controller with a TSC2046N on the SPI bus for touch. Toolchain ========= Created from https://github.com/MikeSmith/summon-arm-toolchain run as.. /summon-arm-toolchain DARWIN_OPT_PATH=/opt/local LIBSTM32_EN=1 LIBSTM32_EN=1 MacPorts tools did not work properly - it generated code which jumped to 0x00 in random places. Debug tool ========== mkdir /tmp/stlink cp darwin/Info.plist /tmp/stlink sudo chown -R root: /tmp/stlink sudo kextload /tmp/stlink ~/projects/stlink32/build/st-util 61234 /dev/dummy