From ce1e99e3aadb7b4d55659919285e096742157333 Mon Sep 17 00:00:00 2001 From: Travis Goodspeed Date: Fri, 20 Apr 2018 21:12:49 -0400 Subject: [PATCH] Fixes BSL entry sequence for compatibility with CC430F6147. #75 --- bin/cc430-bsl.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/cc430-bsl.py b/bin/cc430-bsl.py index c2e1eaf..ad06726 100755 --- a/bin/cc430-bsl.py +++ b/bin/cc430-bsl.py @@ -30,10 +30,9 @@ class BSL: def enter_bsl(self): """Activates the bootloader by the sequence in SLAU319N.""" - self.setRST(False) self.setTST(False) - time.sleep(0.250) self.setRST(True) + time.sleep(0.10) #Minimum two rising edges are required, but it helps to have three or more. self.setTST(False) @@ -47,7 +46,7 @@ class BSL: self.setRST(False) self.setTST(False) - time.sleep(0.250) + time.sleep(0.10) self.serial.flushInput(); def reset(self): """Exits the BSL by resetting the chip."""