Skip to content

Instantly share code, notes, and snippets.

@esden
Created January 29, 2012 09:31
Show Gist options
  • Save esden/1698024 to your computer and use it in GitHub Desktop.
Save esden/1698024 to your computer and use it in GitHub Desktop.
bootprog.py output
python2.7 bootprog.py -d /dev/cu.usbserial-FJ000036B ~/projects/libopencm3/libopencm3-git/examples/stm32/f1/stm32-h103/fancyblink/fancyblink.bin
STM32 SystemMemory Production Programmer -- version 1.1
Copyright (C) 2011 Black Sphere Technologies
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
Target bootloader version: 2.4
Removing device protection...
Traceback (most recent call last):
File "bootprog.py", line 169, in <module>
boot.read_unprotect()
File "bootprog.py", line 129, in read_unprotect
self._sync()
File "bootprog.py", line 39, in _sync
self._checkack()
File "bootprog.py", line 58, in _checkack
if b != ACK: raise Exception("Invalid ack: %r" % b)
Exception: Invalid ack: '\x00'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment