Tomas Vanek
e4c0904731
flash/nor/nrf5: handle ERROR_WAIT during nRF91 flash erase
...
Erase is initiated by write to a flash address. Due to the
silicon errata of nRF91 the write stalls the bus until the page erase
is finished (takes up to 87ms).
If the adapter does not handle SWD WAIT properly, the following read
in nrf5_wait_for_nvmc() returns ERROR_WAIT.
Wait for fixed time before accessing AP. Not nice, but the only
working solution until all adapters handle SWD WAIT.
If the fixed wait does not suffice, continue the wait loop after a delay.
It makes some unnecessary noise however erase works.
Signed-off-by: Tomas Vanek <vanekt@fbl.cz >
Change-Id: I63faf38dad79440a0117ed79930442bd2843c6db
Reviewed-on: https://review.openocd.org/c/openocd/+/8115
Reviewed-by: Tomáš Beneš <tomas@dronetag.cz >
Tested-by: jenkins
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com >
2024-06-08 09:20:14 +00:00
..
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2023-05-18 10:07:34 +00:00
2023-05-18 10:07:34 +00:00
2022-09-18 08:22:01 +00:00
2023-09-23 14:31:25 +00:00
2023-05-05 22:08:01 +00:00
2022-09-18 08:22:01 +00:00
2023-05-05 22:08:01 +00:00
2023-05-18 10:07:34 +00:00
2023-01-15 14:47:30 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:27 +00:00
2023-09-23 14:31:25 +00:00
2022-09-13 22:13:50 +00:00
2023-09-23 14:31:25 +00:00
2022-09-13 22:13:50 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:27 +00:00
2022-09-18 08:22:01 +00:00
2023-05-27 06:44:31 +00:00
2024-04-01 05:51:33 +00:00
2024-04-01 05:51:33 +00:00
2022-09-18 08:22:01 +00:00
2023-08-26 11:35:06 +00:00
2022-09-18 08:22:01 +00:00
2024-04-01 05:51:33 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:27 +00:00
2023-09-23 14:33:37 +00:00
2022-09-18 08:22:01 +00:00
2024-01-06 13:54:09 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-12-03 09:24:59 +00:00
2022-09-18 08:22:01 +00:00
2024-04-01 05:51:33 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2023-05-05 22:08:38 +00:00
2022-09-13 22:13:50 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:27 +00:00
2023-09-23 14:31:25 +00:00
2024-06-08 09:20:14 +00:00
2023-05-05 22:08:21 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:27 +00:00
2023-11-18 11:34:49 +00:00
2023-06-02 20:58:36 +00:00
2022-09-18 08:22:01 +00:00
2024-05-26 09:57:51 +00:00
2023-06-10 16:58:35 +00:00
2022-09-18 08:22:01 +00:00
2023-05-27 06:41:17 +00:00
2023-11-18 11:15:47 +00:00
2022-09-18 08:22:01 +00:00
2022-07-23 13:16:27 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2023-10-27 11:41:11 +00:00
2022-07-23 13:16:27 +00:00
2023-05-05 22:08:38 +00:00
2023-12-30 13:13:24 +00:00
2023-11-18 11:32:40 +00:00
2023-11-18 11:33:09 +00:00
2023-11-18 11:33:53 +00:00
2023-09-19 05:17:09 +00:00
2022-11-28 22:23:47 +00:00
2023-11-18 11:35:13 +00:00
2022-07-23 13:16:27 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2023-05-18 10:07:34 +00:00
2024-06-08 08:50:55 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00
2024-02-15 09:00:50 +00:00
2022-09-18 08:22:01 +00:00
2022-09-18 08:22:01 +00:00