Dangerous Prototypes

Other projects => Past projects => Breakout boards => Topic started by: paulreimer on September 13, 2012, 08:07:12 pm

Title: FT2232H Breakout Board for SWD / ARM Programming
Post by: paulreimer on September 13, 2012, 08:07:12 pm
I would like to use the FT2232H breakout board to program the LPC1114FN28 ARM DIP MCU.
Please raise your hand if you have done this! What protocol did you use (I think only SWD is supported), which programming software did you use, and did you need to add any hardware components (e.g. buffers, pull-ups) between the breakout board and the MCU?

In a recent topic I was able to use the FT2232H breakout to talk JTAG to my STM32F4 Discovery board (using *mostly* the SWD header pins on the Discovery board, with the DI pin on separate header).
viewtopic.php?f=50&t=4532 (http://dangerousprototypes.com/forum/viewtopic.php?f=50&t=4532)
It was left unclear to me what the buffers on typical FT2232H-based JTAG programmers are for. Why are they needed, and why are they different for each programmer emulation? If buffers *need* to be added for SWD communication, I would prefer to take a Bus Blaster v1 approach and purchase the needed buffers only for SWD@3.3v. How do I spec those and/or will any of the buffers used in the Bus Blaster v1 BOM work for this?

Thanks!
Title: Re: FT2232H Breakout Board for SWD / ARM Programming
Post by: ian on September 21, 2012, 05:22:49 pm
Hi Paul,

I have not done that.

The buffers are for:
1. Level conversion 1-5volts to 3.3voltss
2. To remove the programmer connection from the target as needed (go high impedance at the buffer)

I don't think there's much that you technically need. though some outputs may be inverted, etc depending on the buffer logic. Here's several examples with schematics:

http://dangerousprototypes.com/docs/Bus ... ffer_logic (http://dangerousprototypes.com/docs/Bus_Blaster_v2_buffer_logic)

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00972055272session_write_close ( )...(null):0
20.01002186864ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01002187640Database_MySQL->query( ).../DatabaseHandler.php:119
40.05532326376Database_MySQL->error( ).../Db-mysql.class.php:273