You are reading a single comment by @Darius and its replies. Click here to read the full conversation.
  • Also, I just noticed that it says NACK during 0x2 but when I first ran it (without verbose) I got

    [auxxoconnd1m1 10:35] ~/projects/Espruino >python scripts/stm32loader.py -p /dev/cu.usbserial -evw ./espruino_1v70_hystm32_24_ve.bin
    Reading data from ./espruino_1v70_hystm32_24_ve.bin
    Bootloader version 0x22
    Chip id 0x414, STM32F1, performance, high-density
    Traceback (most recent call last):
      File "scripts/stm32loader.py", line 579, in <module>
        cmd.cmdEraseMemory()
      File "scripts/stm32loader.py", line 242, in cmdEraseMemory
        if self.cmdGeneric(0x43):
      File "scripts/stm32loader.py", line 137, in cmdGeneric
        return self._wait_for_ack(hex(cmd))
      File "scripts/stm32loader.py", line 98, in _wait_for_ack
        raise CmdException("Chip replied with a NACK during %s" % info)
    __main__.CmdException: Chip replied with a NACK during 0x43
    

    I can't reproduce it though.

About

Avatar for Darius @Darius started