Commit Graph

13 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 561118dd21 device: always probe, and fix FRAM detection. 2016-01-01 12:02:28 +13:00
zcsahok 38ea6143cd added common readmem/writemem implementation with alignment and memory range checking
changed pif and goodfet to use common readmem/writemem
2015-10-24 15:48:21 +02:00
zcsahok 70a5480c15 device.c: added tlv_read and tlv_find 2015-10-22 21:03:02 +02:00
zcsahok f5f881bc33 added optional common chip identification 2015-10-21 08:20:15 +02:00
Daniel Beer df6f0ec3bc Add --fet-skip-close option.
Supplying this option causes the JTAG close procedure to be skipped
when closing the FET driver.
2013-05-21 15:59:17 +12:00
Daniel Beer 72e781d0eb fet_core: Add workaround for CC5137 replug problem.
This chip needs to be replugged if the the shutdown procedure (reset and
close) runs. We look for the chip's ID and skip the procedure if it
matches.
2013-02-01 08:09:38 +13:00
Daniel Beer c717eed96d device_probe_id: all output should be debug output. 2012-08-15 08:59:45 +12:00
Daniel Beer ae9c212f37 Make device_erase a no-op for FRAM chips. 2012-08-09 15:34:06 +12:00
Daniel Beer 886fbd59c9 Probe chip ID bytes on startup. 2012-08-09 15:33:56 +12:00
Peter A. Bigot dd2c6d997c Avoid truncating breakpoint address
Use of uint16_t caused the stored breakpoint address to be wrong.  However,
breakpoints above 64 kiB don't seem to work even with this, so there may
also be a FET issue.
2012-06-13 09:43:04 +12:00
Daniel Beer a354116441 Watchpoint support (only implemented for tilib driver). 2012-04-25 12:43:14 +12:00
Daniel Beer 6ac5c5a618 Restructuring: move drivers into drivers/ 2011-09-14 16:15:37 +12:00
Renamed from device.c (Browse further)