From e22c40d0974c3e7025fcf4f7f4a9f18545ab98f1 Mon Sep 17 00:00:00 2001 From: Stefan Krupop Date: Thu, 20 Jun 2024 12:07:51 +0200 Subject: [PATCH] Add small delay after powering on tag before accessing uC to allow voltage to stabilize (#331) --- Tag_Flasher/OEPL-Flasher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tag_Flasher/OEPL-Flasher.py b/Tag_Flasher/OEPL-Flasher.py index 9f8ffd9a..48f2ea33 100644 --- a/Tag_Flasher/OEPL-Flasher.py +++ b/Tag_Flasher/OEPL-Flasher.py @@ -355,6 +355,7 @@ def main(): cmd, answer = wait_for_command() send_cmd(CMD_SET_POWER, bytearray([1])) cmd, answer = wait_for_command() + time.sleep(0.2) send_cmd(CMD_RESET, bytearray([])) cmd, answer = wait_for_command() send_cmd(CMD_SELECT_EEPROM_PT, bytearray([])) ## selects eeprom serial loader mode @@ -371,6 +372,7 @@ def main(): send_cmd(CMD_SET_POWER, bytearray([1])) cmd, answer = wait_for_command() + time.sleep(0.2) if args.nrf82511: send_cmd(CMD_SELECT_NRF82511, bytearray([]))