276°
Posted 20 hours ago

Adafruit FT232H Breakout - General Purpose USB to GPIO+SPI+I2C

£9.9£99Clearance
ZTS2023's avatar
Shared by
ZTS2023
Joined in 2023
82
63

About this deal

Also, I advise anyone searching for debugging tools to choose wisely. For example, if you need a simple tool, I think OpenOCDmight not be the best choice for you! Learn how to make flashing your ARM-based MCU easy by using OpenOCD debugger with an FT2232H adapter.

I chose my breakout with EFM32G200F32, an ARM Cortex-M3-based microcontroller (MCU), but any other supported MCU will work. Multi-Protocol Synchronous Serial Engine (MPSSE) to simplify synchronous serial protocol (USB to JTAG, I2C, SPI or bit-bang) design. openocd -f config1.cfg -f config2.cfg -f config3.cfg Understanding the Basics of Adapter Configuration It could also be caused by a bad configuration like missing ftdi_layout_init command from configuration file: A similar error message will pop up when you run OpenOCD in Linux without permission. Make sure you run OpenOCD with sudo, “sudo opeocd”. References:After rebooting, plug in the FT232H breakot to your PC using a USB micro cable. You should see a message pop up that the device is recognized and a driver is being installed. All of the suggested tutorial works as one would expect, see below. This is actually where I started. However, when trying to use the FT232H with other programs that specify the drivers from FTDI, i.e., FTD2XX drivers, those programs can not find the FT232H device Information. A standard call for .getDeviceInfo() fails. I believe it is because this (������) is what is read instead of the actual device information. Therefore an error is thrown: Remember: We have a configuration file (I named it SWD_FT.cfg) and the target is one of the EFM32 chips.

If you have any problems, take a look at the troubleshooting section— it could be bad wiring or a driver problem for Windows users. FT232R, FT245R, FT232H, FT2232H, FT4232H, FT2232D, FT200XD, FT201X, FT220X, FT221X, FT230X, FT234XD, FT231X, FT240X, FT120, FT121, FT122, FT313H, FT4222H & FT260

Contributing to PyPI

The OpenOCD directory file has a folder called “scripts”. In this folder, you will see "interface", "board", and "target" folders. And these are pretty much the only folders you need. Connect TDI to SWDIO via a suitable series resistor (220-470 Ohm or so depending on the drive capability of the target and adapter) connect TDO directly to SWDIO.” Selecting OpenOCD as your debugging tool with anadapter like FT2232H is a very good choice when you don’t have much budget to work with. libftdi is a nice open source alternative to FTDI's binary drivers. You can find more details here about interacting with the FT232H at a low level using libftdi. You must also tell OpenOCD more information about your adapter (interface). For example, you need to specify the VID/PID, serial number, or the number of the channel you will use for FT2232H, since it has two channels.

Asda Great Deal

Free UK shipping. 15 day free returns.
Community Updates
*So you can easily identify outgoing links on our site, we've marked them with an "*" symbol. Links on our site are monetised, but this never affects which deals get posted. Find more info in our FAQs and About Us page.
New Comment