Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
boards:demov1 [2022/11/13 12:57]
darron [Setup]
boards:demov1 [2022/11/14 00:02]
darron [Test]
Line 5: Line 5:
 {{:boards:demov1-test.jpg?200|J-Link test with J-Link EDU Mini}} {{:boards:demov1-test.jpg?200|J-Link test with J-Link EDU Mini}}
 \\ \\ \\ \\
-{{:boards:demov1-test2.jpg?200|OpenOCD test with J-Link CLONE}}+{{:boards:demov1-test3.jpg?200|OpenOCD test with J-Link CLONE}}
 \\ \\ \\ \\
 {{boards:stm32f030.png?200|Pinout}} {{boards:stm32f030.png?200|Pinout}}
Line 56: Line 56:
  
 === Power === === Power ===
-Power is supplied on the USB socket which feeds a 3V3 LDO regulator. The USB socket does not support I/O, it's only for powering the device. 
  
-=== Setup ===+Power is supplied on the USB socket or the 5V pins. This feeds a 3V3 LDO regulator. 
 + 
 +The USB socket does not support I/O, it's only for powering the device. 
 + 
 +=== Test ===
  
 For testing this board use a [[interfaces:ftdi|UM232R]] for power, serial comms, For testing this board use a [[interfaces:ftdi|UM232R]] for power, serial comms,
Line 64: Line 67:
 pin and provide a pulse for testing STM32 EXTI. pin and provide a pulse for testing STM32 EXTI.
  
-For programming, use [[tools:segger|J-Link]] device or [[tools:openocd|OpenOCD]].+For programming, use [[tools:segger|J-Link]] or [[tools:openocd|OpenOCD]].
  
 ==Wiring== ==Wiring==
Line 93: Line 96:
 picocom --quiet --lower-rts -b 115200 /dev/ttyUSB0 picocom --quiet --lower-rts -b 115200 /dev/ttyUSB0
 </code> </code>
 +
 +From the RS232 perspective RTS is inverted so when picocom takes
 +the line low, it's actually a high logical output and the board
 +is taken out of reset.
  
 ==Reset== ==Reset==
  
-CTRL A CTRL G will change the RTS line state from high to low +Picocom CTRL A CTRL G will toggle the RTS line state.
-to alter the reset line. +
- +
-From the RS232 perspective it's inverted so when picocom says +
-the line is low, it's actually a high output and the device +
-is out of reset.+
  
 ==Reboot== ==Reboot==
  
-If the board is sleeping, picocom can reboot it to prepare +If the board is sleeping, picocom can reboot the board to prepare 
-for new programming.+it for new programming.
  
 <code> <code>
Line 114: Line 116:
 ==Pulse== ==Pulse==
  
-CTRL A CTRL P will pulse the DTR pin from low to high for +Picocom CTRL A CTRL P will pulse the DTR pin from low to high for 
-1 second.+1 second to test EXTI high or low edge.
  
-=== Test ===+=== Programming ===
  
-Test SWD with J-Link and OpenOCD.+Use SWD with J-Link or OpenOCD.
  
 ==J-Link== ==J-Link==