Hello,

I reached interesting board called Bugblat Cortino - www.bugblat.com/
products/cor.html (currently only in archive.org) which uses FT232RL as a 
debugging adapter for SWD. I wonder if this board is supported by OpenOCD.

I found one email regarding FT232RL and SWD - it is attached below. My 
question is, is there some progress on it ?

Thanks,
Vaclav

From: Tim Hutt <tdhutt@gm...> - 2014-08-08 08:58:31 
Attachments: Message as HTML
(http://sourceforge.net/p/openocd/mailman/attachment/CAKuVd4AmNe4V9f3akDtz22rgcOkHUVi9seH33oyOYSGSEOwxVQ%40mail.gmail.com/1/)
     

That's correct. Currently I just have an FT232RL (FT232R, L is the package)
on a breadboard and an nRF51822.

That chip has 4 bit-bang pins (CBUS0-3). See page 13 of the data sheet:
<a rel='nofollow' 
href='http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT232R.pdf'>http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT232R.pdf</a>
Here's the application note describing how to use it (with FTDI's
proprietary driver):
<a rel='nofollow' 
href='https://strawberry-linux.com/pub/AN232R-01_FT232RBitBangModes.pdf'>https://strawberry-linux.com/pub/AN232R-01_FT232RBitBangModes.pdf</a>
It seems like it might be a newer bit-banging mode which isn't supported by
OpenOCD? Maybe that bit-bang mode hasn't even been reverse engineered yet?

The swd-resistor-hack.cfg only mentions TDI and TDO which both don't exist
on that FTDI chip. No mention of CBUSes...

I have some experience of reverse engineering USB protocols, so I could
potentially add support for this mode if it is needed, but I need a bit
more guidance about how to integrate it into OpenOCD.

By the way my motivation for this is that I have an nRF51822 and RT232R on
a USB dongle, and I'd like to be able to program it without connecting a
separate expensive debugger.

Cheers,

Tim


------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to