New option feature added.
Modified the exception handler to avoid unwanted exception
fix some issue in JIRA GCC32RM-298
Fix the bug that sometimes the usb-driver will be blocked by pyocd, and add board id information in -l option
In python2.6 the INTERFACE[usb_backend].getAllConnectedInterface will return None instead of [], so add more condition to avoid it
Provide more information in -h for the -d option
Fix the issue of two duplicate print
Fix the JIRA issue GCC32RM-303
Updates to fix syntax and broken example in gdb_test.py
Merge pull request #24 from sg-/master

Updates to fix syntax and broken example in gdb_test.py
merge master branch
Added unlock script for Kinetis devices.

Signed-off-by: Chris Reed <creed@freescale.com>
Remove whitespace
Fix python hang (on Windows) when an error occurred during the initial device init().

* Catch the exception and close down the interface, then reraise the exception so the program will not keep trying to use the failed board.

Signed-off-by: Chris Williamson <chris.williamson@freescale.com>
Fix a different python hang (on Windows) when an error occurred during the flash.init().

* No matter what, you have to call interface.close() to insure python.exe on Windows won't hang.

Signed-off-by: Chris Williamson <chris.williamson@freescale.com>
add a new test case for gdb server
change the sleep time back to the origin
delete some unwanted comment
Fix a syntax error of the chooseBoard parameter
fix a bug in mbed.py