Commit Graph

26 Commits

Author SHA1 Message Date
Alex Orange 8a1afe6c91 Add a function to the device struct to handle config fuses.
Also provide a getconfigfuses implementation for the pif based drivers (pif
and gpio).
2017-06-14 13:28:07 -06:00
Daniel Beer 7869fb7f6a tilib: don't use clientHandle.
On 64-bit Windows systems, this callback argument isn't big enough to
hold a pointer. Use a global static variable instead.
2015-06-08 11:40:06 +12:00
Daniel Beer 4ea3856202 tilib_api: indirection layer for TI library dynamic loading. 2015-06-08 11:37:25 +12:00
Tamas TEVESZ 16a25f206a Rework Unix delay_s()/delay_ms()
Make delay_ms() sleep through the entire specified interval unless
Ctrl-C is pressed;

Using this feature, simplify Ctrl-C checking in places.
2013-12-07 10:16:41 +13:00
Daniel Beer 5c1805ff2b JTAG fuse blow: add "blow_jtag_fuse" command.
Support exists for this command on FET-like devices (including Olimex)
and the tilib driver.
2013-12-03 07:27:32 +13:00
Daniel Beer fd0199901c tilib: support for Info A/BSL flash access.
Two new boolean options have been added: "enable_locked_flash_access"
and "enable_bsl_access".
2013-01-31 13:54:19 +13:00
Daniel Beer 46ac7a75a9 tilib: fix segment erase.
A non-zero length is required to erase segments.
2013-01-31 13:22:05 +13:00
Daniel Beer 61fdfd22ff Better threading functions.
Change prefix to "thread_" and add functions for thread creation and
condition variables.
2012-10-09 15:28:49 +13:00
Daniel Beer 18cf2a561f Separate and clean up break handling.
Ctrl+C handling is done in ctrlc.c, and a break condition now persists
until the interactive reader begins to process the next command. The
condition is cleared by calling ctrlc_clear().
2012-10-09 09:55:48 +13:00
Daniel Beer 9f4bb5f303 tilib: fix breakpoint refresh.
If a breakpoint is set and then removed, with no refresh in between,
then no handle is ever assigned and so a request to remove the
breakpoint will fail.
2012-08-23 15:00:44 +12:00
Daniel Beer f9d271cd64 tilib: fix calling convention for Cygwin.
WINAPI wasn't getting defined with gcc-3.
2012-08-23 14:27:27 +12:00
Daniel Beer ff42788071 printc: add printf attribute. 2012-08-17 07:37:56 +12:00
Daniel Beer 29dfb4da84 Stop using usleep().
Use nanosleep() on Unix-like systems, and Sleep() on Windows.
2012-08-14 15:51:22 +12:00
Daniel Beer e6cb2dc51d tilib: fix DEVICE_ERASE_MAIN.
The address given to the library must be one inside main memory.
2012-06-19 10:08:48 +12:00
Daniel Beer 6fd161faa7 Add delay_s() for portable sleep() substitute. 2012-05-10 10:00:12 +12:00
Wayne Uroda 2ce7a82657 tilib: automatically detect path to uif when -d is not specified. 2012-04-28 08:45:13 +12:00
Daniel Beer 09ca20c91c Add support for read and write watchpoints. 2012-04-25 14:10:26 +12:00
Daniel Beer a354116441 Watchpoint support (only implemented for tilib driver). 2012-04-25 12:43:14 +12:00
Daniel Beer a914bc732d Add support for building on Cygwin.
The symbol __Windows__ is defined when building a native (non-Cygwin)
binary.
2012-04-25 11:02:22 +12:00
Daniel Beer 82ec966d5e tilib: add --require-fw-update option for forced image loading. 2011-12-14 13:11:29 +13:00
Tamas TEVESZ e014e4c6d5 Modernise decl styles 2011-11-16 08:42:45 +13:00
Tamas TEVESZ d98d990752 Kill unused variables
Mark those that are unused but can't be killed accordingly.
2011-11-15 09:26:35 +13:00
Daniel Beer e724c19a26 tilib: breakpoints are now working. 2011-10-18 12:24:44 +13:00
Daniel Beer 000816adbd tilib: fetch breakpoint counts and device ID via library API. 2011-10-18 11:55:21 +13:00
Daniel Beer d610f6471a tilib: fixed hangs and crashes on startup/exit. 2011-10-18 11:28:53 +13:00
Daniel Beer f18b0c188b Added TI library driver (experimental).
Memory/register read, single-step, run and halt are working.
Breakpoints aren't working, and programming hasn't been tested.
2011-10-14 12:49:04 +13:00