Menu

Tree [117115] master /
 History

HTTPS access


File Date Author Commit
 include 2010-07-05 Tom Parker Tom Parker [56d3e6] remove our copy of libopenstm32's include files...
 Makefile 2012-07-15 Tom Parker Tom Parker [117115] compile using the libopencm3 checked in tumanak...
 README.txt 2010-05-29 Edward Cheeseman Edward Cheeseman [d95522] ADC function working correctly now.
 STM32MCUtest.c 2012-07-15 Tom Parker Tom Parker [117115] compile using the libopencm3 checked in tumanak...
 STM32MCUtest.hex 2012-02-17 Philip Court Philip Court [ccc321] fix usart_set_baudrate call so it will build
 STM32MCUtest.ld 2011-11-06 Philip Court Philip Court [f2f967] update to compile with very latest libopencm3

Read Me

----------------------------------------------------------------------
-  STM32MCUtest:                                                     -
-  (C) 2010 Edward Cheeseman <cheesemanedward@gmail.com>                  -
-  A commissioning and fault finding tool for circuits connected to  -
-  a STM32.                                                          -
----------------------------------------------------------------------

Specifically designed for the tumanako STM32MCU (http://tumanako.net)
vehicle motor control board, this tool is generic enough to be useful
of anyone wishing to fault find the hardware layer surrounding the
microcontroller. 

The tool is controlled via USART1, which is set at 38400 8N1.

To use the tool, simply type in a Port (Uppercase A-E), a bit (0-f)
and a command (r,s,o,i,g). Only change what you need to. Unchanged
addresses are remembered. If you want to toggle a pin on and off, once you have set the port and bit you can just press r and s as needed.

Hold down <space> to get an updating analog value.

Commands:
0-f - working pin
A-E - working port
r   - reset output
s   - set output
o   - set pin as output
i   - set pin as input
g   - set pin as analog in


Display:

Axxxxxxxx Bxxxxxxxx Cxxxxxxxx Dxxxxxxxx Exxxxxxxx abc dyyyyy

where x:{0,1}, a:{A-E}, b:{0-f}, c:{i,o,s,r,g}, d:{0-g}, yyyyy: {0-32000}