Ophio
Overview
Name |
Ophio |
URL |
Link |
HW-Rev |
v0.1.x |
Docu |
20220808 |
IC |
MCP2221 |
Ophio is an USB to UART adapter. It has an 10 Pin FPC interface for campo devices. The device also provides an I2C-Bus via USB.
PCB
Connectors
J5, 10 Pin FPC
1 |
VDD |
VDD Target |
2 |
- |
SWCLK |
3 |
GND |
GND |
4 |
- |
SWDIO |
5 |
SW3 |
NRST |
6 |
- |
NC (Reserved for SWO) |
7 |
#5 URx |
UART TX(TAGET) |
8 |
#6 UTx |
UART RX(TAGET) |
9 |
VUSB |
VIN 5V |
10 |
SW1 |
BOOT0 |
1 |
- |
GND |
2 |
VDD |
VDD Ophio |
3 |
- |
VDD Target |
4 |
- |
VUSB |
5 |
5 URx |
RX (PC) |
6 |
6 UTx |
TX (PC) |
7 |
10 SCL |
I2C SCL |
8 |
9 SDA |
I2C SDA |
J3, 4 Pin JST
1 |
- |
GND |
2 |
VDD |
VDD Ophio |
3 |
10 SCL |
I2C SCL |
4 |
9 SDA |
I2C SDA |
UI
LED D1 Green |
2 GP0 |
Uart RX (PC) |
LED D2 Red |
3 GP1 |
Uart TX (PC) |
LED D3 Amb |
7 GP2 |
USB device config |
LED D4 Yel |
8 GP3 |
I2C Traffic |
Flash target firmware
The STM32-Flasher tool can be used to flash targets. Its available on the website of ST. Following procedure has to be performed to start target devices in internal booloader mode.
- Press SW1 and hold it pressed.
- Press SW3 and release it.
- Release SW1
After bringing the device into internal bootloader mode, the tool can be used to flash specific firmware. e.g.:
stm32flash -w miniminutnik_3.0.0.bin /dev/ttyACM0
Note: for STM32L0 devices (e.g. miniminutnik) at least stm32flash 0.6.0 is needed Note: some target devices don’t have routed the BOOT-Pin to the FPC-connector (e.g. miniminutnik). You need to press the according boot-button on the target instead of on ophio.
Target command line access
On linux “minicom” can be used to access the target device.
minicom -D /dev/ttyACM0 --color=on
Errata
v0.1.x
- PCB labels for “BOOT” and “RST” buttons swaped
- No pullups for I2C on ophio board itself
- LEDs quite bright.
- BOOT-Button does not work for Miniminunik HW-Version<=0.2.x. This is an issue of miniminutnik.