As I plan to make a custom breakout board I wanted to solder as few connections as possible. I was able to boot the device, with UART (out at least) soldering the following.
| PIN | NAME |
|---|---|
| 0 | GND |
| 1 | 3V3 |
| 2 | EN |
| // Quite minimal example showing how to configure MPSSE for SPI using libftdi | |
| // compile like this: g++ minimal_spi.cpp -o minimal_spi -lftdipp -lftdi | |
| #include <ftdi.hpp> | |
| #include <usb.h> | |
| #include <stdio.h> | |
| #include <iostream> | |
| #include <string.h> | |
| // UM232H development module | |
| #define VENDOR 0x0403 |
| #!/bin/sh -exu | |
| sudo pacman -S --needed --noconfirm base-devel python2 expat ncurses gperf git wget unzip | |
| sudo ln -sf /usr/bin/python2 /usr/bin/python | |
| git clone --recursive https://github.com/pfalcon/esp-open-sdk.git | |
| cd esp-open-sdk | |
| make STANDALONE=y |
| // Doing AES-256-CBC (salted) decryption with node.js. | |
| // This code is based on http://php.net/manual/de/function.openssl-decrypt.php and works with PHP sqAES. | |
| // | |
| // Create your encrypted data with | |
| // echo -n 'Hello world' | openssl aes-256-cbc -a -e | |
| var crypto = require('crypto'); | |
| var password = 'password'; | |
| var edata = 'U2FsdGVkX18M7K+pELP06c4d5gz7kLM1CcqJBbubW/Q='; |
| from twisted.internet import reactor, defer, endpoints, task, stdio | |
| from twisted.conch.client import default, options, direct | |
| from twisted.conch.error import ConchError | |
| from twisted.conch.ssh import session, forwarding, channel | |
| from twisted.conch.ssh import connection, common | |
| from twisted.python import log, usage | |
| import signal | |
| import tty | |
| import struct | |
| import fcntl |