# stm32f042-ftdi **Repository Path**: curliph/stm32f042-ftdi ## Basic Information - **Project Name**: stm32f042-ftdi - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-04-18 - **Last Updated**: 2024-02-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # `f042-ftdi` > A proof-of-concept FT2232D emulation firmware for an STM32F042 microcontroller. Warning: this project is not finished yet, lots of FTDI commands are not implemented. ## Pinout | FTDI signal | STM32 pin | |--------------|-----------| | ADBUS0 (TCK) | PA5 | | ADBUS1 (TDI) | PA7 | | ADBUS2 (TDO) | PA6 | | ADBUS3 (TMS) | PA4 | | | | | BDBUS0 (TXD) | PA2 | | BDBUS1 (RXD) | PA3 | | | | | USBDP | PA12 | | USBDM | PA11 | Additionally, 12MHz clock is provided on PA1. ## Build and program You will need a [NUCLEO-F042K6] board to run the firmware. [Install Rust]: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh Install cargo-embed: cargo install cargo-embed Clone the repository: git clone https://github.com/Disasm/f042-ftdi cd f042-ftdi Connect your NUCLEO-F042K6 with a USB cable. Build and run the firmware: cargo embed --release [NUCLEO-F042K6]: https://www.st.com/en/evaluation-tools/nucleo-f042k6.html [Install Rust]: https://www.rust-lang.org/tools/install