Jim Mussared
520bb88d70
stm32/boards/NUCLEO_WB55/rfcore_firmware.py: Fix flash unlock.
...
The flash can sometimes be in an already-unlocked state, and attempting to
unlock it again will cause an immediate reset. So make _Flash.unlock()
check FLASH_CR_LOCK to get the current state.
Also fix some magic numbers for FLASH_CR_LOCK AND FLASH_CR_STRT.
The machine.reset() could be removed because it no longer crashes now that
the flash unlock is fixed.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2020-10-16 10:43:36 +11:00
..
2019-10-11 11:50:36 +11:00
2020-03-28 13:55:59 +11:00
2019-10-04 16:10:13 +10:00
2019-06-25 14:18:24 +10:00
2019-10-15 21:36:24 +11:00
2019-06-25 14:18:24 +10:00
2019-10-04 16:10:13 +10:00
2020-06-26 21:17:02 +10:00
2019-10-18 11:41:22 +11:00
2019-06-25 14:18:24 +10:00
2019-11-11 11:37:38 +11:00
2019-06-25 14:18:24 +10:00
2019-06-25 14:18:24 +10:00
2020-05-15 10:48:48 +10:00
2019-07-09 11:32:12 +10:00
2019-06-25 14:18:24 +10:00
2019-07-08 16:08:40 +10:00
2019-07-25 16:31:36 +10:00
2019-09-11 11:20:58 +10:00
2019-12-19 11:43:19 +11:00
2019-12-19 16:54:33 +11:00
2020-03-28 13:55:59 +11:00
2020-03-28 13:55:59 +11:00
2019-07-08 16:50:45 +10:00
2019-10-04 16:10:13 +10:00
2020-10-16 10:43:36 +11:00
2019-06-25 14:18:24 +10:00
2020-06-26 21:17:02 +10:00
2020-06-25 16:32:48 +10:00
2020-06-25 16:32:48 +10:00
2019-06-25 14:18:24 +10:00
2019-06-25 14:18:24 +10:00
2019-06-25 14:18:24 +10:00
2019-11-26 00:08:57 +11:00
2019-11-26 00:08:57 +11:00
2020-02-28 10:33:03 +11:00
2019-06-25 14:18:24 +10:00
2019-06-25 14:18:24 +10:00
2020-02-04 18:18:41 +11:00
2019-06-25 14:18:24 +10:00
2020-06-12 10:28:26 +10:00
2019-07-01 16:57:20 +10:00
2019-10-04 16:10:13 +10:00
2020-09-08 23:53:12 +10:00
2018-03-27 21:29:45 +11:00
2018-03-27 21:30:45 +11:00
2018-12-04 23:48:18 +11:00
2018-03-27 21:17:48 +11:00
2020-08-29 15:18:01 +10:00
2020-03-26 01:25:45 +11:00
2018-12-13 13:43:10 +11:00
2018-12-13 13:43:10 +11:00
2018-12-13 13:43:10 +11:00
2020-02-28 10:33:03 +11:00
2019-06-25 14:18:24 +10:00
2019-06-25 14:18:24 +10:00
2018-04-11 16:14:58 +10:00
2019-06-25 14:18:24 +10:00
2018-06-18 13:05:24 +10:00
2019-06-25 14:15:49 +10:00
2018-05-29 21:37:49 +10:00
2019-06-25 14:15:49 +10:00
2019-06-25 14:15:49 +10:00
2019-11-11 12:02:14 +11:00
2019-06-25 14:15:49 +10:00
2018-05-29 21:37:49 +10:00
2019-06-25 14:15:49 +10:00
2020-05-15 10:08:30 +10:00
2020-05-15 10:08:30 +10:00
2019-05-02 16:26:53 +10:00
2019-06-25 14:15:49 +10:00
2019-06-25 14:15:49 +10:00
2019-01-31 01:02:42 +11:00
2019-06-25 14:15:49 +10:00
2018-05-16 11:55:07 +10:00
2019-06-25 14:15:49 +10:00
2018-06-22 15:39:10 +10:00
2019-07-25 16:31:36 +10:00
2020-01-30 16:31:11 +11:00
2019-06-25 14:15:49 +10:00
2018-03-07 18:40:06 +11:00
2019-12-19 11:43:19 +11:00
2019-06-25 14:15:49 +10:00
2019-09-23 17:00:54 +10:00
2019-02-06 13:34:53 +11:00
2019-06-25 14:15:49 +10:00
2019-07-05 17:26:03 +10:00
2020-06-02 10:48:49 +10:00
2019-07-05 17:26:03 +10:00
2019-07-05 17:26:03 +10:00
2018-12-06 13:32:43 +11:00
2019-07-01 16:57:20 +10:00
2019-07-08 16:50:19 +10:00
2019-07-08 16:50:19 +10:00
2018-05-29 21:37:49 +10:00
2019-07-01 16:57:20 +10:00
2019-07-01 16:57:20 +10:00
2018-05-29 21:37:49 +10:00
2019-07-01 16:57:20 +10:00
2019-09-06 17:56:34 +10:00
2020-09-08 23:53:02 +10:00
2019-07-17 16:50:42 +10:00