Files
sw_openocd/src/flash/nor
Tomas Vanek 4732471b2e flash/nor: at91samd protection bits write fix
Flash protection set on a device with MANW=1 was lost after reset.
Since #2903 the driver honored MANW bit and issued Write Page command just
for main flash write. This change adds similar technique to
samd_modify_user_row().

Minor code improvements:
samd_check_error() returns error code corresponding to error type
instead of bool.

samd_check_error() does not clear STATUS register if no error bit is set.

Eliminated double error check in call sequence samd_issue_nvmctrl_command()
folowed by samd_check_error().

Missing error code ERROR_FLASH_PROTECTED added to src/flash/common.h.

Change-Id: Icf59ab8803305d0cb3170c8a5089b8f9828b99f8
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/3550
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2016-12-08 12:19:19 +00:00
..
2016-07-19 10:45:16 +01:00
2016-07-19 10:45:16 +01:00
2016-07-19 10:45:16 +01:00
2016-07-19 10:45:16 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:01 +01:00
2016-05-05 22:34:59 +01:00
2016-05-24 22:30:55 +01:00
2016-07-19 10:45:16 +01:00
2016-11-04 21:28:26 +00:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:01 +01:00
2016-07-19 10:45:16 +01:00
2016-05-24 22:30:01 +01:00
2016-11-04 21:10:30 +00:00
2016-05-24 22:30:01 +01:00
2016-11-04 21:10:18 +00:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2016-08-13 14:48:45 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:01 +01:00
2016-10-04 10:30:49 +01:00
2016-07-19 10:45:16 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:01 +01:00
2016-11-04 21:10:30 +00:00