]> git.sur5r.net Git - openocd/commit
psoc4: update for 4x00BLE, L, M, S and PRoC BLE devices
authorTomas Vanek <vanekt@fbl.cz>
Fri, 26 Aug 2016 19:03:27 +0000 (21:03 +0200)
committerTomas Vanek <vanekt@fbl.cz>
Wed, 14 Feb 2018 08:26:40 +0000 (08:26 +0000)
commit38030e011542a894237b517c065d22db97525954
tree951565e040b97454c1969cfe60650b0fdddaf0c1
parent5830bf09a73f38cc96c49ff792bd5a85687a795b
psoc4: update for 4x00BLE, L, M, S and PRoC BLE devices

Flash ROM API command PSOC4_CMD_SET_IMO48 is now optional on new devices.
Also code tidy up:
- improved system ROM call error detection
- probe does not require the target to be halted
- default_padded_value and erased_value set to 0
- fixed endianess problem in flash write and protection setting
- removed fancy chip detection table as it would be updated too often
- psoc4 flash_autoerase is now on by default to ease programming

psoc4.cfg distinguishes chip family and uses either proprietary acquire
function of a KitProg adapter or TEST_MODE workaround to "reset halt"

Change-Id: I2c75ec46ed0a95e09274fad70b62d6eed7b9ecdf
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/3807
Tested-by: jenkins
Reviewed-by: David Girault <david.f.girault@gmail.com>
src/flash/nor/psoc4.c
tcl/target/psoc4.cfg