Hi, I have a small patch to the openOCD source code, I'd like to add. It
regards the Bus Pirate jtag driver, located in
openocd-0.6.1/src/jtag/drivers/buspirate.c
Can you instruct me on how I should go about doing this.
the patch is simplt adding two usleep(100) calls... This will ensure the
bus pirate recives and acts upon the change speed command...
edit line 787 inside function
static void buspirate_jtag_set_speed(int fd, char speed)
{
//...some things
usleep(100);//add this line of sleep
buspirate_serial_setspeed(fd, speed);
//...some more things
usleep(100);//add this line of some more sleep
}
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel