[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openocd-development
Subject:    [Openocd-development] [PATCH] ft2232.c
From:       dick () softplc ! com (Dick Hollenbeck)
Date:       2009-04-28 19:05:13
Message-ID: 49F75369.4030808 () softplc ! com
[Download RAW message or body]

This adds:

* calls to tap_get_tms_path_len(start, end);

* adds buffer overflow protection in the form of a few well placed 
asserts().

* numerous comments and documentation references.

* attempts to do diligent state transition logging, making it easier to 
track moves to ANY tap state at any time.  To enable this, compile with 
_DEBUG_JTAG_IO_ enabled and then up your debug logging level to DEBUG level.


It is likely that more changes will be needed, but before the patch got 
too big, I'm offering smaller portions so they can be swallowed more 
easily.   I did not solve the seg fault problem, but the asserts will 
likely trap them when I get back to the XSVF support.   

The state transition logging is really nice.


Dick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ft2232.patch
Type: text/x-diff
Size: 30210 bytes
Desc: not available
URL: <https://lists.berlios.de/pipermail/openocd-development/attachments/20090428/74b77898/attachment.patch>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic