On Thu, Jun 16, 2011 at 7:56 PM, Hans Petter Selasky <hsela...@c2i.net> wrote:
> I was not able to reproduce the segfault.

This happens only with this particular source code, it is a result of
(non-finished) patching from my fork, that is working fine.
Non-hinished patching means that there are some patches yet needed to
me moved from my fork, but it looks interesting to break libusb this
way...


> I don't have a FTDI device right here, but I tested a bit faking a device in
> libftdi and concluded that you need to run:
>
> jtag init before using the bitbang command. Else the FTDI device is not opened
> properly.

Wow, you got so much insight in so short time, impressive! :-) The
initialization routine for ft2232 based device is ft2232_init(). I
will fix this issue shortly ofcourse as I have working version, but it
looked to me as it can lead to local exploitation of the bsd system...
if not, there is no problem :-)

Best regards and thank you for your time Hans! :-)
Tomek

-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to