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/ -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/", line 579, in <module>
      File "scripts/", line 242, in cmdEraseMemory
        if self.cmdGeneric(0x43):
      File "scripts/", line 137, in cmdGeneric
        return self._wait_for_ack(hex(cmd))
      File "scripts/", 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.


Avatar for Darius @Darius started